跳转到内容

mise tasks graph ​

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 graph

Print the project graph as JSON

mise tasks graph --json

Show which workspace file each project, dependency, and task came from

mise tasks graph --explain

相关文档 ​