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@latest

Or 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.json

Test 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.json

Scale recipes

Scale recipe quantities to different serving sizes:

soustack scale recipe.json --servings 8

Check recipe conformance

Verify recipe conformance to specific profiles:

soustack check recipe.json --profile scalable

Import and ingest

Import recipes from external sources or ingest from various formats:

soustack import source.json
soustack ingest recipes/

Reference Documentation

For complete command reference and options, see the CLI Reference.