TenkaCloud Docs

CLI reference Stable

The tenkacloud pack CLI is the offline pack tool. Every command runs locally with no cloud or remote calls. The command table below is normative reference parsed from the CLI's own usage strings, so the documented command names and options always match the code.

Commands

CommandUsage
activatetenkacloud pack activate <id@version> --tenant <t> [--store <dir>]
deactivatetenkacloud pack deactivate <id@version> --tenant <t> [--store <dir>]
inittenkacloud pack init <dir> [--runtime <provider/engine>]
inspecttenkacloud pack inspect <id@version> [--store <dir>] [--json]
installtenkacloud pack install <dir> [--store <dir>]\n
listtenkacloud pack list [--store <dir>] [--json]
removetenkacloud pack remove <id@version> [--store <dir>] [--pins <file>]
validatetenkacloud pack validate <dir> [--json]

Exit codes

The exit-code contract is shared by every subcommand:

  • 0 — success (valid pack / scaffolded / installed / listed / inspected / removed)
  • 1 — refusal (validation failure / digest or compose conflict / not installed / pinned removal)
  • 2 — tool failure (missing dir / missing manifest / bad usage / unsafe init target / unsupported runtime / missing flag value)

There is deliberately no update command: a new version is a separate install.

Example

The example below is illustrative, not normative.

tenkacloud pack init ./my-pack --runtime aws/cloudformation
tenkacloud pack validate ./my-pack --json
tenkacloud pack install ./my-pack

Related: validation error reference.