All apps/CALM CLI

CALM CLI

calm-cli

A command line interface to interact with the CALM schema.

Runs as calm|macOS, Linux, Windows|github.com

Command form

ai-draft · 2 tasks · 10 fields

Generate an architecture from a pattern, or validate CALM documents. Docify, template, diff and CalmHub options are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui calm-cli

calm generate

Generate architecture
Generate architectureExample values, fixed in this page — nothing here reaches a terminal
Basic
Pattern file*
file
Output file
file
TasksEach one presets the form for one job
Generate from pattern
patternoutput
ParametersOnly these flags are editable in the form
Pattern file
path
--pattern-p
Output file
Defaults to architecture.json.
path
--output-o
Verbose
boolean
--verbose-v

calm validate

Validate documents
Validate documentsExample values, fixed in this page — nothing here reaches a terminal
Basic
Architecture file*
file
Pattern file
file
Output format
3 choicesenum
Fail on warnings
--strict
TasksEach one presets the form for one job
Validate architecture against pattern
architecturepatternformatstrict
ParametersOnly these flags are editable in the form
Architecture file
path
--architecture-a
Pattern file
path
--pattern-p
Timeline file
path
--timeline
Output format
enum
--format-fjsonjunitpretty
Fail on warnings
boolean
--strict
Output file
path
--output-o
Verbose
boolean
--verbose-v
SourcesEvery flag above is checked against these
readme
Usage: calm generate [options] Generate an architecture from a CALM pattern file. -p, --pattern Path to the pattern file to use. May be a file path or a URL. -o, --output Path location at which to output the generated file. (default: "architecture.json") -v, --verbose Enable verbose logging. (default: false)
manual2026-10-27

raw.githubusercontent.com

readme
Usage: calm validate [options] Validate a CALM document. -p, --pattern Path to the pattern file to use. May be a file path or a URL. -a, --architecture Path to the architecture file to use. May be a file path or a URL. --timeline Path to the timeline file to validate. May be a file path or a URL. --strict When run…
manual2026-10-27

raw.githubusercontent.com

Before it fills your prompt, Otty checks the installed calm against its version. A form that does not match your version is not offered.