Skip to content

Conversation

@0xpantera
Copy link
Owner

Summary

  • move clap structs to new cli.rs
  • introduce Config for global flags
  • split command handlers into modules under commands/
  • update workflows to use Config
  • slim down lib.rs to command dispatch layer
  • add shared helper and smoke test
  • propagate --pkg flag through build_nargo_args
  • clean up logging setup

Testing

  • RUSTFLAGS="-D warnings" cargo check --workspace --all-targets --all-features --locked
  • cargo clippy --workspace --all-targets --all-features -- -D warnings (fails: 'cargo-clippy' not installed)
  • cargo test
  • cargo run --quiet -- check (fails: cannot find a Nargo.toml)

https://chatgpt.com/codex/tasks/task_e_685ba97fb2a083298f365c67e64f81b1

@0xpantera 0xpantera self-assigned this Jun 25, 2025
@0xpantera 0xpantera merged commit 869a533 into refactor-staging Jun 25, 2025
2 checks passed
@0xpantera 0xpantera deleted the qexr2s-codex/refactor-cli-and-command-handling-structure branch June 25, 2025 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants