mise tasks edit
- Usage:
mise tasks edit [-p --path] <TASK> - Effect: modifies state
- Source code:
src/cli/tasks/edit.rs
Open a task in your editor
Opens the file that defines the task in $VISUAL or $EDITOR: the script for a file task, or the config file for a TOML task. If no task has that name, mise creates an executable bash script for it in the project's task directory (for example mise-tasks/) and opens that. --path prints the file's path instead of opening it; a missing task is still created.
Arguments
<TASK>— Task to edit
Flags
-p --path— Print the task's file path instead of opening it-h --help— Print help
Examples
Edit the build task
mise tasks edit buildPrint the build task's file path
mise tasks edit --path build