Skip to content

Is there a crate to test example commands in clap command/subcommand documentation? #4500

Answered by epage
jpmckinney asked this question in Q&A
Discussion options

You must be logged in to vote

At the moment, trycmd only supported markdown and not code blocks.

Feel free to open an issue about that though it does introduce some complexity that I'm unsure if I want to handle and the use case seems a lot smaller, lowering the priority.

One alternative is to pull a markdown file into your doc comment

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jpmckinney
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants