-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Core functions #9
Comments
I find click a little hard to read, but from what I can tell, this package currently does:
Which seems like a good starting point. Some thoughts:
for d in $(dtr search --tags FOO)
do
# work on d
done Tbh apart from those thoughts, I'd just merge this into the main package as is and go from there @mimischi what do you think it should do in addition to this? |
Adding verbosity would already help. A confirmation prompt would also be possible.
Do you think this should only return the path of all Treants that match the filtering by category/tag? I've written a small xtc=$(dtr get --category xtc)
for d in $(dtr search --tags FOO);
do
(
cd $d
gmx trjconv -f $xtc [...]
)
done I currently think the CLI should do this:
|
I guess it's necessary to talk about where the core functionality of this package should be.
I started using it more and, besides the functionality discussed in #6 (PR #7), I guess something more useful is a command like
dtr get --category ABC
whereABC
is the name of a given category. This would return the associated value or raise an error.So given that the current implementation is very basic, which functions should the CLI provide to the user? What should and shouldn't they be able to do?
I was thinking of first forking this, so I can get my use-cases up and running, but developing it for this main package would be neater.
The text was updated successfully, but these errors were encountered: