Skip to content

feat(cli): modernize standalone CLI foundation - #45

Merged
Teakowa merged 1 commit into
mainfrom
agent/opy-cli-modernization-20260818
Aug 18, 2026
Merged

feat(cli): modernize standalone CLI foundation#45
Teakowa merged 1 commit into
mainfrom
agent/opy-cli-modernization-20260818

Conversation

@Teakowa

@Teakowa Teakowa commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Replace hand-written opy-cli argument handling with a repository-local clap command model.
  • Generate deterministic Bash, Zsh, Fish, and PowerShell completion from that model.
  • Add CLI-local terminal/plain/GitHub Actions presentation with explicit renderer and color policies.
  • Keep check, inspect, support, and version semantics and exit codes; add the documented completion and check --format json surfaces.
  • Keep frontend diagnostics and future compiler integration behind a CLI-owned diagnostic view; no wright, wright-cli, shared CLI crate, or Workshop ownership changes.

Evidence

  • Architect final review: APPROVE.
  • Independent QA: VERIFIED for command compatibility, completion determinism, PTY/non-TTY/CI/GitHub Actions/NO_COLOR behavior, JSON purity, source spans, workflow escaping, IO errors, and exit codes.
  • cargo fmt --all -- --check
  • cargo clippy --locked --workspace --all-targets --all-features -- -D warnings
  • cargo test --locked --workspace --all-targets --all-features
  • python3 -m unittest discover -s compatibility/tests
  • git diff --check

Closes #43.

@Teakowa
Teakowa marked this pull request as ready for review August 18, 2026 10:13
@Teakowa
Teakowa merged commit d266538 into main Aug 18, 2026
4 checks passed
@Teakowa
Teakowa deleted the agent/opy-cli-modernization-20260818 branch August 18, 2026 10:13
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.

Modernize the standalone CLI foundation and CI presentation

1 participant