CLI Decision Guide¶
Use this page when you are unsure which command to run.
Validate vs Lint¶
- Use
spec validatewhen you need schema correctness and exit-code failure on invalid specs. - Use
spec lintwhen you want quality warnings that do not fail valid specs.
Render vs Preview¶
- Use
spec renderwhen you need reproducible output files. - Use
spec previewwhen you need a quick local browser view while editing content.
Status vs Inspect¶
- Use
spec statusfor campaign and quality-warning context. - Use
spec inspectfor normalized metadata summary.
Themes commands¶
themes list: discover available built-in themes.themes show <name|path>: inspect built-in theme metadata or custom package metadata.themes init <target>: scaffold a minimal custom theme.themes validate <path>: check manifest/template/assets + render smoke test.
Single-job exports vs feeds¶
spec export: one JobSpec into one target format.feed export: many JobSpecs into one feed artifact.feed sitemap: generatesitemap.xmlfor discoverability.
Fast troubleshooting¶
- Run
doctorfirst for environment/setup issues. - Run
spec validatebeforespec renderor exports. - Use
render-troubleshootingfor output/layout issues.