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 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> |
|
Specify a working directory. |
--src <path> |
|
Specify the V4 export file or the Insomnia app data directory. You can use this option to set a Git data directory. If not specified, inso-cli looks for an .insomnia folder in the working directory by default. |