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

Auto-produce CLI documentation #17

Open
thcrock opened this issue Oct 2, 2018 · 1 comment
Open

Auto-produce CLI documentation #17

thcrock opened this issue Oct 2, 2018 · 1 comment

Comments

@thcrock
Copy link
Contributor

thcrock commented Oct 2, 2018

I don't have a fully formed version of this idea but here goes...

Should argcmdr be able to produce documentation for inclusion on doc sites? It seems helpful to show off the capabilities of a CLI produced with argcmdr, and to be able to do so while staying up to date with what's actually in there.

There are certainly complications, such as that documentation can be in many different formats and argcmdr doesn't necessarily need to be opinionated about them. But is there a way to just make this easier for a project that uses argcmdr?

@jesteria
Copy link
Member

jesteria commented Oct 2, 2018

Sounds like a good idea to me.

I see that a sphinx plugin for argparse exists [docs]. We could document and/or add a utility to aid integration with this, likely pretty easily.

For targets outside of sphinx, I'm not yet sure – we'd have to do some investigation.

(To note, this is similar to, but certainly distinct from, #14.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants