mise tasks ls
- 用法:
mise tasks ls [FLAGS] - 效果: 只读
- 源代码:
src/cli/tasks/ls.rs
列出可用任务
Lists tasks from [tasks] in your config files and from task directories such as mise-tasks/, .mise-tasks/, and .mise/tasks/, including global tasks in ~/.config/mise/tasks/. Tasks from parent directories and the global config are included; a project task overrides a global task with the same name. In a monorepo, --all also lists tasks from sibling projects.
See https://mise.jdx.dev/tasks/task-discovery.html
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— 打印帮助
示例
List tasks
mise tasks lsInclude hidden tasks
mise tasks ls --hiddenList tasks from every monorepo project
mise tasks ls --allPick a task name interactively
mise tasks ls --name-only | fzf