[[command]]
name = "inso"
description = "Insomnia CLI — runs Insomnia collections / generates configs. `run test` executes test suites (network + JS test scripts). `generate config` produces a config file from a spec (project-local SafeWrite). `lint spec` validates an OpenAPI spec (read). `script` runs a saved Insomnia script (executes user JS)."
url = "https://docs.insomnia.rest/inso-cli/install"
researched_version = "inso 8.x"
bare_flags = ["--help", "--version", "-h", "-v"]

[[command.sub]]
name = "version"
standalone = ["--help", "-h"]

[[command.sub]]
name = "lint"
nested_bare = false

[[command.sub.sub]]
name = "spec"
standalone = ["--help", "-h"]
valued = ["--src", "--working-dir", "-w"]

[[command.sub]]
name = "generate"
nested_bare = false

[[command.sub.sub]]
name = "config"
standalone = ["--help", "-h"]
valued = ["--src", "--type", "--output", "--working-dir", "-o", "-t", "-w"]

[[command.sub]]
name = "completion"
level = "Inert"
bare = false
tolerate_unknown_short = true
standalone = ["--help", "-h"]

[[command.sub]]
name = "help"
allow_all = true

[[command.sub]]
name = "run"
candidate = true

[[command.sub]]
name = "script"
candidate = true

[[command.sub]]
name = "export"
candidate = true
