After #465 is merged into main, we should consider updating the CLI to support functionality which can map out all available commands. For example, if we were to run geoips commands (or something along those lines), this would produce a tree of available commands which you can run via the CLI. This doesn't need to be done immediately but would be a very useful utility that people could make use of to easily understand the CLI. We should consider adding a --max-depth <num> to limit how far we traverse down this tree.
Requested Update
Description
After #465 is merged into main, we should consider updating the CLI to support functionality which can map out all available commands. For example, if we were to run
geoips commands
(or something along those lines), this would produce a tree of available commands which you can run via the CLI. This doesn't need to be done immediately but would be a very useful utility that people could make use of to easily understand the CLI. We should consider adding a--max-depth <num>
to limit how far we traverse down this tree.Background and Motivation
This stems from this comment on #465.
Code to demonstrate issue
Here is some pseudo code which demonstrates what we'd need to do in the CLI