clize
clize copied to clipboard
FR: pre-dispatch options
Say I have mycommand foo and mycommand bar. The way clize is written now, I have to write, when invoking mycommand, either ./mycommand foo --debug or ./mycommand bar --debug and can't write ./mycommand --debug foo. It'd be nice to be able to somehow specify common arguments that applied to all commands in a dispatch set.