diff --git a/.note/codebase_guidelines.md b/.note/codebase_guidelines.md new file mode 100644 index 0000000..b57cf79 --- /dev/null +++ b/.note/codebase_guidelines.md @@ -0,0 +1,17 @@ +# Codebase Guidelines + +## Structure +- `gitea_cli.py`: Main CLI implementation +- `requirements.txt`: Dependencies +- `.env.example`: Configuration template + +## Patterns +- Use Click for CLI interface +- Separate API client class from CLI commands +- Consistent error handling +- Comprehensive help documentation + +## Interfaces +- GiteaAPI class handles all API interactions +- CLI commands map to API methods +- Configuration via get_gitea_config() diff --git a/.note/current_focus.md b/.note/current_focus.md new file mode 100644 index 0000000..18c1794 --- /dev/null +++ b/.note/current_focus.md @@ -0,0 +1,13 @@ +# Current Focus + +## Recent Changes +- Added list-repos command +- Implemented search-repos with advanced filters: + - Query search (name/description/both) + - Private status filtering + - Pagination support + +## Next Steps +- Add more repository management features +- Implement issue tracking commands +- Add CI/CD pipeline integration diff --git a/.note/project_overview.md b/.note/project_overview.md new file mode 100644 index 0000000..337ce6b --- /dev/null +++ b/.note/project_overview.md @@ -0,0 +1,14 @@ +# Gitea CLI Project Overview + +## Purpose +Command line interface for interacting with Gitea servers: +- Repository management +- Repository search with advanced filtering +- Visibility toggling +- Git remote configuration + +## Architecture +- Python CLI built with Click +- REST API client for Gitea +- Modular design with separate API and CLI layers +- Configuration via env vars or CLI args diff --git a/.note/session_log.md b/.note/session_log.md new file mode 100644 index 0000000..ab633d0 --- /dev/null +++ b/.note/session_log.md @@ -0,0 +1,9 @@ +# Session Log + +## 2024-04-14 +- Enhanced search-repos command behavior +- Simplified CLI help output +- Updated README documentation +- Created memory bank system +- Added project overview documentation +- Documented current focus and next steps