Self-documenting programs #13
Replies: 3 comments 5 replies
|
It would be great if the OpenCLI Specification (not the description document) specified a convention for dumping an OpenCLI Description. An example could be: $ ./myapp --open-cli
$ ./myapp --open-cli "myapp.json"And maybe even on sub commands to get partial schemas? $ ./myapp subcommand --open-cli |
4 replies
|
So, should we go with the |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Obtaining the spec for an application should be as easy as possible. OpenCLI apps should provide their own spec when given a standard argument (
—spec,—help-opencli, or similar).All reactions