Skip to content

mise generate task-stubs

[experimental] Generates 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.

Flags

-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

-d --dir <DIR>

Directory to create task stubs inside of

Examples:

$ mise task add test -- echo 'running tests'
$ mise generate task-stubs
$ ./bin/test
running tests

Licensed under the MIT License. Maintained by @jdx and friends.