CLI_USAGE_INVALID
- Exit code
- 1
Cause
The invocation did not parse: an unknown command or flag, a flag missing its value, a required positional missing or supplied twice, an out-of-range value, or malformed --body-json.
Fix
Read the Cause: clause, which names the exact token at fault, then run the command with --help to list what it accepts. splitch with no arguments prints the supported command paths. A flag the CLI does not recognize may be one a newer release added: the remediation names the installed version, and npm install --global @splitch/cli@latest upgrades it. Until then, send the field in --body-json, which the CLI passes to the API without checking it against its own bundled contract.
splitch