Added memory bank
This commit is contained in:
parent
acd4a5f707
commit
3b10ef4e4f
|
@ -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()
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
Loading…
Reference in New Issue