-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Specifying usage examples in the spec #3
Comments
Those are neat examples, and I think it's related to the problem I kind of need usage for—which might be helpful for you. I want the ability to "mount" clis into mise-en-place, specifically for tasks so you can do What would be useful, of course, is if we had a library of common CLIs like But I'm not totally sure what you're asking here, are you asking for example usage specs that use some common CLIs so people reading the docs know what to expect? Or are you asking about examples of using a CLI to put into documentation like this:
|
there is support for examples: Line 32 in 3f0f16c
though I'm not sure if I have documented it or not |
Yeah if you could provide an example of usage/output, I can figure out if this would be suitable for my usage or propose spec changes. |
The dokku project uses some faux reflection and fancy footwork to generate cli help output as well as markdown docs from files. One thing that is nice is that we can show examples to users for usage.
I'm wondering if that would be possible to somehow spec out. Examples have a
cli command
as well as adescription
of the command, and are shown in the section for that particular subcommand.The text was updated successfully, but these errors were encountered: