CLI Documentation

Uses: Insomnia Inso CLI

Global Flags

  • -v, --version: output the version number
  • -w, --workingDir <dir>: set working directory/file: .insomnia folder, *.db.json, export.yaml
  • --verbose: show additional logs while running the command
  • --ci: run in CI, disables all prompts, defaults to false
  • --config <path>: path to configuration file containing above options (.insorc)
  • --printOptions: print the loaded options

Commands

  • run: Execution utilities
  • lint: Lint a yaml file in the workingDir or the provided file path (with .spectral.yml) or a spec in an Insomnia database directory
  • export: Export data from insomnia models
  • script: Run scripts defined in .insorc
  • generate-docs: No description available

Subcommands

  • run test: Run Insomnia unit test suites, identifier can be a test suite id or a API Spec id
  • run collection: Run Insomnia request collection, identifier can be a workspace id

Subcommands

  • lint spec: Lint an API Specification, identifier can be an API Spec id or a file path

Subcommands

  • export spec: Export an API Specification to a file, identifier can be an API Spec id
Something wrong?

Help us make these docs great!

Kong Developer docs are open source. If you find these useful and want to make them better, contribute today!