Flags
For the spec file format, configuration fields, IDE setup, and dry run output, see Declarative Spec.
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
Apply a JSON spec with the S2 CLI to create or update basins and streams, with a dry run before making changes.
s2 apply -f spec.json
| Flag | Description |
|---|---|
-f, --file | Path to the JSON spec file (required unless --schema is used) |
--dry-run | Preview changes without making any mutations |
--schema | Print the JSON Schema for the spec format to stdout |
