mise tasks edit
- 用法:
mise tasks edit [-p --path] <TASK> - 效果: 修改状态
- 源代码:
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.
参数
<TASK>— 要编辑的任务
Flags
-p --path— Print the task's file path instead of opening it-h --help— Print help
示例
Edit the build task
mise tasks edit buildPrint the build task's file path
mise tasks edit --path build