Skip to content

Conversation

@gmorpheme
Copy link
Member

Summary

  • Replace structopt with clap v4: Modern CLI parsing with derive API
  • Implement subcommand structure: Clean architecture with run, test, dump, version, explain, list-targets
  • Smart default behavior: Auto-selects 'run' subcommand when none specified
  • Maintain backward compatibility: All existing command patterns continue to work
  • Update documentation: Reflect new CLI structure and subcommands

Test plan

  • All existing tests pass (cargo test)
  • Quality checks pass (clippy, fmt)
  • Backward compatibility verified with existing command patterns
  • New subcommand structure tested with eu --help
  • Smart fallback behavior works for legacy commands

🤖 Generated with Claude Code

Replace structopt with modern clap v4 derive API and introduce a clean
subcommand-based CLI architecture. Key changes:

- Migrate from structopt to clap v4 with derive features
- Implement subcommand structure (run, test, dump, version, explain, list-targets)
- Add smart default subcommand behavior (defaults to 'run' when no subcommand specified)
- Maintain backward compatibility with existing command patterns
- Update documentation to reflect new CLI structure
- Remove all structopt dependencies across codebase

The new CLI provides better user experience while preserving all existing
functionality. All previous command patterns continue to work unchanged.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
@gmorpheme gmorpheme merged commit e352d63 into master Jul 7, 2025
16 checks passed
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.

2 participants