[TCLI-86] Global options Created: 16/Jun/16 Updated: 16/Jun/16
|Reporter:||Dan Persa||Assignee:||Sean Corfield|
When parsing the options, when the in-order flag is true, it would be nice to be able so define some options as global. The global options should not be passed as arguments to the sub-command.
Looking at the example:
With :in-order true, the parsing looks like:
If --graph would be a global option, it would modify the parsing to:
My suggestion would be, when defining the options, to add a flag, :global, by default set to false:
|Comment by Sean Corfield [ 16/Jun/16 12:02 PM ]|
Sounds like a reasonable enhancement. I'll take a look and see whether that is feasible with the current machinery.