Scaffold CLI tool for working with brand-guidelines #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@agent I would like to do the MVP scaffolding of a python based CLI tool to interact with the brad/brand-guidelines schema. the tool will read and interact with the brand.json file
I would like it to be based on the same pattern as commune/bloc - use that as a reference for scaffolding
brand-guidelines itself is in flux. so we really only want to do a very basic implementation here (curious on your thoughts for MVP)
The minimum functionality:
sigildigitech/brand)for now, keep the MVP to those basic fields as the schema is very early alpha WIP. we should focus on the base of this tool for a start
Implementation Plan
Pattern: Following commune/bloc structure (typer + httpx + rich + pydantic)
MVP Scope (keeping minimal since brand-guidelines is in flux):
Commands
```bash
Show metadata (default)
sigil brad/brand-guidelines
Query sections
sigil brad/brand-guidelines colors
sigil brad/brand-guidelines palettes
sigil brad/brand-guidelines logos
```
What it does
What it doesn't do (future)
Structure:
```
src/sigil/
cli.py # Main app + commands
client.py # Forgejo API client
models.py # Pydantic models from brand.schema.json
output.py # Rich formatting
```
Authentication: Assumes `FORGEJO_TOKEN` env var (same as bloc)
Starting implementation now. Will create PR when complete.
✅ Implementation complete
MVP scaffolding is done and ready for review.
PR: #2
Branch:
scaffold-mvpAll core functionality implemented:
Ready for testing and feedback.