Skip to content
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

Add an Example field to the mixlib-cli spec #69

Open
kagarmoe opened this issue Jun 19, 2019 · 0 comments
Open

Add an Example field to the mixlib-cli spec #69

kagarmoe opened this issue Jun 19, 2019 · 0 comments
Labels
Triage: Feature Request Indicates an issue requesting new functionality.

Comments

@kagarmoe
Copy link

kagarmoe commented Jun 19, 2019

Motivation

As a technical writer
I want to add examples to the CLI docs
so that users will know the tricky bits and we can automate the CLI docs

The documentation team is working towards meaningful automation of our reference documentation (CLI, API, config). Hand-curating CLI examples and scattering them throughout the documentation by means of dtags, partials, or includes makes the documentation lifecycle difficult to manage. Adding an example field that can handle (or, at the very least, ignore) command line examples such as --bootstrap-vault-json '{ "vault1": ["item1", "item2"], "vault2": "item2" }' would help both users and the docs team.

Specification

:example - An example showing the syntax to use with this option. Example "--bootstrap-vault-json '{ "vault1": ["item1", "item2"], "vault2": "item2" }' "

Downstream Impact

This would impact the formatter and how we output the CLI docs, both on the command line and into .rst or .md

@kagarmoe kagarmoe added the Status: Untriaged An issue that has yet to be triaged. label Jun 19, 2019
@kagarmoe kagarmoe changed the title Add an Example field to the mixlib-cli sped Add an Example field to the mixlib-cli spec Jun 19, 2019
@tas50 tas50 added Triage: Feature Request Indicates an issue requesting new functionality. and removed Status: Untriaged An issue that has yet to be triaged. labels Oct 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Triage: Feature Request Indicates an issue requesting new functionality.
Projects
None yet
Development

No branches or pull requests

2 participants