workflow: fix package version extraction using pacman -Qp
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
# AGENTS.md
|
||||
|
||||
## Project Overview
|
||||
- **Project**: rscli - Python CLI for a social network API
|
||||
- **Entry point**: `rcli` command (defined in pyproject.toml as `rscli.main:app`)
|
||||
- **Python version**: >= 3.14
|
||||
- **Dependencies**: prettytable, requests, typer
|
||||
|
||||
## Running the CLI
|
||||
```bash
|
||||
rcli --help # Show commands
|
||||
rcli version # Show version
|
||||
rcli login # Login to API
|
||||
rcli api_uri <url> # Set API URI
|
||||
```
|
||||
|
||||
## Configuration
|
||||
- Config stored at: `~/.config/rs-cli/config.json`
|
||||
- Contains: `token`, `API_URI`
|
||||
|
||||
## Development
|
||||
- Install locally: `pip install -e .` or use `uv pip install -e .`
|
||||
- Project uses **uv** for dependency management (see uv.lock)
|
||||
|
||||
## CI/Build
|
||||
- Gitea workflows in `.gitea/workflows/build.yml`
|
||||
- Builds Arch Linux package (.pkg.tar.zst)
|
||||
- Publishes releases to Gitea
|
||||
|
||||
## Available Skills
|
||||
- python-patterns
|
||||
- python-testing-patterns
|
||||
- python-executor
|
||||
|
||||
## Notes
|
||||
- No test suite currently exists in the repo
|
||||
- Config class supports dot-notation paths (e.g., `config.get("token")`)
|
||||
Reference in New Issue
Block a user