-
-
Notifications
You must be signed in to change notification settings - Fork 695
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 a CLI reference page to the docs, inspired by sqlite-utils #1594
Comments
The implementation can be almost exactly the same as this: https://github.com/simonw/sqlite-utils/blame/74586d3cb26fa3cc3412721985ecdc1864c2a31d/docs/cli-reference.rst#L11-L76 I need to do something extra to ensure the output of |
I went with a simpler pattern that datasette/docs/cli-reference.rst Lines 9 to 35 in 4b23f01
|
Thought of this while posting this comment: #1591 (comment)
I added https://sqlite-utils.datasette.io/en/stable/cli-reference.html to
sqlite-utils
in simonw/sqlite-utils#383 and I really like it - it's a page showing the--help
output of every CLI command for that tool.It's maintained using
cog
. One of the benefits is that I get a free commit history of changes to--help
at https://github.com/simonw/sqlite-utils/commits/main/docs/cli-reference.rstThe text was updated successfully, but these errors were encountered: