mise 任务
- 用法:
mise tasks [FLAGS] [TASK] [SUBCOMMAND] - 别名:
t、task - 效果: 只读
- 源代码:
src/cli/tasks/mod.rs
管理任务。
With no subcommand, lists tasks like mise tasks ls and accepts the same flags. With a task name, shows that task like mise tasks info. To run a task, use mise run.
Arguments
[TASK]— Task to show, asmise tasks infodoes
Flags
-g --global— Only show global tasks-J --json— Output in JSON format-l --local— Only show non-global tasks-x --extended— Show all columns--all— Include tasks from every project in the monorepo, not only the current directory's hierarchy--hidden— Show hidden tasks--name-only— Print only task names, one per line (for fzf and similar tools)--no-header— Do not print the table header--sort <COLUMN>— Column to sort by (default: name)Choices:
name,alias,description,source--sort-order <SORT_ORDER>— Sort direction (default: asc)可选项:
asc、desc-h --help— 打印帮助
Examples
List tasks
mise tasksShow the build task
mise tasks buildInclude hidden tasks, sorted by source
mise tasks --hidden --sort sourceSubcommands
mise tasks add [FLAGS] <TASK> [-- RUN]…mise tasks deps [FLAGS] [TASKS]…mise tasks edit [-p --path] <TASK>mise tasks graph [FLAGS]mise tasks info [-J --json] <TASK>mise tasks ls [FLAGS]mise tasks validate [--errors-only] [--json] [TASKS]…