I'm building an operational CLI utility for our software, and I can't seem to quite find an example that meets my needs. As a team we're familiar with kubectl of kubernetes, this has the nice consistent command line format of
binary verb noun (possible other options), flags
For instance, I would like to implement the following commands.
sandwich get bundles (bundle options, time range etc)
sandwich reprocess bundles (bundle options, time range etc)
Another set of commands might be something like this.
Each one of the verb + nouns make up a command. I found this documentation, http://jcommander.org/#_more_complex_syntaxes_commands
, but it's not quite clear to me how to accomplish this, since it's really a specific path through a tree of inputs to get to my command. Any help would be greatly appreciated!