Skip to content

fix(cli): 修复 windows 控制台输出与 help#7

Merged
ByteColtX merged 1 commit into
mainfrom
codex/fix-windows-cli-console-help
May 11, 2026
Merged

fix(cli): 修复 windows 控制台输出与 help#7
ByteColtX merged 1 commit into
mainfrom
codex/fix-windows-cli-console-help

Conversation

@ByteColtX
Copy link
Copy Markdown
Owner

Summary

  • 修复 Windows GUI-subsystem 单二进制在 PowerShell 以 CLI 参数启动时 stdout/stderr/stdin 未附加父控制台的问题
  • 增加 -h / --help 独立命令路径,避免 help 初始化发现或托盘运行时
  • 完善 CLI help 展示与相关解析、输出、启动模式测试,并移除 help 标题前的信息图标

Testing

  • cargo fmt --check
  • cargo test
  • cargo clippy --all-targets --all-features -- -D warnings
  • cargo run -- --help
  • target\debug\rairstream.exe --help

@ByteColtX ByteColtX merged commit c88418e into main May 11, 2026
1 check passed
ByteColtX added a commit that referenced this pull request May 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant