dssg / dssg/argcmdr

command option to print hierarchy

Open
#14 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
14
Forks
0
PR merge metrics
No merged PRs in 30d

Description

(Optionally-enabled) (manage) command/option or other tool to print command hierarchy, like `tree`, (with descriptions and/or argument signatures).

For example:

$ manage server --help-tree
manage server manage servers
|– user manage users via ansible
| |– add add user logins
| |– delete mark logins for deletion

Above, the `--help-tree` option operates like `--help`, immediately printing a description of the hierarchy and exiting.

This could be offered by the `manage` command, but *not* enabled by default for other commands that make use of `argcmdr`; rather, for these, it should be easy to add or enable.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.