Skip to content
Registry StackDocsv0.34.0

evidencectl source mock generate command reference

View as Markdown

Materialize or extend editable mock cases from OpenAPI.

This page is generated from the public Clap command tree for Registry Stack source version 0.34.0 and catalog SHA-256 521175a69262e60df96745886392348e5bb8d82e63cdd24bdf4baa80d46e5ff4. Hidden implementation commands are omitted.

evidencectl source mock generate [OPTIONS]
ConditionRequirement
--output <OUTPUT> is present--openapi <OPENAPI> is required.
--case <CASE> is present--operation <OPERATION> is required.
--path-parameter <PATH_PARAMETERS> is present--operation <OPERATION> is required.
Command invocation--as-of <AS_OF> and --config <CONFIG> cannot be used together.
Command invocation--config <CONFIG> and --openapi <OPENAPI> cannot be used together.
Command invocation--config <CONFIG> and --output <OUTPUT> cannot be used together.
Command invocation--config <CONFIG> and --project <PROJECT> cannot be used together.
Command invocation--config <CONFIG> and --seed <SEED> cannot be used together.
Command invocation--openapi <OPENAPI> and --project <PROJECT> cannot be used together.
OptionAlways requiredRepeatableDefaultValuesEnvironmentDescription
--openapi <OPENAPI>NoNon/an/an/aOpenAPI document for initial standalone materialization
--config <CONFIG>NoNon/an/an/aExisting editable configuration to complete or extend
--output <OUTPUT>NoNon/an/an/aInitial configuration path. Defaults to mocks/source.yaml
--project <PROJECT>NoNon/an/an/aEvidence project directory; defaults to the current directory. This command needs an editable project: one holding questions/ and sources/ beside evidence-project.yaml.
--operation <OPERATION>NoNon/an/an/aSelect one METHOD /path/template operation
--case <CASE>NoNon/an/an/aStarter or appended case name for the selected operation
--path-parameter <PATH_PARAMETERS>NoYesn/an/an/aConcrete selected-operation path parameter as NAME=VALUE; repeat as needed
--seed <SEED>NoNon/an/an/aDeterministic unsigned generation seed for a new plan. Defaults to zero
--as-of <AS_OF>NoNon/an/an/aCalendar date used only by explicit or inferred age generation
--explainNoNon/an/an/aExplain generator choices without printing generated or authored values
--format <output_format>NoNohumanhuman, jsonn/aSelect human-readable or machine-readable output
-h, --helpNoNon/an/an/aPrint help (see a summary with ‘-h’)

Run npm run generate from docs/site after changing a public command, argument, option, default, environment binding, or help description.