You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are several top-level application areas that could be improved. In priority order:
Actual global options: this is sort of possible now, but a little more confusing because of how the input definition works. This is mainly down to how this functionality is exposed - it should be handled better.
Global arguments don't make sense.
This is tricky, because it might involve global variables... if they can be avoided somehow, that'd be ideal. It'd be best to avoid code duplication (e.g. each command reading the value into some local variable), it should be something that is easy and works everywhere. So, I suppose this comes down to; what are global options for? And how will they be used in a command?
Root level commands: sometimes we just want to be able to leverage the option and argument parsing on a command at the root, e.g. just running a binary. This should be possible.
Make it possible to override help text, and probably also error text when a value fails to parse the input string?
Make command grouping possible, think like kubectl.
All of these things happen in the application, outside of a command, and outside of their control. It should be possible to improve all of these aspects of the library.
Mainly having global options in a nicer way would be great. They'll still need to be able to be assigned to some variable at some point.
The text was updated successfully, but these errors were encountered:
There are several top-level application areas that could be improved. In priority order:
kubectl
.All of these things happen in the application, outside of a command, and outside of their control. It should be possible to improve all of these aspects of the library.
Mainly having global options in a nicer way would be great. They'll still need to be able to be assigned to some variable at some point.
The text was updated successfully, but these errors were encountered: