src reference
Generate a comprehensive reference of all src commands.
By default, outputs formatted markdown to stdout. Use --skill to generate
a SKILL.md file suitable for AI agent consumption.
Usage
src reference [flags]
Examples
Print reference to stdout
src reference
Generate SKILL.md file
src reference --skill SKILL.md
Generate SKILL.md to a specific path
src reference --skill ./docs/SKILL.md
Flags
| Flag | Description |
|---|---|
--skill string |
Generate SKILL.md file at specified path |
Inherited flags
| Flag | Description |
|---|---|
--env string |
Override Sourcecraft environment (use 'src envs' to list available) |
--json string |
Output JSON, optionally filtered (--json or --json=field1,field2) |
--json-compact string |
Output compact JSON, optionally filtered |
--plain |
Output without colors/styling (for LLM consumption) |
-R, --repo string |
Select another repository using OWNER/REPO format |
-V, --verbose |
Enable debug logging output |
Learn more
Use src reference <subcommand> --help for more information about a command.