| index 66a23d5e3..39e24f262 100644 |
| --- a/testdata/clireg-golden.jsonl |
| +++ b/testdata/clireg-golden.jsonl |
| @@ -128,21 +128,21 @@ |
| {"case":"bootstrap | --zz-unknown-flag","argv":["bootstrap","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos bootstrap [flags]\nflags:\n --offcloud off-cloud box: require a staged 0600 credentials file instead of an EC2 instance profile\n --plan-json with -root: print the arming plan as JSON on stdout instead of the human summary\n --root <string> install root; a staging dir writes files only (no user creation, no systemctl) (default: /)\n --socket-consumer <value> host-app user to enroll in the carlos-sockets group (repeatable); members may dial every instance socket on the box\n"} |
| {"case":"bootstrap | -h","argv":["bootstrap","-h"],"exit":0,"stdout":"","stderr":"usage: carlos bootstrap [flags]\nflags:\n --offcloud off-cloud box: require a staged 0600 credentials file instead of an EC2 instance profile\n --plan-json with -root: print the arming plan as JSON on stdout instead of the human summary\n --root <string> install root; a staging dir writes files only (no user creation, no systemctl) (default: /)\n --socket-consumer <value> host-app user to enroll in the carlos-sockets group (repeatable); members may dial every instance socket on the box\n"} |
| {"case":"canary ./site | extra","argv":["canary","./site"],"exit":1,"stdout":"","stderr":"not in a git repository — pass --version\n"} |
| -{"case":"canary delete | --zz-unknown-flag","argv":["canary","delete","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos canary [deploy] --app <a> [--name <n>] [--version <sha>] [--kind binary|static]\n [--region <code>] [--environment <e>] [--target <goos-goarch>] [--label <l>]\n [--timeout 120s] <files-or-site-dir>\n carlos canary ls --app <a>\n carlos canary rm --app <a> --name <n>\n\nShips a version and serves it on its own host, following its own canary/<name>\nchannel, without touching what the app's other instances serve. The bare form\nis deploy.\n\n--name defaults to the current git branch, slugified. The canary's host is\n<name>-<app>.<your account's platform domain>, and its channel is\ncanary/<name>.\n\n--environment binds the canary to one of the app's named config bundles.\nReach for it whenever the app carries config: bundles are per-app, so without\none the canary serves values naming the app's MAIN host, and anything keyed to\na single origin — the Origin header the app compares against, magic-link URLs,\na WebAuthn RP ID, the cookie Secure flag — refuses requests on the canary host\nwhile GETs look healthy. \"carlos env --app <a> --environment <e> KEY=V\" writes\na bundle; this flag points the canary at it.\n\nPromotion into a canary is never refused, and a canary costs no rung: a build\nthat has been on one still enters the pipeline as a fresh build, so canarying\nand then promoting to edge is the ordinary path, not a bypass.\n\nCanaries carry a seven-day lease, refreshed by every re-promote. \"canary ls\"\nshows what is left of it.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app the canary belongs to\n --console <string> console to remove through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --name <string> canary name to remove\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"} |
| -{"case":"canary delete | -h","argv":["canary","delete","-h"],"exit":0,"stdout":"","stderr":"usage: carlos canary [deploy] --app <a> [--name <n>] [--version <sha>] [--kind binary|static]\n [--region <code>] [--environment <e>] [--target <goos-goarch>] [--label <l>]\n [--timeout 120s] <files-or-site-dir>\n carlos canary ls --app <a>\n carlos canary rm --app <a> --name <n>\n\nShips a version and serves it on its own host, following its own canary/<name>\nchannel, without touching what the app's other instances serve. The bare form\nis deploy.\n\n--name defaults to the current git branch, slugified. The canary's host is\n<name>-<app>.<your account's platform domain>, and its channel is\ncanary/<name>.\n\n--environment binds the canary to one of the app's named config bundles.\nReach for it whenever the app carries config: bundles are per-app, so without\none the canary serves values naming the app's MAIN host, and anything keyed to\na single origin — the Origin header the app compares against, magic-link URLs,\na WebAuthn RP ID, the cookie Secure flag — refuses requests on the canary host\nwhile GETs look healthy. \"carlos env --app <a> --environment <e> KEY=V\" writes\na bundle; this flag points the canary at it.\n\nPromotion into a canary is never refused, and a canary costs no rung: a build\nthat has been on one still enters the pipeline as a fresh build, so canarying\nand then promoting to edge is the ordinary path, not a bypass.\n\nCanaries carry a seven-day lease, refreshed by every re-promote. \"canary ls\"\nshows what is left of it.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app the canary belongs to\n --console <string> console to remove through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --name <string> canary name to remove\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"} |
| -{"case":"canary deploy | --zz-unknown-flag","argv":["canary","deploy","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos canary [deploy] --app <a> [--name <n>] [--version <sha>] [--kind binary|static]\n [--region <code>] [--environment <e>] [--target <goos-goarch>] [--label <l>]\n [--timeout 120s] <files-or-site-dir>\n carlos canary ls --app <a>\n carlos canary rm --app <a> --name <n>\n\nShips a version and serves it on its own host, following its own canary/<name>\nchannel, without touching what the app's other instances serve. The bare form\nis deploy.\n\n--name defaults to the current git branch, slugified. The canary's host is\n<name>-<app>.<your account's platform domain>, and its channel is\ncanary/<name>.\n\n--environment binds the canary to one of the app's named config bundles.\nReach for it whenever the app carries config: bundles are per-app, so without\none the canary serves values naming the app's MAIN host, and anything keyed to\na single origin — the Origin header the app compares against, magic-link URLs,\na WebAuthn RP ID, the cookie Secure flag — refuses requests on the canary host\nwhile GETs look healthy. \"carlos env --app <a> --environment <e> KEY=V\" writes\na bundle; this flag points the canary at it.\n\nPromotion into a canary is never refused, and a canary costs no rung: a build\nthat has been on one still enters the pipeline as a fresh build, so canarying\nand then promoting to edge is the ordinary path, not a bypass.\n\nCanaries carry a seven-day lease, refreshed by every re-promote. \"canary ls\"\nshows what is left of it.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app to canary\n --console <string> console to deploy through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --environment <string> named config bundle the canary binds to (default: the app's default bundle)\n --kind <string> binary | static (default: binary)\n --label <string> one line for humans — shows up in carlos releases and in the console\n --name <string> canary name (default: the current git branch, slugified)\n --region <string> region for the canary instance (default: the app's region)\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n --scope <string> the team scope that owns --environment, named explicitly (carlos env adopt)\n --target <string> GOOS-GOARCH the binary was built for (binary kind, single file) (default: linux-arm64)\n --timeout <duration> how long to watch the canary URL before failing (default: 2m0s)\n --version, -v <string> version (default: git rev-parse --short HEAD)\n"} |
| -{"case":"canary deploy | -h","argv":["canary","deploy","-h"],"exit":0,"stdout":"","stderr":"usage: carlos canary [deploy] --app <a> [--name <n>] [--version <sha>] [--kind binary|static]\n [--region <code>] [--environment <e>] [--target <goos-goarch>] [--label <l>]\n [--timeout 120s] <files-or-site-dir>\n carlos canary ls --app <a>\n carlos canary rm --app <a> --name <n>\n\nShips a version and serves it on its own host, following its own canary/<name>\nchannel, without touching what the app's other instances serve. The bare form\nis deploy.\n\n--name defaults to the current git branch, slugified. The canary's host is\n<name>-<app>.<your account's platform domain>, and its channel is\ncanary/<name>.\n\n--environment binds the canary to one of the app's named config bundles.\nReach for it whenever the app carries config: bundles are per-app, so without\none the canary serves values naming the app's MAIN host, and anything keyed to\na single origin — the Origin header the app compares against, magic-link URLs,\na WebAuthn RP ID, the cookie Secure flag — refuses requests on the canary host\nwhile GETs look healthy. \"carlos env --app <a> --environment <e> KEY=V\" writes\na bundle; this flag points the canary at it.\n\nPromotion into a canary is never refused, and a canary costs no rung: a build\nthat has been on one still enters the pipeline as a fresh build, so canarying\nand then promoting to edge is the ordinary path, not a bypass.\n\nCanaries carry a seven-day lease, refreshed by every re-promote. \"canary ls\"\nshows what is left of it.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app to canary\n --console <string> console to deploy through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --environment <string> named config bundle the canary binds to (default: the app's default bundle)\n --kind <string> binary | static (default: binary)\n --label <string> one line for humans — shows up in carlos releases and in the console\n --name <string> canary name (default: the current git branch, slugified)\n --region <string> region for the canary instance (default: the app's region)\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n --scope <string> the team scope that owns --environment, named explicitly (carlos env adopt)\n --target <string> GOOS-GOARCH the binary was built for (binary kind, single file) (default: linux-arm64)\n --timeout <duration> how long to watch the canary URL before failing (default: 2m0s)\n --version, -v <string> version (default: git rev-parse --short HEAD)\n"} |
| -{"case":"canary list -h | extra","argv":["canary","list","-h"],"exit":0,"stdout":"","stderr":"usage: carlos canary [deploy] --app <a> [--name <n>] [--version <sha>] [--kind binary|static]\n [--region <code>] [--environment <e>] [--target <goos-goarch>] [--label <l>]\n [--timeout 120s] <files-or-site-dir>\n carlos canary ls --app <a>\n carlos canary rm --app <a> --name <n>\n\nShips a version and serves it on its own host, following its own canary/<name>\nchannel, without touching what the app's other instances serve. The bare form\nis deploy.\n\n--name defaults to the current git branch, slugified. The canary's host is\n<name>-<app>.<your account's platform domain>, and its channel is\ncanary/<name>.\n\n--environment binds the canary to one of the app's named config bundles.\nReach for it whenever the app carries config: bundles are per-app, so without\none the canary serves values naming the app's MAIN host, and anything keyed to\na single origin — the Origin header the app compares against, magic-link URLs,\na WebAuthn RP ID, the cookie Secure flag — refuses requests on the canary host\nwhile GETs look healthy. \"carlos env --app <a> --environment <e> KEY=V\" writes\na bundle; this flag points the canary at it.\n\nPromotion into a canary is never refused, and a canary costs no rung: a build\nthat has been on one still enters the pipeline as a fresh build, so canarying\nand then promoting to edge is the ordinary path, not a bypass.\n\nCanaries carry a seven-day lease, refreshed by every re-promote. \"canary ls\"\nshows what is left of it.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app whose canaries to list\n --console <string> console to read through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"} |
| -{"case":"canary list | --zz-unknown-flag","argv":["canary","list","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos canary [deploy] --app <a> [--name <n>] [--version <sha>] [--kind binary|static]\n [--region <code>] [--environment <e>] [--target <goos-goarch>] [--label <l>]\n [--timeout 120s] <files-or-site-dir>\n carlos canary ls --app <a>\n carlos canary rm --app <a> --name <n>\n\nShips a version and serves it on its own host, following its own canary/<name>\nchannel, without touching what the app's other instances serve. The bare form\nis deploy.\n\n--name defaults to the current git branch, slugified. The canary's host is\n<name>-<app>.<your account's platform domain>, and its channel is\ncanary/<name>.\n\n--environment binds the canary to one of the app's named config bundles.\nReach for it whenever the app carries config: bundles are per-app, so without\none the canary serves values naming the app's MAIN host, and anything keyed to\na single origin — the Origin header the app compares against, magic-link URLs,\na WebAuthn RP ID, the cookie Secure flag — refuses requests on the canary host\nwhile GETs look healthy. \"carlos env --app <a> --environment <e> KEY=V\" writes\na bundle; this flag points the canary at it.\n\nPromotion into a canary is never refused, and a canary costs no rung: a build\nthat has been on one still enters the pipeline as a fresh build, so canarying\nand then promoting to edge is the ordinary path, not a bypass.\n\nCanaries carry a seven-day lease, refreshed by every re-promote. \"canary ls\"\nshows what is left of it.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app whose canaries to list\n --console <string> console to read through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"} |
| -{"case":"canary list | -h","argv":["canary","list","-h"],"exit":0,"stdout":"","stderr":"usage: carlos canary [deploy] --app <a> [--name <n>] [--version <sha>] [--kind binary|static]\n [--region <code>] [--environment <e>] [--target <goos-goarch>] [--label <l>]\n [--timeout 120s] <files-or-site-dir>\n carlos canary ls --app <a>\n carlos canary rm --app <a> --name <n>\n\nShips a version and serves it on its own host, following its own canary/<name>\nchannel, without touching what the app's other instances serve. The bare form\nis deploy.\n\n--name defaults to the current git branch, slugified. The canary's host is\n<name>-<app>.<your account's platform domain>, and its channel is\ncanary/<name>.\n\n--environment binds the canary to one of the app's named config bundles.\nReach for it whenever the app carries config: bundles are per-app, so without\none the canary serves values naming the app's MAIN host, and anything keyed to\na single origin — the Origin header the app compares against, magic-link URLs,\na WebAuthn RP ID, the cookie Secure flag — refuses requests on the canary host\nwhile GETs look healthy. \"carlos env --app <a> --environment <e> KEY=V\" writes\na bundle; this flag points the canary at it.\n\nPromotion into a canary is never refused, and a canary costs no rung: a build\nthat has been on one still enters the pipeline as a fresh build, so canarying\nand then promoting to edge is the ordinary path, not a bypass.\n\nCanaries carry a seven-day lease, refreshed by every re-promote. \"canary ls\"\nshows what is left of it.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app whose canaries to list\n --console <string> console to read through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"} |
| -{"case":"canary ls | --zz-unknown-flag","argv":["canary","ls","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos canary [deploy] --app <a> [--name <n>] [--version <sha>] [--kind binary|static]\n [--region <code>] [--environment <e>] [--target <goos-goarch>] [--label <l>]\n [--timeout 120s] <files-or-site-dir>\n carlos canary ls --app <a>\n carlos canary rm --app <a> --name <n>\n\nShips a version and serves it on its own host, following its own canary/<name>\nchannel, without touching what the app's other instances serve. The bare form\nis deploy.\n\n--name defaults to the current git branch, slugified. The canary's host is\n<name>-<app>.<your account's platform domain>, and its channel is\ncanary/<name>.\n\n--environment binds the canary to one of the app's named config bundles.\nReach for it whenever the app carries config: bundles are per-app, so without\none the canary serves values naming the app's MAIN host, and anything keyed to\na single origin — the Origin header the app compares against, magic-link URLs,\na WebAuthn RP ID, the cookie Secure flag — refuses requests on the canary host\nwhile GETs look healthy. \"carlos env --app <a> --environment <e> KEY=V\" writes\na bundle; this flag points the canary at it.\n\nPromotion into a canary is never refused, and a canary costs no rung: a build\nthat has been on one still enters the pipeline as a fresh build, so canarying\nand then promoting to edge is the ordinary path, not a bypass.\n\nCanaries carry a seven-day lease, refreshed by every re-promote. \"canary ls\"\nshows what is left of it.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app whose canaries to list\n --console <string> console to read through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"} |
| -{"case":"canary ls | -h","argv":["canary","ls","-h"],"exit":0,"stdout":"","stderr":"usage: carlos canary [deploy] --app <a> [--name <n>] [--version <sha>] [--kind binary|static]\n [--region <code>] [--environment <e>] [--target <goos-goarch>] [--label <l>]\n [--timeout 120s] <files-or-site-dir>\n carlos canary ls --app <a>\n carlos canary rm --app <a> --name <n>\n\nShips a version and serves it on its own host, following its own canary/<name>\nchannel, without touching what the app's other instances serve. The bare form\nis deploy.\n\n--name defaults to the current git branch, slugified. The canary's host is\n<name>-<app>.<your account's platform domain>, and its channel is\ncanary/<name>.\n\n--environment binds the canary to one of the app's named config bundles.\nReach for it whenever the app carries config: bundles are per-app, so without\none the canary serves values naming the app's MAIN host, and anything keyed to\na single origin — the Origin header the app compares against, magic-link URLs,\na WebAuthn RP ID, the cookie Secure flag — refuses requests on the canary host\nwhile GETs look healthy. \"carlos env --app <a> --environment <e> KEY=V\" writes\na bundle; this flag points the canary at it.\n\nPromotion into a canary is never refused, and a canary costs no rung: a build\nthat has been on one still enters the pipeline as a fresh build, so canarying\nand then promoting to edge is the ordinary path, not a bypass.\n\nCanaries carry a seven-day lease, refreshed by every re-promote. \"canary ls\"\nshows what is left of it.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app whose canaries to list\n --console <string> console to read through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"} |
| -{"case":"canary rm | --zz-unknown-flag","argv":["canary","rm","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos canary [deploy] --app <a> [--name <n>] [--version <sha>] [--kind binary|static]\n [--region <code>] [--environment <e>] [--target <goos-goarch>] [--label <l>]\n [--timeout 120s] <files-or-site-dir>\n carlos canary ls --app <a>\n carlos canary rm --app <a> --name <n>\n\nShips a version and serves it on its own host, following its own canary/<name>\nchannel, without touching what the app's other instances serve. The bare form\nis deploy.\n\n--name defaults to the current git branch, slugified. The canary's host is\n<name>-<app>.<your account's platform domain>, and its channel is\ncanary/<name>.\n\n--environment binds the canary to one of the app's named config bundles.\nReach for it whenever the app carries config: bundles are per-app, so without\none the canary serves values naming the app's MAIN host, and anything keyed to\na single origin — the Origin header the app compares against, magic-link URLs,\na WebAuthn RP ID, the cookie Secure flag — refuses requests on the canary host\nwhile GETs look healthy. \"carlos env --app <a> --environment <e> KEY=V\" writes\na bundle; this flag points the canary at it.\n\nPromotion into a canary is never refused, and a canary costs no rung: a build\nthat has been on one still enters the pipeline as a fresh build, so canarying\nand then promoting to edge is the ordinary path, not a bypass.\n\nCanaries carry a seven-day lease, refreshed by every re-promote. \"canary ls\"\nshows what is left of it.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app the canary belongs to\n --console <string> console to remove through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --name <string> canary name to remove\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"} |
| -{"case":"canary rm | -h","argv":["canary","rm","-h"],"exit":0,"stdout":"","stderr":"usage: carlos canary [deploy] --app <a> [--name <n>] [--version <sha>] [--kind binary|static]\n [--region <code>] [--environment <e>] [--target <goos-goarch>] [--label <l>]\n [--timeout 120s] <files-or-site-dir>\n carlos canary ls --app <a>\n carlos canary rm --app <a> --name <n>\n\nShips a version and serves it on its own host, following its own canary/<name>\nchannel, without touching what the app's other instances serve. The bare form\nis deploy.\n\n--name defaults to the current git branch, slugified. The canary's host is\n<name>-<app>.<your account's platform domain>, and its channel is\ncanary/<name>.\n\n--environment binds the canary to one of the app's named config bundles.\nReach for it whenever the app carries config: bundles are per-app, so without\none the canary serves values naming the app's MAIN host, and anything keyed to\na single origin — the Origin header the app compares against, magic-link URLs,\na WebAuthn RP ID, the cookie Secure flag — refuses requests on the canary host\nwhile GETs look healthy. \"carlos env --app <a> --environment <e> KEY=V\" writes\na bundle; this flag points the canary at it.\n\nPromotion into a canary is never refused, and a canary costs no rung: a build\nthat has been on one still enters the pipeline as a fresh build, so canarying\nand then promoting to edge is the ordinary path, not a bypass.\n\nCanaries carry a seven-day lease, refreshed by every re-promote. \"canary ls\"\nshows what is left of it.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app the canary belongs to\n --console <string> console to remove through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --name <string> canary name to remove\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"} |
| -{"case":"canary | --help","argv":["canary","--help"],"exit":0,"stdout":"","stderr":"usage: carlos canary [deploy] --app <a> [--name <n>] [--version <sha>] [--kind binary|static]\n [--region <code>] [--environment <e>] [--target <goos-goarch>] [--label <l>]\n [--timeout 120s] <files-or-site-dir>\n carlos canary ls --app <a>\n carlos canary rm --app <a> --name <n>\n\nShips a version and serves it on its own host, following its own canary/<name>\nchannel, without touching what the app's other instances serve. The bare form\nis deploy.\n\n--name defaults to the current git branch, slugified. The canary's host is\n<name>-<app>.<your account's platform domain>, and its channel is\ncanary/<name>.\n\n--environment binds the canary to one of the app's named config bundles.\nReach for it whenever the app carries config: bundles are per-app, so without\none the canary serves values naming the app's MAIN host, and anything keyed to\na single origin — the Origin header the app compares against, magic-link URLs,\na WebAuthn RP ID, the cookie Secure flag — refuses requests on the canary host\nwhile GETs look healthy. \"carlos env --app <a> --environment <e> KEY=V\" writes\na bundle; this flag points the canary at it.\n\nPromotion into a canary is never refused, and a canary costs no rung: a build\nthat has been on one still enters the pipeline as a fresh build, so canarying\nand then promoting to edge is the ordinary path, not a bypass.\n\nCanaries carry a seven-day lease, refreshed by every re-promote. \"canary ls\"\nshows what is left of it.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app to canary\n --console <string> console to deploy through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --environment <string> named config bundle the canary binds to (default: the app's default bundle)\n --kind <string> binary | static (default: binary)\n --label <string> one line for humans — shows up in carlos releases and in the console\n --name <string> canary name (default: the current git branch, slugified)\n --region <string> region for the canary instance (default: the app's region)\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n --scope <string> the team scope that owns --environment, named explicitly (carlos env adopt)\n --target <string> GOOS-GOARCH the binary was built for (binary kind, single file) (default: linux-arm64)\n --timeout <duration> how long to watch the canary URL before failing (default: 2m0s)\n --version, -v <string> version (default: git rev-parse --short HEAD)\n"} |
| -{"case":"canary | --zz-unknown-flag","argv":["canary","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos canary [deploy] --app <a> [--name <n>] [--version <sha>] [--kind binary|static]\n [--region <code>] [--environment <e>] [--target <goos-goarch>] [--label <l>]\n [--timeout 120s] <files-or-site-dir>\n carlos canary ls --app <a>\n carlos canary rm --app <a> --name <n>\n\nShips a version and serves it on its own host, following its own canary/<name>\nchannel, without touching what the app's other instances serve. The bare form\nis deploy.\n\n--name defaults to the current git branch, slugified. The canary's host is\n<name>-<app>.<your account's platform domain>, and its channel is\ncanary/<name>.\n\n--environment binds the canary to one of the app's named config bundles.\nReach for it whenever the app carries config: bundles are per-app, so without\none the canary serves values naming the app's MAIN host, and anything keyed to\na single origin — the Origin header the app compares against, magic-link URLs,\na WebAuthn RP ID, the cookie Secure flag — refuses requests on the canary host\nwhile GETs look healthy. \"carlos env --app <a> --environment <e> KEY=V\" writes\na bundle; this flag points the canary at it.\n\nPromotion into a canary is never refused, and a canary costs no rung: a build\nthat has been on one still enters the pipeline as a fresh build, so canarying\nand then promoting to edge is the ordinary path, not a bypass.\n\nCanaries carry a seven-day lease, refreshed by every re-promote. \"canary ls\"\nshows what is left of it.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app to canary\n --console <string> console to deploy through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --environment <string> named config bundle the canary binds to (default: the app's default bundle)\n --kind <string> binary | static (default: binary)\n --label <string> one line for humans — shows up in carlos releases and in the console\n --name <string> canary name (default: the current git branch, slugified)\n --region <string> region for the canary instance (default: the app's region)\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n --scope <string> the team scope that owns --environment, named explicitly (carlos env adopt)\n --target <string> GOOS-GOARCH the binary was built for (binary kind, single file) (default: linux-arm64)\n --timeout <duration> how long to watch the canary URL before failing (default: 2m0s)\n --version, -v <string> version (default: git rev-parse --short HEAD)\n"} |
| -{"case":"canary | -h","argv":["canary","-h"],"exit":0,"stdout":"","stderr":"usage: carlos canary [deploy] --app <a> [--name <n>] [--version <sha>] [--kind binary|static]\n [--region <code>] [--environment <e>] [--target <goos-goarch>] [--label <l>]\n [--timeout 120s] <files-or-site-dir>\n carlos canary ls --app <a>\n carlos canary rm --app <a> --name <n>\n\nShips a version and serves it on its own host, following its own canary/<name>\nchannel, without touching what the app's other instances serve. The bare form\nis deploy.\n\n--name defaults to the current git branch, slugified. The canary's host is\n<name>-<app>.<your account's platform domain>, and its channel is\ncanary/<name>.\n\n--environment binds the canary to one of the app's named config bundles.\nReach for it whenever the app carries config: bundles are per-app, so without\none the canary serves values naming the app's MAIN host, and anything keyed to\na single origin — the Origin header the app compares against, magic-link URLs,\na WebAuthn RP ID, the cookie Secure flag — refuses requests on the canary host\nwhile GETs look healthy. \"carlos env --app <a> --environment <e> KEY=V\" writes\na bundle; this flag points the canary at it.\n\nPromotion into a canary is never refused, and a canary costs no rung: a build\nthat has been on one still enters the pipeline as a fresh build, so canarying\nand then promoting to edge is the ordinary path, not a bypass.\n\nCanaries carry a seven-day lease, refreshed by every re-promote. \"canary ls\"\nshows what is left of it.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app to canary\n --console <string> console to deploy through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --environment <string> named config bundle the canary binds to (default: the app's default bundle)\n --kind <string> binary | static (default: binary)\n --label <string> one line for humans — shows up in carlos releases and in the console\n --name <string> canary name (default: the current git branch, slugified)\n --region <string> region for the canary instance (default: the app's region)\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n --scope <string> the team scope that owns --environment, named explicitly (carlos env adopt)\n --target <string> GOOS-GOARCH the binary was built for (binary kind, single file) (default: linux-arm64)\n --timeout <duration> how long to watch the canary URL before failing (default: 2m0s)\n --version, -v <string> version (default: git rev-parse --short HEAD)\n"} |
| -{"case":"canary | bare","argv":["canary"],"exit":1,"stdout":"","stderr":"usage: carlos canary [deploy] --app <a> [--name <n>] [--version <sha>] [--kind binary|static]\n [--region <code>] [--environment <e>] [--target <goos-goarch>] [--label <l>]\n [--timeout 120s] <files-or-site-dir>\n carlos canary ls --app <a>\n carlos canary rm --app <a> --name <n>\n\nShips a version and serves it on its own host, following its own canary/<name>\nchannel, without touching what the app's other instances serve. The bare form\nis deploy.\n\n--name defaults to the current git branch, slugified. The canary's host is\n<name>-<app>.<your account's platform domain>, and its channel is\ncanary/<name>.\n\n--environment binds the canary to one of the app's named config bundles.\nReach for it whenever the app carries config: bundles are per-app, so without\none the canary serves values naming the app's MAIN host, and anything keyed to\na single origin — the Origin header the app compares against, magic-link URLs,\na WebAuthn RP ID, the cookie Secure flag — refuses requests on the canary host\nwhile GETs look healthy. \"carlos env --app <a> --environment <e> KEY=V\" writes\na bundle; this flag points the canary at it.\n\nPromotion into a canary is never refused, and a canary costs no rung: a build\nthat has been on one still enters the pipeline as a fresh build, so canarying\nand then promoting to edge is the ordinary path, not a bypass.\n\nCanaries carry a seven-day lease, refreshed by every re-promote. \"canary ls\"\nshows what is left of it.\n"} |
| +{"case":"canary delete | --zz-unknown-flag","argv":["canary","delete","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos canary [deploy] --app <a> [--name <n>] [--version <sha>] [--kind binary|static]\n [--region <code>] [--environment <e>] [--target <goos-goarch>] [--label <l>]\n [--mail submit] [--timeout 120s] <files-or-site-dir>\n carlos canary ls --app <a>\n carlos canary rm --app <a> --name <n>\n\nShips a version and serves it on its own host, following its own canary/<name>\nchannel, without touching what the app's other instances serve. The bare form\nis deploy.\n\n--name defaults to the current git branch, slugified. The canary's host is\n<name>-<app>.<your account's platform domain>, and its channel is\ncanary/<name>.\n\n--environment binds the canary to one of the app's named config bundles.\nReach for it whenever the app carries config: bundles are per-app, so without\none the canary serves values naming the app's MAIN host, and anything keyed to\na single origin — the Origin header the app compares against, magic-link URLs,\na WebAuthn RP ID, the cookie Secure flag — refuses requests on the canary host\nwhile GETs look healthy. \"carlos env --app <a> --environment <e> KEY=V\" writes\na bundle; this flag points the canary at it.\n\nPromotion into a canary is allowed from any rung, unless email submission is\non and the build lacks --mail submit. A canary costs no rung: a build that has\nbeen on one still enters the pipeline as a fresh build, so canarying and then\npromoting to edge is the ordinary path, not a bypass.\n\nCanaries carry a seven-day lease, refreshed by every re-promote. \"canary ls\"\nshows what is left of it.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app the canary belongs to\n --console <string> console to remove through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --name <string> canary name to remove\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"} |
| +{"case":"canary delete | -h","argv":["canary","delete","-h"],"exit":0,"stdout":"","stderr":"usage: carlos canary [deploy] --app <a> [--name <n>] [--version <sha>] [--kind binary|static]\n [--region <code>] [--environment <e>] [--target <goos-goarch>] [--label <l>]\n [--mail submit] [--timeout 120s] <files-or-site-dir>\n carlos canary ls --app <a>\n carlos canary rm --app <a> --name <n>\n\nShips a version and serves it on its own host, following its own canary/<name>\nchannel, without touching what the app's other instances serve. The bare form\nis deploy.\n\n--name defaults to the current git branch, slugified. The canary's host is\n<name>-<app>.<your account's platform domain>, and its channel is\ncanary/<name>.\n\n--environment binds the canary to one of the app's named config bundles.\nReach for it whenever the app carries config: bundles are per-app, so without\none the canary serves values naming the app's MAIN host, and anything keyed to\na single origin — the Origin header the app compares against, magic-link URLs,\na WebAuthn RP ID, the cookie Secure flag — refuses requests on the canary host\nwhile GETs look healthy. \"carlos env --app <a> --environment <e> KEY=V\" writes\na bundle; this flag points the canary at it.\n\nPromotion into a canary is allowed from any rung, unless email submission is\non and the build lacks --mail submit. A canary costs no rung: a build that has\nbeen on one still enters the pipeline as a fresh build, so canarying and then\npromoting to edge is the ordinary path, not a bypass.\n\nCanaries carry a seven-day lease, refreshed by every re-promote. \"canary ls\"\nshows what is left of it.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app the canary belongs to\n --console <string> console to remove through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --name <string> canary name to remove\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"} |
| +{"case":"canary deploy | --zz-unknown-flag","argv":["canary","deploy","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos canary [deploy] --app <a> [--name <n>] [--version <sha>] [--kind binary|static]\n [--region <code>] [--environment <e>] [--target <goos-goarch>] [--label <l>]\n [--mail submit] [--timeout 120s] <files-or-site-dir>\n carlos canary ls --app <a>\n carlos canary rm --app <a> --name <n>\n\nShips a version and serves it on its own host, following its own canary/<name>\nchannel, without touching what the app's other instances serve. The bare form\nis deploy.\n\n--name defaults to the current git branch, slugified. The canary's host is\n<name>-<app>.<your account's platform domain>, and its channel is\ncanary/<name>.\n\n--environment binds the canary to one of the app's named config bundles.\nReach for it whenever the app carries config: bundles are per-app, so without\none the canary serves values naming the app's MAIN host, and anything keyed to\na single origin — the Origin header the app compares against, magic-link URLs,\na WebAuthn RP ID, the cookie Secure flag — refuses requests on the canary host\nwhile GETs look healthy. \"carlos env --app <a> --environment <e> KEY=V\" writes\na bundle; this flag points the canary at it.\n\nPromotion into a canary is allowed from any rung, unless email submission is\non and the build lacks --mail submit. A canary costs no rung: a build that has\nbeen on one still enters the pipeline as a fresh build, so canarying and then\npromoting to edge is the ordinary path, not a bypass.\n\nCanaries carry a seven-day lease, refreshed by every re-promote. \"canary ls\"\nshows what is left of it.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app to canary\n --console <string> console to deploy through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --environment <string> named config bundle the canary binds to (default: the app's default bundle)\n --kind <string> binary | static (default: binary)\n --label <string> one line for humans — shows up in carlos releases and in the console\n --mail <string> declare this build's mail transport. the one value is submit: the build sends through carlos's submission socket when CARLOS_MAIL=submit is set\n --name <string> canary name (default: the current git branch, slugified)\n --region <string> region for the canary instance (default: the app's region)\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n --scope <string> the team scope that owns --environment, named explicitly (carlos env adopt)\n --target <string> GOOS-GOARCH the binary was built for (binary kind, single file) (default: linux-arm64)\n --timeout <duration> how long to watch the canary URL before failing (default: 2m0s)\n --version, -v <string> version (default: git rev-parse --short HEAD)\n"} |
| +{"case":"canary deploy | -h","argv":["canary","deploy","-h"],"exit":0,"stdout":"","stderr":"usage: carlos canary [deploy] --app <a> [--name <n>] [--version <sha>] [--kind binary|static]\n [--region <code>] [--environment <e>] [--target <goos-goarch>] [--label <l>]\n [--mail submit] [--timeout 120s] <files-or-site-dir>\n carlos canary ls --app <a>\n carlos canary rm --app <a> --name <n>\n\nShips a version and serves it on its own host, following its own canary/<name>\nchannel, without touching what the app's other instances serve. The bare form\nis deploy.\n\n--name defaults to the current git branch, slugified. The canary's host is\n<name>-<app>.<your account's platform domain>, and its channel is\ncanary/<name>.\n\n--environment binds the canary to one of the app's named config bundles.\nReach for it whenever the app carries config: bundles are per-app, so without\none the canary serves values naming the app's MAIN host, and anything keyed to\na single origin — the Origin header the app compares against, magic-link URLs,\na WebAuthn RP ID, the cookie Secure flag — refuses requests on the canary host\nwhile GETs look healthy. \"carlos env --app <a> --environment <e> KEY=V\" writes\na bundle; this flag points the canary at it.\n\nPromotion into a canary is allowed from any rung, unless email submission is\non and the build lacks --mail submit. A canary costs no rung: a build that has\nbeen on one still enters the pipeline as a fresh build, so canarying and then\npromoting to edge is the ordinary path, not a bypass.\n\nCanaries carry a seven-day lease, refreshed by every re-promote. \"canary ls\"\nshows what is left of it.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app to canary\n --console <string> console to deploy through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --environment <string> named config bundle the canary binds to (default: the app's default bundle)\n --kind <string> binary | static (default: binary)\n --label <string> one line for humans — shows up in carlos releases and in the console\n --mail <string> declare this build's mail transport. the one value is submit: the build sends through carlos's submission socket when CARLOS_MAIL=submit is set\n --name <string> canary name (default: the current git branch, slugified)\n --region <string> region for the canary instance (default: the app's region)\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n --scope <string> the team scope that owns --environment, named explicitly (carlos env adopt)\n --target <string> GOOS-GOARCH the binary was built for (binary kind, single file) (default: linux-arm64)\n --timeout <duration> how long to watch the canary URL before failing (default: 2m0s)\n --version, -v <string> version (default: git rev-parse --short HEAD)\n"} |
| +{"case":"canary list -h | extra","argv":["canary","list","-h"],"exit":0,"stdout":"","stderr":"usage: carlos canary [deploy] --app <a> [--name <n>] [--version <sha>] [--kind binary|static]\n [--region <code>] [--environment <e>] [--target <goos-goarch>] [--label <l>]\n [--mail submit] [--timeout 120s] <files-or-site-dir>\n carlos canary ls --app <a>\n carlos canary rm --app <a> --name <n>\n\nShips a version and serves it on its own host, following its own canary/<name>\nchannel, without touching what the app's other instances serve. The bare form\nis deploy.\n\n--name defaults to the current git branch, slugified. The canary's host is\n<name>-<app>.<your account's platform domain>, and its channel is\ncanary/<name>.\n\n--environment binds the canary to one of the app's named config bundles.\nReach for it whenever the app carries config: bundles are per-app, so without\none the canary serves values naming the app's MAIN host, and anything keyed to\na single origin — the Origin header the app compares against, magic-link URLs,\na WebAuthn RP ID, the cookie Secure flag — refuses requests on the canary host\nwhile GETs look healthy. \"carlos env --app <a> --environment <e> KEY=V\" writes\na bundle; this flag points the canary at it.\n\nPromotion into a canary is allowed from any rung, unless email submission is\non and the build lacks --mail submit. A canary costs no rung: a build that has\nbeen on one still enters the pipeline as a fresh build, so canarying and then\npromoting to edge is the ordinary path, not a bypass.\n\nCanaries carry a seven-day lease, refreshed by every re-promote. \"canary ls\"\nshows what is left of it.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app whose canaries to list\n --console <string> console to read through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"} |
| +{"case":"canary list | --zz-unknown-flag","argv":["canary","list","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos canary [deploy] --app <a> [--name <n>] [--version <sha>] [--kind binary|static]\n [--region <code>] [--environment <e>] [--target <goos-goarch>] [--label <l>]\n [--mail submit] [--timeout 120s] <files-or-site-dir>\n carlos canary ls --app <a>\n carlos canary rm --app <a> --name <n>\n\nShips a version and serves it on its own host, following its own canary/<name>\nchannel, without touching what the app's other instances serve. The bare form\nis deploy.\n\n--name defaults to the current git branch, slugified. The canary's host is\n<name>-<app>.<your account's platform domain>, and its channel is\ncanary/<name>.\n\n--environment binds the canary to one of the app's named config bundles.\nReach for it whenever the app carries config: bundles are per-app, so without\none the canary serves values naming the app's MAIN host, and anything keyed to\na single origin — the Origin header the app compares against, magic-link URLs,\na WebAuthn RP ID, the cookie Secure flag — refuses requests on the canary host\nwhile GETs look healthy. \"carlos env --app <a> --environment <e> KEY=V\" writes\na bundle; this flag points the canary at it.\n\nPromotion into a canary is allowed from any rung, unless email submission is\non and the build lacks --mail submit. A canary costs no rung: a build that has\nbeen on one still enters the pipeline as a fresh build, so canarying and then\npromoting to edge is the ordinary path, not a bypass.\n\nCanaries carry a seven-day lease, refreshed by every re-promote. \"canary ls\"\nshows what is left of it.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app whose canaries to list\n --console <string> console to read through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"} |
| +{"case":"canary list | -h","argv":["canary","list","-h"],"exit":0,"stdout":"","stderr":"usage: carlos canary [deploy] --app <a> [--name <n>] [--version <sha>] [--kind binary|static]\n [--region <code>] [--environment <e>] [--target <goos-goarch>] [--label <l>]\n [--mail submit] [--timeout 120s] <files-or-site-dir>\n carlos canary ls --app <a>\n carlos canary rm --app <a> --name <n>\n\nShips a version and serves it on its own host, following its own canary/<name>\nchannel, without touching what the app's other instances serve. The bare form\nis deploy.\n\n--name defaults to the current git branch, slugified. The canary's host is\n<name>-<app>.<your account's platform domain>, and its channel is\ncanary/<name>.\n\n--environment binds the canary to one of the app's named config bundles.\nReach for it whenever the app carries config: bundles are per-app, so without\none the canary serves values naming the app's MAIN host, and anything keyed to\na single origin — the Origin header the app compares against, magic-link URLs,\na WebAuthn RP ID, the cookie Secure flag — refuses requests on the canary host\nwhile GETs look healthy. \"carlos env --app <a> --environment <e> KEY=V\" writes\na bundle; this flag points the canary at it.\n\nPromotion into a canary is allowed from any rung, unless email submission is\non and the build lacks --mail submit. A canary costs no rung: a build that has\nbeen on one still enters the pipeline as a fresh build, so canarying and then\npromoting to edge is the ordinary path, not a bypass.\n\nCanaries carry a seven-day lease, refreshed by every re-promote. \"canary ls\"\nshows what is left of it.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app whose canaries to list\n --console <string> console to read through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"} |
| +{"case":"canary ls | --zz-unknown-flag","argv":["canary","ls","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos canary [deploy] --app <a> [--name <n>] [--version <sha>] [--kind binary|static]\n [--region <code>] [--environment <e>] [--target <goos-goarch>] [--label <l>]\n [--mail submit] [--timeout 120s] <files-or-site-dir>\n carlos canary ls --app <a>\n carlos canary rm --app <a> --name <n>\n\nShips a version and serves it on its own host, following its own canary/<name>\nchannel, without touching what the app's other instances serve. The bare form\nis deploy.\n\n--name defaults to the current git branch, slugified. The canary's host is\n<name>-<app>.<your account's platform domain>, and its channel is\ncanary/<name>.\n\n--environment binds the canary to one of the app's named config bundles.\nReach for it whenever the app carries config: bundles are per-app, so without\none the canary serves values naming the app's MAIN host, and anything keyed to\na single origin — the Origin header the app compares against, magic-link URLs,\na WebAuthn RP ID, the cookie Secure flag — refuses requests on the canary host\nwhile GETs look healthy. \"carlos env --app <a> --environment <e> KEY=V\" writes\na bundle; this flag points the canary at it.\n\nPromotion into a canary is allowed from any rung, unless email submission is\non and the build lacks --mail submit. A canary costs no rung: a build that has\nbeen on one still enters the pipeline as a fresh build, so canarying and then\npromoting to edge is the ordinary path, not a bypass.\n\nCanaries carry a seven-day lease, refreshed by every re-promote. \"canary ls\"\nshows what is left of it.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app whose canaries to list\n --console <string> console to read through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"} |
| +{"case":"canary ls | -h","argv":["canary","ls","-h"],"exit":0,"stdout":"","stderr":"usage: carlos canary [deploy] --app <a> [--name <n>] [--version <sha>] [--kind binary|static]\n [--region <code>] [--environment <e>] [--target <goos-goarch>] [--label <l>]\n [--mail submit] [--timeout 120s] <files-or-site-dir>\n carlos canary ls --app <a>\n carlos canary rm --app <a> --name <n>\n\nShips a version and serves it on its own host, following its own canary/<name>\nchannel, without touching what the app's other instances serve. The bare form\nis deploy.\n\n--name defaults to the current git branch, slugified. The canary's host is\n<name>-<app>.<your account's platform domain>, and its channel is\ncanary/<name>.\n\n--environment binds the canary to one of the app's named config bundles.\nReach for it whenever the app carries config: bundles are per-app, so without\none the canary serves values naming the app's MAIN host, and anything keyed to\na single origin — the Origin header the app compares against, magic-link URLs,\na WebAuthn RP ID, the cookie Secure flag — refuses requests on the canary host\nwhile GETs look healthy. \"carlos env --app <a> --environment <e> KEY=V\" writes\na bundle; this flag points the canary at it.\n\nPromotion into a canary is allowed from any rung, unless email submission is\non and the build lacks --mail submit. A canary costs no rung: a build that has\nbeen on one still enters the pipeline as a fresh build, so canarying and then\npromoting to edge is the ordinary path, not a bypass.\n\nCanaries carry a seven-day lease, refreshed by every re-promote. \"canary ls\"\nshows what is left of it.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app whose canaries to list\n --console <string> console to read through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"} |
| +{"case":"canary rm | --zz-unknown-flag","argv":["canary","rm","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos canary [deploy] --app <a> [--name <n>] [--version <sha>] [--kind binary|static]\n [--region <code>] [--environment <e>] [--target <goos-goarch>] [--label <l>]\n [--mail submit] [--timeout 120s] <files-or-site-dir>\n carlos canary ls --app <a>\n carlos canary rm --app <a> --name <n>\n\nShips a version and serves it on its own host, following its own canary/<name>\nchannel, without touching what the app's other instances serve. The bare form\nis deploy.\n\n--name defaults to the current git branch, slugified. The canary's host is\n<name>-<app>.<your account's platform domain>, and its channel is\ncanary/<name>.\n\n--environment binds the canary to one of the app's named config bundles.\nReach for it whenever the app carries config: bundles are per-app, so without\none the canary serves values naming the app's MAIN host, and anything keyed to\na single origin — the Origin header the app compares against, magic-link URLs,\na WebAuthn RP ID, the cookie Secure flag — refuses requests on the canary host\nwhile GETs look healthy. \"carlos env --app <a> --environment <e> KEY=V\" writes\na bundle; this flag points the canary at it.\n\nPromotion into a canary is allowed from any rung, unless email submission is\non and the build lacks --mail submit. A canary costs no rung: a build that has\nbeen on one still enters the pipeline as a fresh build, so canarying and then\npromoting to edge is the ordinary path, not a bypass.\n\nCanaries carry a seven-day lease, refreshed by every re-promote. \"canary ls\"\nshows what is left of it.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app the canary belongs to\n --console <string> console to remove through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --name <string> canary name to remove\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"} |
| +{"case":"canary rm | -h","argv":["canary","rm","-h"],"exit":0,"stdout":"","stderr":"usage: carlos canary [deploy] --app <a> [--name <n>] [--version <sha>] [--kind binary|static]\n [--region <code>] [--environment <e>] [--target <goos-goarch>] [--label <l>]\n [--mail submit] [--timeout 120s] <files-or-site-dir>\n carlos canary ls --app <a>\n carlos canary rm --app <a> --name <n>\n\nShips a version and serves it on its own host, following its own canary/<name>\nchannel, without touching what the app's other instances serve. The bare form\nis deploy.\n\n--name defaults to the current git branch, slugified. The canary's host is\n<name>-<app>.<your account's platform domain>, and its channel is\ncanary/<name>.\n\n--environment binds the canary to one of the app's named config bundles.\nReach for it whenever the app carries config: bundles are per-app, so without\none the canary serves values naming the app's MAIN host, and anything keyed to\na single origin — the Origin header the app compares against, magic-link URLs,\na WebAuthn RP ID, the cookie Secure flag — refuses requests on the canary host\nwhile GETs look healthy. \"carlos env --app <a> --environment <e> KEY=V\" writes\na bundle; this flag points the canary at it.\n\nPromotion into a canary is allowed from any rung, unless email submission is\non and the build lacks --mail submit. A canary costs no rung: a build that has\nbeen on one still enters the pipeline as a fresh build, so canarying and then\npromoting to edge is the ordinary path, not a bypass.\n\nCanaries carry a seven-day lease, refreshed by every re-promote. \"canary ls\"\nshows what is left of it.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app the canary belongs to\n --console <string> console to remove through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --name <string> canary name to remove\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"} |
| +{"case":"canary | --help","argv":["canary","--help"],"exit":0,"stdout":"","stderr":"usage: carlos canary [deploy] --app <a> [--name <n>] [--version <sha>] [--kind binary|static]\n [--region <code>] [--environment <e>] [--target <goos-goarch>] [--label <l>]\n [--mail submit] [--timeout 120s] <files-or-site-dir>\n carlos canary ls --app <a>\n carlos canary rm --app <a> --name <n>\n\nShips a version and serves it on its own host, following its own canary/<name>\nchannel, without touching what the app's other instances serve. The bare form\nis deploy.\n\n--name defaults to the current git branch, slugified. The canary's host is\n<name>-<app>.<your account's platform domain>, and its channel is\ncanary/<name>.\n\n--environment binds the canary to one of the app's named config bundles.\nReach for it whenever the app carries config: bundles are per-app, so without\none the canary serves values naming the app's MAIN host, and anything keyed to\na single origin — the Origin header the app compares against, magic-link URLs,\na WebAuthn RP ID, the cookie Secure flag — refuses requests on the canary host\nwhile GETs look healthy. \"carlos env --app <a> --environment <e> KEY=V\" writes\na bundle; this flag points the canary at it.\n\nPromotion into a canary is allowed from any rung, unless email submission is\non and the build lacks --mail submit. A canary costs no rung: a build that has\nbeen on one still enters the pipeline as a fresh build, so canarying and then\npromoting to edge is the ordinary path, not a bypass.\n\nCanaries carry a seven-day lease, refreshed by every re-promote. \"canary ls\"\nshows what is left of it.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app to canary\n --console <string> console to deploy through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --environment <string> named config bundle the canary binds to (default: the app's default bundle)\n --kind <string> binary | static (default: binary)\n --label <string> one line for humans — shows up in carlos releases and in the console\n --mail <string> declare this build's mail transport. the one value is submit: the build sends through carlos's submission socket when CARLOS_MAIL=submit is set\n --name <string> canary name (default: the current git branch, slugified)\n --region <string> region for the canary instance (default: the app's region)\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n --scope <string> the team scope that owns --environment, named explicitly (carlos env adopt)\n --target <string> GOOS-GOARCH the binary was built for (binary kind, single file) (default: linux-arm64)\n --timeout <duration> how long to watch the canary URL before failing (default: 2m0s)\n --version, -v <string> version (default: git rev-parse --short HEAD)\n"} |
| +{"case":"canary | --zz-unknown-flag","argv":["canary","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos canary [deploy] --app <a> [--name <n>] [--version <sha>] [--kind binary|static]\n [--region <code>] [--environment <e>] [--target <goos-goarch>] [--label <l>]\n [--mail submit] [--timeout 120s] <files-or-site-dir>\n carlos canary ls --app <a>\n carlos canary rm --app <a> --name <n>\n\nShips a version and serves it on its own host, following its own canary/<name>\nchannel, without touching what the app's other instances serve. The bare form\nis deploy.\n\n--name defaults to the current git branch, slugified. The canary's host is\n<name>-<app>.<your account's platform domain>, and its channel is\ncanary/<name>.\n\n--environment binds the canary to one of the app's named config bundles.\nReach for it whenever the app carries config: bundles are per-app, so without\none the canary serves values naming the app's MAIN host, and anything keyed to\na single origin — the Origin header the app compares against, magic-link URLs,\na WebAuthn RP ID, the cookie Secure flag — refuses requests on the canary host\nwhile GETs look healthy. \"carlos env --app <a> --environment <e> KEY=V\" writes\na bundle; this flag points the canary at it.\n\nPromotion into a canary is allowed from any rung, unless email submission is\non and the build lacks --mail submit. A canary costs no rung: a build that has\nbeen on one still enters the pipeline as a fresh build, so canarying and then\npromoting to edge is the ordinary path, not a bypass.\n\nCanaries carry a seven-day lease, refreshed by every re-promote. \"canary ls\"\nshows what is left of it.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app to canary\n --console <string> console to deploy through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --environment <string> named config bundle the canary binds to (default: the app's default bundle)\n --kind <string> binary | static (default: binary)\n --label <string> one line for humans — shows up in carlos releases and in the console\n --mail <string> declare this build's mail transport. the one value is submit: the build sends through carlos's submission socket when CARLOS_MAIL=submit is set\n --name <string> canary name (default: the current git branch, slugified)\n --region <string> region for the canary instance (default: the app's region)\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n --scope <string> the team scope that owns --environment, named explicitly (carlos env adopt)\n --target <string> GOOS-GOARCH the binary was built for (binary kind, single file) (default: linux-arm64)\n --timeout <duration> how long to watch the canary URL before failing (default: 2m0s)\n --version, -v <string> version (default: git rev-parse --short HEAD)\n"} |
| +{"case":"canary | -h","argv":["canary","-h"],"exit":0,"stdout":"","stderr":"usage: carlos canary [deploy] --app <a> [--name <n>] [--version <sha>] [--kind binary|static]\n [--region <code>] [--environment <e>] [--target <goos-goarch>] [--label <l>]\n [--mail submit] [--timeout 120s] <files-or-site-dir>\n carlos canary ls --app <a>\n carlos canary rm --app <a> --name <n>\n\nShips a version and serves it on its own host, following its own canary/<name>\nchannel, without touching what the app's other instances serve. The bare form\nis deploy.\n\n--name defaults to the current git branch, slugified. The canary's host is\n<name>-<app>.<your account's platform domain>, and its channel is\ncanary/<name>.\n\n--environment binds the canary to one of the app's named config bundles.\nReach for it whenever the app carries config: bundles are per-app, so without\none the canary serves values naming the app's MAIN host, and anything keyed to\na single origin — the Origin header the app compares against, magic-link URLs,\na WebAuthn RP ID, the cookie Secure flag — refuses requests on the canary host\nwhile GETs look healthy. \"carlos env --app <a> --environment <e> KEY=V\" writes\na bundle; this flag points the canary at it.\n\nPromotion into a canary is allowed from any rung, unless email submission is\non and the build lacks --mail submit. A canary costs no rung: a build that has\nbeen on one still enters the pipeline as a fresh build, so canarying and then\npromoting to edge is the ordinary path, not a bypass.\n\nCanaries carry a seven-day lease, refreshed by every re-promote. \"canary ls\"\nshows what is left of it.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app to canary\n --console <string> console to deploy through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --environment <string> named config bundle the canary binds to (default: the app's default bundle)\n --kind <string> binary | static (default: binary)\n --label <string> one line for humans — shows up in carlos releases and in the console\n --mail <string> declare this build's mail transport. the one value is submit: the build sends through carlos's submission socket when CARLOS_MAIL=submit is set\n --name <string> canary name (default: the current git branch, slugified)\n --region <string> region for the canary instance (default: the app's region)\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n --scope <string> the team scope that owns --environment, named explicitly (carlos env adopt)\n --target <string> GOOS-GOARCH the binary was built for (binary kind, single file) (default: linux-arm64)\n --timeout <duration> how long to watch the canary URL before failing (default: 2m0s)\n --version, -v <string> version (default: git rev-parse --short HEAD)\n"} |
| +{"case":"canary | bare","argv":["canary"],"exit":1,"stdout":"","stderr":"usage: carlos canary [deploy] --app <a> [--name <n>] [--version <sha>] [--kind binary|static]\n [--region <code>] [--environment <e>] [--target <goos-goarch>] [--label <l>]\n [--mail submit] [--timeout 120s] <files-or-site-dir>\n carlos canary ls --app <a>\n carlos canary rm --app <a> --name <n>\n\nShips a version and serves it on its own host, following its own canary/<name>\nchannel, without touching what the app's other instances serve. The bare form\nis deploy.\n\n--name defaults to the current git branch, slugified. The canary's host is\n<name>-<app>.<your account's platform domain>, and its channel is\ncanary/<name>.\n\n--environment binds the canary to one of the app's named config bundles.\nReach for it whenever the app carries config: bundles are per-app, so without\none the canary serves values naming the app's MAIN host, and anything keyed to\na single origin — the Origin header the app compares against, magic-link URLs,\na WebAuthn RP ID, the cookie Secure flag — refuses requests on the canary host\nwhile GETs look healthy. \"carlos env --app <a> --environment <e> KEY=V\" writes\na bundle; this flag points the canary at it.\n\nPromotion into a canary is allowed from any rung, unless email submission is\non and the build lacks --mail submit. A canary costs no rung: a build that has\nbeen on one still enters the pipeline as a fresh build, so canarying and then\npromoting to edge is the ordinary path, not a bypass.\n\nCanaries carry a seven-day lease, refreshed by every re-promote. \"canary ls\"\nshows what is left of it.\n"} |
| {"case":"canary | help","argv":["canary","help"],"exit":1,"stdout":"","stderr":"not in a git repository — pass --version\n"} |
| {"case":"canary | zz-unknown","argv":["canary","zz-unknown"],"exit":1,"stdout":"","stderr":"not in a git repository — pass --version\n"} |
| {"case":"channels digests --account-id x on | extra","argv":["channels","digests","--account-id","x","on"],"exit":1,"stdout":"","stderr":"usage: carlos channels digests [on|off] [--account-id <sqid>]...\n"} |
| @@ -200,8 +200,8 @@ |
| {"case":"db | bare","argv":["db"],"exit":2,"stdout":"","stderr":"usage: carlos db <verb> --app <a> [--instance <host>] [flags]\n\n pull --out <path> restore a copy of the instance's database and save it\n at <path>, which must not exist yet (saved 0600)\n query --sql <text> restore a copy and run one read-only query against it;\n rows go to stdout, tab-separated, with a header row\n\nAdd --at <time> to either verb to read the database as it was at that\ntime, for example --at 2026-10-07T14:00:00Z. The copy holds every change\nreplicated before then, so it can be a little older than the time you give.\nHow far back you can go depends on how much history the platform keeps.\n\nBoth read the platform's replica of the database, never the live one, and\nnothing you do to the copy reaches the instance. --instance names which of\nthe app's instances to read; it may be left out when the app has one. The\nusual --account / --account-id / --console / --destination apply.\n"} |
| {"case":"db | help","argv":["db","help"],"exit":0,"stdout":"usage: carlos db <verb> --app <a> [--instance <host>] [flags]\n\n pull --out <path> restore a copy of the instance's database and save it\n at <path>, which must not exist yet (saved 0600)\n query --sql <text> restore a copy and run one read-only query against it;\n rows go to stdout, tab-separated, with a header row\n\nAdd --at <time> to either verb to read the database as it was at that\ntime, for example --at 2026-10-07T14:00:00Z. The copy holds every change\nreplicated before then, so it can be a little older than the time you give.\nHow far back you can go depends on how much history the platform keeps.\n\nBoth read the platform's replica of the database, never the live one, and\nnothing you do to the copy reaches the instance. --instance names which of\nthe app's instances to read; it may be left out when the app has one. The\nusual --account / --account-id / --console / --destination apply.\n","stderr":""} |
| {"case":"db | zz-unknown","argv":["db","zz-unknown"],"exit":2,"stdout":"","stderr":"carlos db: unknown verb \"zz-unknown\"\nusage: carlos db <verb> --app <a> [--instance <host>] [flags]\n\n pull --out <path> restore a copy of the instance's database and save it\n at <path>, which must not exist yet (saved 0600)\n query --sql <text> restore a copy and run one read-only query against it;\n rows go to stdout, tab-separated, with a header row\n\nAdd --at <time> to either verb to read the database as it was at that\ntime, for example --at 2026-10-07T14:00:00Z. The copy holds every change\nreplicated before then, so it can be a little older than the time you give.\nHow far back you can go depends on how much history the platform keeps.\n\nBoth read the platform's replica of the database, never the live one, and\nnothing you do to the copy reaches the instance. --instance names which of\nthe app's instances to read; it may be left out when the app has one. The\nusual --account / --account-id / --console / --destination apply.\n"} |
| -{"case":"deploy | --zz-unknown-flag","argv":["deploy","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos deploy [flags]\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app name\n --assets <value> a folder your build writes files to, for example /assets/. repeat the flag for up to 8 folders. servers near your visitors may keep copies of the files in them\n --capabilities <string> path to a JSON capability block (internal/caps) to embed in the manifest\n --channel, -c <string> channel to promote to (default: resolved from the app's instances, or its one channel if it has no instances; error if ambiguous)\n --console <string> console origin to deploy through (API mode only; default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --env <value> set an ordinary environment variable before shipping; repeat for more variables\n --host <string> serve on this hostname instead of the app's own platform host (also scopes channel resolution and the watch to it)\n --kind <string> binary | static (default: binary)\n --label <string> one line describing this release, for carlos releases and the console\n --message <string> Add a short note describing this change (shown alongside the recorded action).\n --no-assets ship with no asset folders, ignoring any saved in .carlos/config\n --no-prompt Skip the optional change description prompt.\n --notes <string> longer release notes\n --region <string> region for the app this deploy creates (default: the region nearest you)\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n --swap <string> hold: this release stops each instance before starting it, for a migration the previous build cannot share the database with\n --target <string> GOOS-GOARCH the binary was built for (binary kind, single file) (default: linux-arm64)\n --temporary create a new temporary app for this static site: named tmp-..., it moves to the Trash after --ttl and is purged 3 days later\n --timeout <duration> how long to watch the URL before failing (default: 2m0s)\n --ttl <string> how long a temporary app lives, 1h to 30d (default 7d); implies --temporary\n --version, -v <string> version (default: git rev-parse --short HEAD)\n"} |
| -{"case":"deploy | -h","argv":["deploy","-h"],"exit":0,"stdout":"","stderr":"usage: carlos deploy [flags]\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app name\n --assets <value> a folder your build writes files to, for example /assets/. repeat the flag for up to 8 folders. servers near your visitors may keep copies of the files in them\n --capabilities <string> path to a JSON capability block (internal/caps) to embed in the manifest\n --channel, -c <string> channel to promote to (default: resolved from the app's instances, or its one channel if it has no instances; error if ambiguous)\n --console <string> console origin to deploy through (API mode only; default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --env <value> set an ordinary environment variable before shipping; repeat for more variables\n --host <string> serve on this hostname instead of the app's own platform host (also scopes channel resolution and the watch to it)\n --kind <string> binary | static (default: binary)\n --label <string> one line describing this release, for carlos releases and the console\n --message <string> Add a short note describing this change (shown alongside the recorded action).\n --no-assets ship with no asset folders, ignoring any saved in .carlos/config\n --no-prompt Skip the optional change description prompt.\n --notes <string> longer release notes\n --region <string> region for the app this deploy creates (default: the region nearest you)\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n --swap <string> hold: this release stops each instance before starting it, for a migration the previous build cannot share the database with\n --target <string> GOOS-GOARCH the binary was built for (binary kind, single file) (default: linux-arm64)\n --temporary create a new temporary app for this static site: named tmp-..., it moves to the Trash after --ttl and is purged 3 days later\n --timeout <duration> how long to watch the URL before failing (default: 2m0s)\n --ttl <string> how long a temporary app lives, 1h to 30d (default 7d); implies --temporary\n --version, -v <string> version (default: git rev-parse --short HEAD)\n"} |
| +{"case":"deploy | --zz-unknown-flag","argv":["deploy","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos deploy [flags]\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app name\n --assets <value> a folder your build writes files to, for example /assets/. repeat the flag for up to 8 folders. servers near your visitors may keep copies of the files in them\n --capabilities <string> path to a JSON capability block (internal/caps) to embed in the manifest\n --channel, -c <string> channel to promote to (default: resolved from the app's instances, or its one channel if it has no instances; error if ambiguous)\n --console <string> console origin to deploy through (API mode only; default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --env <value> set an ordinary environment variable before shipping; repeat for more variables\n --host <string> serve on this hostname instead of the app's own platform host (also scopes channel resolution and the watch to it)\n --kind <string> binary | static (default: binary)\n --label <string> one line describing this release, for carlos releases and the console\n --mail <string> declare this build's mail transport. the one value is submit: the build sends through carlos's submission socket when CARLOS_MAIL=submit is set\n --message <string> Add a short note describing this change (shown alongside the recorded action).\n --no-assets ship with no asset folders, ignoring any saved in .carlos/config\n --no-prompt Skip the optional change description prompt.\n --notes <string> longer release notes\n --region <string> region for the app this deploy creates (default: the region nearest you)\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n --swap <string> hold: this release stops each instance before starting it, for a migration the previous build cannot share the database with\n --target <string> GOOS-GOARCH the binary was built for (binary kind, single file) (default: linux-arm64)\n --temporary create a new temporary app for this static site: named tmp-..., it moves to the Trash after --ttl and is purged 3 days later\n --timeout <duration> how long to watch the URL before failing (default: 2m0s)\n --ttl <string> how long a temporary app lives, 1h to 30d (default 7d); implies --temporary\n --version, -v <string> version (default: git rev-parse --short HEAD)\n"} |
| +{"case":"deploy | -h","argv":["deploy","-h"],"exit":0,"stdout":"","stderr":"usage: carlos deploy [flags]\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app name\n --assets <value> a folder your build writes files to, for example /assets/. repeat the flag for up to 8 folders. servers near your visitors may keep copies of the files in them\n --capabilities <string> path to a JSON capability block (internal/caps) to embed in the manifest\n --channel, -c <string> channel to promote to (default: resolved from the app's instances, or its one channel if it has no instances; error if ambiguous)\n --console <string> console origin to deploy through (API mode only; default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --env <value> set an ordinary environment variable before shipping; repeat for more variables\n --host <string> serve on this hostname instead of the app's own platform host (also scopes channel resolution and the watch to it)\n --kind <string> binary | static (default: binary)\n --label <string> one line describing this release, for carlos releases and the console\n --mail <string> declare this build's mail transport. the one value is submit: the build sends through carlos's submission socket when CARLOS_MAIL=submit is set\n --message <string> Add a short note describing this change (shown alongside the recorded action).\n --no-assets ship with no asset folders, ignoring any saved in .carlos/config\n --no-prompt Skip the optional change description prompt.\n --notes <string> longer release notes\n --region <string> region for the app this deploy creates (default: the region nearest you)\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n --swap <string> hold: this release stops each instance before starting it, for a migration the previous build cannot share the database with\n --target <string> GOOS-GOARCH the binary was built for (binary kind, single file) (default: linux-arm64)\n --temporary create a new temporary app for this static site: named tmp-..., it moves to the Trash after --ttl and is purged 3 days later\n --timeout <duration> how long to watch the URL before failing (default: 2m0s)\n --ttl <string> how long a temporary app lives, 1h to 30d (default 7d); implies --temporary\n --version, -v <string> version (default: git rev-parse --short HEAD)\n"} |
| {"case":"devbox list | --zz-unknown-flag","argv":["devbox","list","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos devbox list [--allowed]\nlist shows every link on this devbox, who owns it and whether it is answering\nflags:\n --allowed also show who can open your private links\n"} |
| {"case":"devbox list | -h","argv":["devbox","list","-h"],"exit":0,"stdout":"","stderr":"usage: carlos devbox list [--allowed]\nlist shows every link on this devbox, who owns it and whether it is answering\nflags:\n --allowed also show who can open your private links\n"} |
| {"case":"devbox serve | --zz-unknown-flag","argv":["devbox","serve","--zz-unknown-flag"],"exit":1,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos devbox serve [--env-file <env file>]\nserve runs the devbox service. its systemd unit or launchd daemon starts it, and nobody else needs to\nflags:\n --env-file <string> a file of KEY=VALUE lines to read before serving. blank lines and lines starting with # are skipped, and values are taken as written, with no quotes. a setting in the file replaces one already in the environment. the file must belong to this account, and only this account may read or change it\nflag provided but not defined: -zz-unknown-flag\n"} |