CLISetup
How to
Create sumr.yaml
Write the repo config that CLI workflows read.
What changes
sumr init writes the sumr.yaml file used by Playbook sources and enabled AI Channels. Run it once per repo, then adjust workflow-specific config as the repo grows.
When this helps
- A repository has no
sumr.yamlyet. - Playbook needs explicit docs source paths.
- You want a repeatable repo setup step before workflow-specific commands.
Run this command
sumr init# create config interactivelysumr init --yes# use defaultssumr init --source docs,standards# set docs pathsFlags you can use
--source <paths>Set comma-separated Playbook source folders, such as docs or docs,standards.
--yesSkip prompts and create or update sumr.yaml with defaults. Use in scripts only when overwriting is expected.
--help, -hShow the command syntax, supported flags, and examples without changing files.
Keep in mind
- Do not run this blindly in a dirty repo if a hand-authored
sumr.yamlalready exists. - After changing Playbook source paths, run
sumr playbook statusto confirm the repo sees them.