I there a way, currently, to have a global option (program-wide), and subcommands that take options themselves?
Something like this:
$ myprogram -v list devices --filter=all
Here, -v can be placed on all subcommands. When I try using it, it cannot be followed by a subcommand.
Thanks.
I there a way, currently, to have a global option (program-wide), and subcommands that take options themselves?
Something like this:
Here,
-vcan be placed on all subcommands. When I try using it, it cannot be followed by a subcommand.Thanks.