summaryrefslogtreecommitdiffstats
path: root/cli/utils.py
diff options
context:
space:
mode:
authorJose M. Guisado <jguisado@soleta.eu>2021-09-27 12:44:46 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2021-09-27 12:55:36 +0200
commit0f2d1f1dba4a91ef7c0c7104e1995ae8d2cba576 (patch)
tree7f75fe15cc95f2d7cc77af6ca8868f727a016286 /cli/utils.py
parent5f922571e259622fee4266b89c964baa48cc3949 (diff)
Show all valid commands when running ogcli --help
Commands are retrieved using dir() so future commands will show accordingly. "ogcli --help" now will print: usage: ogcli [-h] {create,list,rest,restore,send,set,setup} positional arguments: {create,list,rest,restore,send,set,setup} Subcommand to run optional arguments: -h, --help show this help message and exit
Diffstat (limited to 'cli/utils.py')
0 files changed, 0 insertions, 0 deletions