Packages › trotsky › Trotsky › save
Trotsky.save() method
Adds a StepSave step.
Signature:
typescript
save(path?: StepSavePath): this;
Parameters
Parameter | Type | Description |
---|---|---|
path | (Optional) The path of the JSON file to save the output. If not provided, the file path will be created using the current step name. |
Returns:
this
The current Trotsky instance.