cli-project-scaffoldinglisted
Install: claude install-skill dbtinoy-/lexigram-framework-skills
# CLI Project Scaffolding
## Overview
The `lexigram new` and `lexigram init` commands create project skeletons. `lexigram add` installs and configures extension packages.
## Creating a Project
```bash
lexigram new project my-app # web-api template (default)
lexigram new project my-app --template api # JSON API only
lexigram new project my-app --template full # web + db + auth + cache
lexigram new project my-app --interactive # prompts: template, DB (sqlite/postgres/none), auth (none/jwt)
```
Flags: `--template/-t`, `--directory/-d`, `--interactive/-i`.
## Scaffolding an Extension
```bash
lexigram new package my-feature # → lexigram-my-feature/
```
Generates: `src/lexigram/my_feature/__init__.py` + `di/provider.py`, plus `pyproject.toml`, `README.md`, and a `tests/unit/test_provider.py`.
## Adopting Lexigram in Existing Projects
```bash
lexigram init # minimal application.yaml
lexigram init --full # all sections (web, db, auth, cache...)
lexigram init --force # overwrite existing config
```
## Adding Packages
```bash
lexigram add database # installs package + database: config block
lexigram add auth # installs package + auth: config block
```
Available providers: `database`, `auth`, `ai`, `cache`, `queue`, `messaging`, `notification`, `events`, `search`, `storage`, `monitor`, `tasks`, `graph