diff --git a/cli/src/cli/generate/markdown.rs b/cli/src/cli/generate/markdown.rs index 8fa4090..70a2952 100644 --- a/cli/src/cli/generate/markdown.rs +++ b/cli/src/cli/generate/markdown.rs @@ -86,9 +86,9 @@ const COMMANDS_INDEX_TEMPLATE: &str = r#" {% for cmd in commands -%} {% if multi_dir -%} -* [`{{ cmd.full_cmd | join(sep=" ") }}`]({{ multi_dir }}/{% for c in cmd.full_cmd %}{{ c | slugify }}{% if not loop.last %}/{% endif %}{% endfor %}.md) +* [`{{ bin }} {{ cmd.full_cmd | join(sep=" ") }}`]({{ multi_dir }}/{% for c in cmd.full_cmd %}{{ c | slugify }}{% if not loop.last %}/{% endif %}{% endfor %}.md) {% else -%} -* [`{{ cmd.full_cmd | join(sep=" ") }}`](#{{ cmd.full_cmd | join(sep=" ") | slugify }}) +* [`{{ bin }} {{ cmd.full_cmd | join(sep=" ") }}`](#{{ bin | slugify }}-{{ cmd.full_cmd | join(sep=" ") | slugify }}) {% endif -%} {% endfor -%} "#; diff --git a/examples/docs/MISE_INLINE.md b/examples/docs/MISE_INLINE.md index a89e576..4dff86d 100644 --- a/examples/docs/MISE_INLINE.md +++ b/examples/docs/MISE_INLINE.md @@ -54,70 +54,70 @@ foooooooo ## CLI Command Reference -* [`activate`](#activate) -* [`alias`](#alias) -* [`alias get`](#alias-get) -* [`alias ls`](#alias-ls) -* [`alias set`](#alias-set) -* [`alias unset`](#alias-unset) -* [`bin-paths`](#bin-paths) -* [`cache`](#cache) -* [`cache clear`](#cache-clear) -* [`completion`](#completion) -* [`config`](#config) -* [`config ls`](#config-ls) -* [`config generate`](#config-generate) -* [`current`](#current) -* [`deactivate`](#deactivate) -* [`direnv`](#direnv) -* [`direnv activate`](#direnv-activate) -* [`doctor`](#doctor) -* [`env`](#env) -* [`exec`](#exec) -* [`implode`](#implode) -* [`install`](#install) -* [`latest`](#latest) -* [`link`](#link) -* [`ls`](#ls) -* [`ls-remote`](#ls-remote) -* [`outdated`](#outdated) -* [`plugins`](#plugins) -* [`plugins install`](#plugins-install) -* [`plugins link`](#plugins-link) -* [`plugins ls`](#plugins-ls) -* [`plugins ls-remote`](#plugins-ls-remote) -* [`plugins uninstall`](#plugins-uninstall) -* [`plugins update`](#plugins-update) -* [`prune`](#prune) -* [`reshim`](#reshim) -* [`run`](#run) -* [`self-update`](#self-update) -* [`set`](#set) -* [`settings`](#settings) -* [`settings get`](#settings-get) -* [`settings ls`](#settings-ls) -* [`settings set`](#settings-set) -* [`settings unset`](#settings-unset) -* [`shell`](#shell) -* [`sync`](#sync) -* [`sync node`](#sync-node) -* [`sync python`](#sync-python) -* [`tasks`](#tasks) -* [`tasks deps`](#tasks-deps) -* [`tasks edit`](#tasks-edit) -* [`tasks ls`](#tasks-ls) -* [`tasks run`](#tasks-run) -* [`trust`](#trust) -* [`uninstall`](#uninstall) -* [`unset`](#unset) -* [`upgrade`](#upgrade) -* [`usage`](#usage) -* [`use`](#use) -* [`version`](#version) -* [`watch`](#watch) -* [`where`](#where) -* [`which`](#which) -* [`zzz`](#zzz) +* [`mise activate`](#mise-activate) +* [`mise alias`](#mise-alias) +* [`mise alias get`](#mise-alias-get) +* [`mise alias ls`](#mise-alias-ls) +* [`mise alias set`](#mise-alias-set) +* [`mise alias unset`](#mise-alias-unset) +* [`mise bin-paths`](#mise-bin-paths) +* [`mise cache`](#mise-cache) +* [`mise cache clear`](#mise-cache-clear) +* [`mise completion`](#mise-completion) +* [`mise config`](#mise-config) +* [`mise config ls`](#mise-config-ls) +* [`mise config generate`](#mise-config-generate) +* [`mise current`](#mise-current) +* [`mise deactivate`](#mise-deactivate) +* [`mise direnv`](#mise-direnv) +* [`mise direnv activate`](#mise-direnv-activate) +* [`mise doctor`](#mise-doctor) +* [`mise env`](#mise-env) +* [`mise exec`](#mise-exec) +* [`mise implode`](#mise-implode) +* [`mise install`](#mise-install) +* [`mise latest`](#mise-latest) +* [`mise link`](#mise-link) +* [`mise ls`](#mise-ls) +* [`mise ls-remote`](#mise-ls-remote) +* [`mise outdated`](#mise-outdated) +* [`mise plugins`](#mise-plugins) +* [`mise plugins install`](#mise-plugins-install) +* [`mise plugins link`](#mise-plugins-link) +* [`mise plugins ls`](#mise-plugins-ls) +* [`mise plugins ls-remote`](#mise-plugins-ls-remote) +* [`mise plugins uninstall`](#mise-plugins-uninstall) +* [`mise plugins update`](#mise-plugins-update) +* [`mise prune`](#mise-prune) +* [`mise reshim`](#mise-reshim) +* [`mise run`](#mise-run) +* [`mise self-update`](#mise-self-update) +* [`mise set`](#mise-set) +* [`mise settings`](#mise-settings) +* [`mise settings get`](#mise-settings-get) +* [`mise settings ls`](#mise-settings-ls) +* [`mise settings set`](#mise-settings-set) +* [`mise settings unset`](#mise-settings-unset) +* [`mise shell`](#mise-shell) +* [`mise sync`](#mise-sync) +* [`mise sync node`](#mise-sync-node) +* [`mise sync python`](#mise-sync-python) +* [`mise tasks`](#mise-tasks) +* [`mise tasks deps`](#mise-tasks-deps) +* [`mise tasks edit`](#mise-tasks-edit) +* [`mise tasks ls`](#mise-tasks-ls) +* [`mise tasks run`](#mise-tasks-run) +* [`mise trust`](#mise-trust) +* [`mise uninstall`](#mise-uninstall) +* [`mise unset`](#mise-unset) +* [`mise upgrade`](#mise-upgrade) +* [`mise usage`](#mise-usage) +* [`mise use`](#mise-use) +* [`mise version`](#mise-version) +* [`mise watch`](#mise-watch) +* [`mise where`](#mise-where) +* [`mise which`](#mise-which) +* [`mise zzz`](#mise-zzz) ## `mise activate` diff --git a/examples/docs/MISE_MULTI.md b/examples/docs/MISE_MULTI.md index 9b592b2..226086a 100644 --- a/examples/docs/MISE_MULTI.md +++ b/examples/docs/MISE_MULTI.md @@ -54,69 +54,69 @@ foooooooo ## CLI Command Reference -* [`activate`](./cli-reference/activate.md) -* [`alias`](./cli-reference/alias.md) -* [`alias get`](./cli-reference/alias/get.md) -* [`alias ls`](./cli-reference/alias/ls.md) -* [`alias set`](./cli-reference/alias/set.md) -* [`alias unset`](./cli-reference/alias/unset.md) -* [`bin-paths`](./cli-reference/bin-paths.md) -* [`cache`](./cli-reference/cache.md) -* [`cache clear`](./cli-reference/cache/clear.md) -* [`completion`](./cli-reference/completion.md) -* [`config`](./cli-reference/config.md) -* [`config ls`](./cli-reference/config/ls.md) -* [`config generate`](./cli-reference/config/generate.md) -* [`current`](./cli-reference/current.md) -* [`deactivate`](./cli-reference/deactivate.md) -* [`direnv`](./cli-reference/direnv.md) -* [`direnv activate`](./cli-reference/direnv/activate.md) -* [`doctor`](./cli-reference/doctor.md) -* [`env`](./cli-reference/env.md) -* [`exec`](./cli-reference/exec.md) -* [`implode`](./cli-reference/implode.md) -* [`install`](./cli-reference/install.md) -* [`latest`](./cli-reference/latest.md) -* [`link`](./cli-reference/link.md) -* [`ls`](./cli-reference/ls.md) -* [`ls-remote`](./cli-reference/ls-remote.md) -* [`outdated`](./cli-reference/outdated.md) -* [`plugins`](./cli-reference/plugins.md) -* [`plugins install`](./cli-reference/plugins/install.md) -* [`plugins link`](./cli-reference/plugins/link.md) -* [`plugins ls`](./cli-reference/plugins/ls.md) -* [`plugins ls-remote`](./cli-reference/plugins/ls-remote.md) -* [`plugins uninstall`](./cli-reference/plugins/uninstall.md) -* [`plugins update`](./cli-reference/plugins/update.md) -* [`prune`](./cli-reference/prune.md) -* [`reshim`](./cli-reference/reshim.md) -* [`run`](./cli-reference/run.md) -* [`self-update`](./cli-reference/self-update.md) -* [`set`](./cli-reference/set.md) -* [`settings`](./cli-reference/settings.md) -* [`settings get`](./cli-reference/settings/get.md) -* [`settings ls`](./cli-reference/settings/ls.md) -* [`settings set`](./cli-reference/settings/set.md) -* [`settings unset`](./cli-reference/settings/unset.md) -* [`shell`](./cli-reference/shell.md) -* [`sync`](./cli-reference/sync.md) -* [`sync node`](./cli-reference/sync/node.md) -* [`sync python`](./cli-reference/sync/python.md) -* [`tasks`](./cli-reference/tasks.md) -* [`tasks deps`](./cli-reference/tasks/deps.md) -* [`tasks edit`](./cli-reference/tasks/edit.md) -* [`tasks ls`](./cli-reference/tasks/ls.md) -* [`tasks run`](./cli-reference/tasks/run.md) -* [`trust`](./cli-reference/trust.md) -* [`uninstall`](./cli-reference/uninstall.md) -* [`unset`](./cli-reference/unset.md) -* [`upgrade`](./cli-reference/upgrade.md) -* [`usage`](./cli-reference/usage.md) -* [`use`](./cli-reference/use.md) -* [`version`](./cli-reference/version.md) -* [`watch`](./cli-reference/watch.md) -* [`where`](./cli-reference/where.md) -* [`which`](./cli-reference/which.md) -* [`zzz`](./cli-reference/zzz.md) +* [`mise activate`](./cli-reference/activate.md) +* [`mise alias`](./cli-reference/alias.md) +* [`mise alias get`](./cli-reference/alias/get.md) +* [`mise alias ls`](./cli-reference/alias/ls.md) +* [`mise alias set`](./cli-reference/alias/set.md) +* [`mise alias unset`](./cli-reference/alias/unset.md) +* [`mise bin-paths`](./cli-reference/bin-paths.md) +* [`mise cache`](./cli-reference/cache.md) +* [`mise cache clear`](./cli-reference/cache/clear.md) +* [`mise completion`](./cli-reference/completion.md) +* [`mise config`](./cli-reference/config.md) +* [`mise config ls`](./cli-reference/config/ls.md) +* [`mise config generate`](./cli-reference/config/generate.md) +* [`mise current`](./cli-reference/current.md) +* [`mise deactivate`](./cli-reference/deactivate.md) +* [`mise direnv`](./cli-reference/direnv.md) +* [`mise direnv activate`](./cli-reference/direnv/activate.md) +* [`mise doctor`](./cli-reference/doctor.md) +* [`mise env`](./cli-reference/env.md) +* [`mise exec`](./cli-reference/exec.md) +* [`mise implode`](./cli-reference/implode.md) +* [`mise install`](./cli-reference/install.md) +* [`mise latest`](./cli-reference/latest.md) +* [`mise link`](./cli-reference/link.md) +* [`mise ls`](./cli-reference/ls.md) +* [`mise ls-remote`](./cli-reference/ls-remote.md) +* [`mise outdated`](./cli-reference/outdated.md) +* [`mise plugins`](./cli-reference/plugins.md) +* [`mise plugins install`](./cli-reference/plugins/install.md) +* [`mise plugins link`](./cli-reference/plugins/link.md) +* [`mise plugins ls`](./cli-reference/plugins/ls.md) +* [`mise plugins ls-remote`](./cli-reference/plugins/ls-remote.md) +* [`mise plugins uninstall`](./cli-reference/plugins/uninstall.md) +* [`mise plugins update`](./cli-reference/plugins/update.md) +* [`mise prune`](./cli-reference/prune.md) +* [`mise reshim`](./cli-reference/reshim.md) +* [`mise run`](./cli-reference/run.md) +* [`mise self-update`](./cli-reference/self-update.md) +* [`mise set`](./cli-reference/set.md) +* [`mise settings`](./cli-reference/settings.md) +* [`mise settings get`](./cli-reference/settings/get.md) +* [`mise settings ls`](./cli-reference/settings/ls.md) +* [`mise settings set`](./cli-reference/settings/set.md) +* [`mise settings unset`](./cli-reference/settings/unset.md) +* [`mise shell`](./cli-reference/shell.md) +* [`mise sync`](./cli-reference/sync.md) +* [`mise sync node`](./cli-reference/sync/node.md) +* [`mise sync python`](./cli-reference/sync/python.md) +* [`mise tasks`](./cli-reference/tasks.md) +* [`mise tasks deps`](./cli-reference/tasks/deps.md) +* [`mise tasks edit`](./cli-reference/tasks/edit.md) +* [`mise tasks ls`](./cli-reference/tasks/ls.md) +* [`mise tasks run`](./cli-reference/tasks/run.md) +* [`mise trust`](./cli-reference/trust.md) +* [`mise uninstall`](./cli-reference/uninstall.md) +* [`mise unset`](./cli-reference/unset.md) +* [`mise upgrade`](./cli-reference/upgrade.md) +* [`mise usage`](./cli-reference/usage.md) +* [`mise use`](./cli-reference/use.md) +* [`mise version`](./cli-reference/version.md) +* [`mise watch`](./cli-reference/watch.md) +* [`mise where`](./cli-reference/where.md) +* [`mise which`](./cli-reference/which.md) +* [`mise zzz`](./cli-reference/zzz.md)