aboutsummaryrefslogtreecommitdiff
path: root/argparse/examples/subcommands.rs
diff options
context:
space:
mode:
authorDaniel Mueller <deso@posteo.net>2018-12-27 20:03:47 -0800
committerDaniel Mueller <deso@posteo.net>2018-12-27 20:03:47 -0800
commitc3b9df0dfa9ef2de2a800c4fbc5880a49da0d9bb (patch)
tree9bac2d47a56604becc27543c56fd8343317d9660 /argparse/examples/subcommands.rs
parent0148d954b1ea3105696e9958152b679997d9be86 (diff)
downloadnitrocli-c3b9df0dfa9ef2de2a800c4fbc5880a49da0d9bb.tar.gz
nitrocli-c3b9df0dfa9ef2de2a800c4fbc5880a49da0d9bb.tar.bz2
Make 'open' and 'close' subcommands of new 'storage' command
Upon their inception, the 'open' and 'close' commands were pretty much the only relevant commands the program provided and it made sense to have them reside in the root namespace. By now we support more commands and have started to structure them in a more hierarchical fashion. To go with the flow, this change introduces a new 'storage' command and makes the existing 'open' and 'close' commands subcommands of it. We chose the name 'storage' (over, say, 'volume') because we plan to move the printing of the storage related status from the 'status' root level command into a subcommand within 'storage'.
Diffstat (limited to 'argparse/examples/subcommands.rs')
0 files changed, 0 insertions, 0 deletions