Skip to content
Registry StackDocsv0.38.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.38.0 and catalog SHA-256 cd13c658f65af295f9df3c6db86dc045ac06e9e040afc1f5f5b27c3184ab653d. Hidden implementation commands are omitted.

evidencectl source mock generate [OPTIONS] [PROJECT]
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 --seed <SEED> cannot be used together.
Command invocation--config <CONFIG> and [PROJECT] cannot be used together.
Command invocation--openapi <OPENAPI> and [PROJECT] cannot be used together.
ArgumentAlways requiredDefaultValuesEnvironmentDescription
[PROJECT]Non/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.
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
--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>NoNohumanhumann/aSelect human-readable output; this command provides no JSON report
-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.