CLI Command Reference
This reference guide provides in-depth information about the Inso CLI commands.
Command Overview
Command |
Description |
inso run test |
Execute unit tests written in Insomnia via a CLI. |
inso run collection |
Run Insomnia request collection via a CLI. |
inso lint spec |
Lint an OpenAPI specification (the latest version supports OpenAPI 3.1) via a CLI. (Custom Lint Ruleset support is in progress). |
inso export spec |
Export the raw OpenAPI specification from the Insomnia data store. |
inso script |
Execute any scripts defined in the Inso CLI configuration file. |
Global Flags
Option |
Alias |
Description |
--output <path> |
-o |
Save the specification to a file in the working directory. |
--workingDir <path> |
-w |
Specify a working directory/file, to find .insomnia folder, *.db.json, export.yaml |