Global vs. local options #408
Replies: 6 comments 5 replies
-
You are right. Actually a recent change I made broke all global options. They now need to be appended after the command. Ie |
Beta Was this translation helpful? Give feedback.
-
Actually now that I think about it, this is something that I would like to put up for discussion a bit. So just to be clear: Previously there were global options which could be applied to the Now each subcommand has it's own options and only uses those that it actually needs. For example @favoyang what is your take on this? Also @nowsprinting you are welcome to give your input :) |
Beta Was this translation helpful? Give feedback.
-
I test rewrote the docs for the add command to reflect the change at #409. Feedback welcome. |
Beta Was this translation helpful? Give feedback.
-
Thanks! I think
|
Beta Was this translation helpful? Give feedback.
-
I personally side with @favoyang to have the option be added to the specific command. My reasoning is:
While that is true, I think this reasoning is off. For example when you use git you often So yes in total I think I should keep it the way it is now but with two corrections:
|
Beta Was this translation helpful? Give feedback.
-
I opened a PR incorporating the deprecation warnings #410. I'll close this discussion now |
Beta Was this translation helpful? Give feedback.
-
When I use the
-c
(--chdir
) option I get the following error:It was working before, and the README still mentions it.
Beta Was this translation helpful? Give feedback.
All reactions