Skip to content

Conversation

@lchoquel
Copy link
Member

@lchoquel lchoquel commented Sep 6, 2025

Access remote github repos #39

### Changed
- **Major CLI restructuring**: Reorganized flat command structure into logical command groups for better organization and maintainability
  - `repox` → `repox convert` (repository processing commands)
  - `swe-*` commands → `swe *` subcommands (e.g., `swe-from-repo` → `swe from-repo`)
  - `validate` → `validation validate` (with additional `validation dry-run` and `validation check-config` options)
- **Improved CLI architecture**: Extracted command implementations from main CLI module into co-located packages (`cocode/repox/repox_cli.py`, `cocode/swe/swe_cli.py`, etc.) for better code organization
- **Updated documentation**: All examples and references updated to reflect new command structure

### Added
- Command group structure with `app.add_typer()` for better CLI organization
- `cocode/common.py` module with shared utilities (`PipeCode` enum, `validate_repo_path()`, `get_output_dir()`)
- Alternative command names for flexibility (e.g., `repox repo` alongside `repox convert`)

### Deprecated
- Direct `cocode validate` command (still works but shows deprecation notice; use `cocode validation validate` instead)

**Migration**: Replace hyphens with spaces in SWE commands (e.g., `swe-from-repo` → `swe from-repo`) and use `repox convert` instead of `repox`. All old functionality remains available in the new structure.
@lchoquel lchoquel merged commit 8735c54 into dev Sep 6, 2025
14 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Sep 6, 2025
@lchoquel lchoquel deleted the feature/More-github-power branch September 6, 2025 09:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants