kapi ls
kapi ls [path...]List the files matched by the project's content collections (honoring the exclude list). With --stats, also show per-file block and word counts.
In a server-connected project (a recipe with a server: block, with the bowrain plugin installed) a SYNC column reports each file's pending-push standing ("2 to push" / "synced"), derived from the sync cache.
kapi ls kapi ls src/ kapi ls --stats
Try it
Runs in your browser against a small sample file. Edit the command before running, or press Run to execute it as shown.
kapi lsFlags
| Flag | Type | Default | Description |
|---|---|---|---|
| --color | string | auto | colorize output: auto, always, never |
| --jq | string | filter JSON output through a jq expression (implies --json) | |
| --json | bool | false | Output in JSON format |
| --output-format | string | Output format: text (alias: table), json, yaml | |
| --project, -p | string | path to a kapi.yaml project recipe or its directory (auto-discovered from cwd if omitted) | |
| --stats, -s | bool | false | show per-file block and word counts |
| --text | bool | false | Output in text format (default) |
← Back to the Command Reference