Open linuxcaffe opened 3 years ago
Whatever the main executable is called, I'd like to suggest some new behaviors, and modified usage;
tw-install [-y] [task] [taskd] [etc] | [list]
tw-install list
lists available modulesthese should probably be individual requests, but we're in the discussion phase ;-)
possible command-line switches;
-y
to automatically answer "yes" to all confirmation prompts
-l
to list all available modules, showing installed status
-t [module(s)]
to run tests
-v [module(s)]
to show version(s)
-u [module(s)]
to uninstall module(s)
Thank you for your suggestions, I had been planning to come up with these kinds of arguments and did not yet have enough experience to establish them naturally, so it is great to receive your suggestions!
I took the liberty to rename the repository according to your suggestion. You already mentioned it once before, but I did not pick up on it, as I thought it was important to have the word "taskwarrior" in the repo name to make this findable for new users. However, one of the overall objectives is “positive impact” (through making it as easy possible for (new) users to use Taskwarrior). I think compliance with the Taskwarrior organisation reaches that objective better than having that word in the repo name. Hence, it is changed. My apologies for avoiding conflict and not discussing this the first time you mentioned it.
Also, I renamed uninstall.sh
to tw-uninstall.sh
for consistency. My first guess would be to have the behaviour/arguments of tw-uninstall.sh
mirror those of tw-install.sh
, but I still have to think about whether that is indeed desirable in light of their difference. The name-changes are also reflected in the README.md
.
Affirmative, the tw-install.sh and tw-uninstall.sh files as they willl be replaced with this filestructure: https://github.com/TruCol/setup_your_own_GitLab_CI/blob/master/install_gitlab.sh and this one: https://github.com/TruCol/setup_your_own_GitLab_CI/blob/master/uninstall_gitlab.sh
These can be used as examples, as they display the desired behaviour (no arguments passed prints the options) and the arguments can be modified to reflect the desired behaviour of the taskwarrior installation (instead of the GitLab installation).
and then consider changing the main executable name from "main.sh" to "tw-install.sh", so that users will be able to invoke it with specificity.