Skip to main content
Run simile --help to see the command list and simile COMMAND --help for every accepted argument. This page maps those commands to the task they perform.

Global options

Global options may appear before or after a command. Machine-readable output never contains ANSI escapes. Command results go to standard output; diagnostics and progress go to standard error.

Environment and definition

Execute and reproduce operations

run accepts exactly one contract source and one operation selector. Use --operation-id ID for the contract token or --operation "METHOD /path" for the structural key. --request accepts inline JSON, a JSON file path, or - for standard input. When omitted, Simile constructs and validates a request from the contract.

Manage services

Set SIMILE_HOME to isolate the registry, profiles, reports, and persisted state for a developer, test job, or container.

Manage caller profiles

Learn and report

Exit and output behavior

Simile returns a nonzero status for invalid input, compilation failure, failed verification, or a test command that failed. simile test returns the child command’s status. A closed output pipe is treated as a normal terminal condition, which keeps commands safe to use with tools such as head, jq, and pagers.