CLI
The Soustack CLI provides command-line tools for working with Soustack recipes. Install it globally or use it via npx.
Installation
Install the Soustack CLI package:
npm install -g soustack@latestOr use it directly with npx:
npx soustack@latest <command>Common Tasks
Validate a recipe
Check if a recipe conforms to the Soustack specification:
soustack validate recipe.jsonTest recipes
Run validation tests on recipe files:
soustack test tests/Convert recipe formats
Convert between Schema.org and Soustack formats:
soustack convert --from schemaorg --to soustack input.json -o output.jsonScale recipes
Scale recipe quantities to different serving sizes:
soustack scale recipe.json --servings 8Check recipe conformance
Verify recipe conformance to specific profiles:
soustack check recipe.json --profile scalableImport and ingest
Import recipes from external sources or ingest from various formats:
soustack import source.jsonsoustack ingest recipes/Reference Documentation
For complete command reference and options, see the CLI Reference.