CLI Reference#
The metasmith CLI groups commands into nested subcommand verbs.
Run metasmith COMMAND --help (or metasmith COMMAND ACTION
--help) for full flag listings. Every command accepts --json
for machine-readable output; progress logs are routed to stderr in
that mode so stdout stays clean.
A. Global#
Flag |
Purpose |
|---|---|
|
Emit machine-readable JSON on stdout |
|
Workspace dir for cached tasks (env: |
|
Suppress non-essential output |
|
Print version and exit |
B. Types#
Command |
Purpose |
|---|---|
|
All types, optionally |
|
Full details for one type |
|
Structural subtyping check |
|
Write a new types YAML |
|
Append a type to an existing YAML ( |
C. Data instance libraries#
D. Transform libraries#
Command |
Purpose |
|---|---|
|
List transforms across libraries |
|
Summarize transform libraries |
|
Inputs, outputs, group_by, resources |
|
Dump the |
|
Write/overwrite a transform |
|
Emit a typed skeleton |
|
Reload + validate the contract resolves |
|
Copy type libs into the transform lib |
E. Workflow planning#
Command |
Purpose |
|---|---|
|
Plan and cache; returns |
`` –target-type T … –transform-library L …`` |
|
|
List cached tasks in workspace |
|
Plan + targets for one task |
|
|
|
Render the DAG, returns the file path |
|
Remove a cached task |
F. Agents#
Command |
Purpose |
|---|---|
|
Summarize a set of agent YAMLs |
|
Full state + config presets |
|
Write an agent YAML |
|
Cheap reachability probe |
|
One-time deploy (uses SSH if remote) |
G. Lifecycle / execution#
H. Source / Logistics#
Command |
Purpose |
|---|---|
|
Parse |
|
Probe reachability |
|
Logistics-backed copy |
I. Build#
Command |
Purpose |
|---|---|
|
Default: run types → uniques → transforms |
|
Just load + report type libraries |
|
Compile only unique resource libraries |
|
Compile only transform libraries |