docs/cli/generate/task-docs.md
mise generate task-docsmise generate task-docs [FLAGS]src/cli/generate/task_docs.rsGenerate documentation for tasks in a project
-i --injectinserts the documentation into an existing file
This will look for a special comment, <!-- mise-tasks -->, and replace it with the generated documentation.
It will replace everything between the comment and the next comment, <!-- /mise-tasks --> so it can be
run multiple times on the same file to update the documentation.
-I --indexwrite only an index of tasks, intended for use with --multi
-m --multirender each task as a separate document, requires --output to be a directory
-o --output <OUTPUT>writes the generated docs to a file/directory
-r --root <ROOT>root directory to search for tasks
-s --style <STYLE>Choices:
simpledetailedDefault: simple
Examples:
mise generate task-docs