Skip to content

Conversation

thomashebrard
Copy link
Member

No description provided.

lchoquel and others added 15 commits September 3, 2025 11:05
* fix readme

* bump version
* Add docs for github commands

* swe_from_file_cmd  use PipeCode the same way as swe_from_repo_cmd
added some pipe codes to enum

* Renamed write_changelog_v2 to write_changelog_enhanced

* Rename check_docs_consistency to check_doc_inconsistencies
* fix/cursor_rules

* fix rules
* Split CLI code of all commands:

### 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.

* use github repos with temp clones

* Fix linting

* Cleanup imports

* Lint format
# Conflicts:
#	CHANGELOG.md
- Bump `pipelex` to `v0.10.2`: See `Pipelex` changelog [here](https://docs.pipelex.com/changelog/)
# Conflicts:
#	CHANGELOG.md
* fix/clean cli commands

* update changelog

* remove blackbox
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