mise tasks graph
- 用法:
mise tasks graph [FLAGS] - 效果: 只读
- 源代码:
src/cli/tasks/graph.rs
Show the monorepo project graph
列出 mise 根据 Cargo、uv、Go、Gradle 和 Node.js 工作区清单推断出的项目,以及每个项目的 ID、根目录、依赖和元数据。mise run --affected 会使用此图判断某项更改影响了哪些项目。
See https://mise.jdx.dev/tasks/workspace-graph.html
Flags
-J --json— Output the project graph as JSON--explain— Show which provider and workspace file each project, dependency, and task field came from--no-header— Do not print table headers-h --help— Print help
示例
List projects and their dependencies
mise tasks graphPrint the project graph as JSON
mise tasks graph --jsonShow which workspace file each project, dependency, and task came from
mise tasks graph --explain