跳转到内容

mise tasks info ​

Show a task's definition

Prints the task's description, source file, dependencies, sources, outputs, run commands, environment, and usage spec. --json prints the full definition.

参数 ​

  • <TASK> — 要获取信息的任务名称

标志 ​

  • -J --json — 以 JSON 格式输出
  • -h --help — 输出帮助

示例 ​

Show the test task and the file that defines it

mise tasks info test

获取完整的结构化任务定义

mise tasks info test --json

相关文档 ​