Skip to content

Unsupported Command Contract

Show the readable failure contract for an unsupported top-level pk3s command.

Repository-local command

cd productive-k3s-cli
bash -lc 'set +e; ./pk3s unsupported-command; code=$?; printf "\n[expected-exit] %s\n" "${code}"; test "${code}" -ne 0'

Cast preview

Scenario details

Show the readable failure contract for an unsupported top-level pk3s command.

Use this when you want to confirm that:

  • unsupported commands fail with a non-zero exit status
  • the CLI still prints a readable top-level usage summary
  • the negative path is explicit and operator-friendly