show-env-status

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

/mise:show-env-status

/mise:show-env-status

Show a comprehensive overview of the current repo's mise environment.
展示当前仓库mise环境的全面概览。

Output Sections

输出模块

Run these commands and present the results in a formatted summary:
运行以下命令并将结果整理为格式化的摘要展示:

1. mise Version

1. mise版本

bash
mise --version
bash
mise --version

2. Installed Tools

2. 已安装的工具

bash
mise ls --current 2>/dev/null
bash
mise ls --current 2>/dev/null

3. Environment Variables (Non-Sensitive)

3. 环境变量(非敏感)

bash
undefined
bash
undefined

Show env vars, filtering out secrets

展示环境变量,过滤掉密钥信息

mise env 2>/dev/null | grep -v -i "TOKEN|KEY|SECRET|PASSWORD|CREDENTIAL" | sort
undefined
mise env 2>/dev/null | grep -v -i "TOKEN|KEY|SECRET|PASSWORD|CREDENTIAL" | sort
undefined

4. Available Tasks (Grouped)

4. 可用任务(已分组)

bash
mise tasks ls 2>/dev/null
Group the output by colon-namespace prefix (e.g.,
release:
,
test:
,
cache:
).
bash
mise tasks ls 2>/dev/null
按冒号分隔的命名空间前缀对输出进行分组(例如
release:
test:
cache:
)。

5. Release Readiness

5. 发布就绪状态

Check if the repo has release tasks configured:
bash
undefined
检查仓库是否配置了发布任务:
bash
undefined

Check for release:full task

检查是否存在release:full任务

mise tasks ls 2>/dev/null | grep -q "release:full" && echo "✓ Release tasks configured" || echo "✗ No release tasks — run /mise:run-full-release to scaffold"
mise tasks ls 2>/dev/null | grep -q "release:full" && echo "✓ Release tasks configured" || echo "✗ No release tasks — run /mise:run-full-release to scaffold"

Check for .releaserc.yml

检查是否存在.releaserc.yml配置文件

ls .releaserc.yml .releaserc.json .releaserc 2>/dev/null && echo "✓ semantic-release configured" || echo "✗ No semantic-release config"
ls .releaserc.yml .releaserc.json .releaserc 2>/dev/null && echo "✓ semantic-release configured" || echo "✗ No semantic-release config"

Check GH_ACCOUNT

检查GH_ACCOUNT变量

echo "GH_ACCOUNT: ${GH_ACCOUNT:-not set}"
undefined
echo "GH_ACCOUNT: ${GH_ACCOUNT:-not set}"
undefined

6. Configuration Files

6. 配置文件

bash
undefined
bash
undefined

Show which mise config files are active

展示当前生效的mise配置文件

ls .mise.toml mise.toml .mise/tasks/ 2>/dev/null
undefined
ls .mise.toml mise.toml .mise/tasks/ 2>/dev/null
undefined

Example Output Format

示例输出格式

═══════════════════════════════════════════
  mise Environment Status: cc-skills
═══════════════════════════════════════════

Tools: node 25.0.0, bun 1.3.0, python 3.13
Account: terrylica

Tasks (32 total):
  release: full, dry, status, preflight, version, sync, verify, clean, hooks
  dev: lint, format, test

Release: ✓ Configured (release:full + .releaserc.yml)
Config: .mise.toml (42 lines)
═══════════════════════════════════════════
═══════════════════════════════════════════
  mise Environment Status: cc-skills
═══════════════════════════════════════════

Tools: node 25.0.0, bun 1.3.0, python 3.13
Account: terrylica

Tasks (32 total):
  release: full, dry, status, preflight, version, sync, verify, clean, hooks
  dev: lint, format, test

Release: ✓ Configured (release:full + .releaserc.yml)
Config: .mise.toml (42 lines)
═══════════════════════════════════════════