bcdock v0.4.0
bcdock v0.4.0
Beta CLI. Surface and JSON shapes may change between releases - see CHANGELOG.md for what moved.
Install:
go install github.com/bcdock/cli/cmd/bcdock@v0.4.0
Or download an archive below and put the bcdock binary on PATH.
Changes in this release
Added
-
With
-o json, a failed command writes one JSON object to stderr instead of
theerror: ...line, so a script or an agent can act on the failure without
parsing text:{"error":"invalid_state","message":"invalid_state: Only running environments can be hibernated (current status: hibernated).","exitCode":1,"status":400}erroris the API's own code when it sent one (not_found,invalid_state,
invalid_input, ...), otherwise one of a small documented set (timeout,
network,cli_error, and the API's status names).messageis the text the
line would have shown, andstatusappears only for an API error. The exit code
is unchanged, stdout stays empty, and table and CSV output keep the text line.
See the exit-codes page for the full list.
Full changelog: CHANGELOG.md
Report issues: support@bcdock.io · Security: see SECURITY.md