docs/cli/generate/task-stubs.md
mise generate task-stubsmise generate task-stubs [-d --dir <DIR>] [-m --mise-bin <MISE_BIN>]src/cli/generate/task_stubs.rsGenerates shims to run mise tasks
By default, this will build shims like ./bin/<task>. These can be paired with mise generate bootstrap
so contributors to a project can execute mise tasks without installing mise into their system.
-d --dir <DIR>Directory to create task stubs inside of
Default: bin
-m --mise-bin <MISE_BIN>Path to a mise bin to use when running the task stub.
Use --mise-bin=./bin/mise to use a mise bin generated from mise generate bootstrap
Default: mise
Examples:
$ mise tasks add test -- echo 'running tests'
$ mise generate task-stubs
$ ./bin/test
running tests