nopy: add init command with bundled NOPY.LLM.md guide
`nopy init` writes a starter .nopyrc.json and NOPY.LLM.md — an LLM-facing usage guide covering cubes, config, variables, sessions, and pyinfra — into the working directory. Existing files are skipped unless --force. The guide ships as dist/templates/NOPY.LLM.md, resolved relative to the module so it works from source and from an installed package alike. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ce5atB2tXDXyz2jd9s1bqE
This commit is contained in:
co-authored by
Claude Fable 5
parent
4fa69cce0d
commit
f1cc9effa0
@@ -501,6 +501,19 @@ pnpm --filter @bitsquare/nopy run nopy # runs the CLI from source via tsx
|
||||
|
||||
### Basic Commands
|
||||
|
||||
**Start a new project**:
|
||||
|
||||
```bash
|
||||
nopy init
|
||||
```
|
||||
|
||||
Writes two files into the current directory and touches nothing that already
|
||||
exists (`--force` overwrites): a starter `.nopyrc.json` — the file without
|
||||
which `nopy install` refuses to run — and `NOPY.LLM.md`, a bundled usage guide
|
||||
written for AI assistants. Point your coding agent at it (or let it discover
|
||||
the file) and it can answer nopy questions, write cubes, and plan deployments
|
||||
from project-local context instead of guessing.
|
||||
|
||||
**Install cubes (default command)**:
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user