| index 9631203c5..3b6d9b176 100644 |
| --- a/testdata/clireg-golden.jsonl |
| +++ b/testdata/clireg-golden.jsonl |
| @@ -222,6 +222,16 @@ |
| {"case":"domains attach | -h","argv":["domains","attach","-h"],"exit":0,"stdout":"","stderr":"usage: carlos domains attach --app <a> [--route <r>] [--wildcard] [--catchall] [--platform] [--account <a>] [--account-id <id>] [--console <origin>] <hostname>\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account\n --app, -a <string> app the hostname belongs to\n --catchall derive a *.<host> catch-all alias to the same route (needs --wildcard)\n --console <string> console to attach 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 --platform attach a hostname in this deployment's own domains (platform operators only)\n --route <string> route hostname to attach to\n --wildcard enable a delegated wildcard cert for this hostname (needs a CNAME — see the 422 message if refused)\n"} |
| {"case":"domains buy | --zz-unknown-flag","argv":["domains","buy","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos domains buy <name> --app <a> [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [--account <a>] [--account-id <id>] [--console <origin>]\n carlos domains buy <name> --not-yet [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [--account <a>] [--account-id <id>] [--console <origin>]\nbuy needs --app or --not-yet. either accepts --contact <id> in place of --contact-file\nflags:\n --account <string> account (sqid or name)\n --account-id <string> account sqid, matched as a sqid only\n --app <string> app the domain will serve\n --console <string> console to use (default: the only logged-in one)\n --contact <string> saved contact to use when registering the domain; list contacts with carlos domains contacts\n --contact-file <string> JSON file containing your contact details\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 --no-wait print the checkout link and return without waiting\n --not-yet buy the domain without pointing it at an app yet\n --yes confirm the purchase without prompting\n"} |
| {"case":"domains buy | -h","argv":["domains","buy","-h"],"exit":0,"stdout":"","stderr":"usage: carlos domains buy <name> --app <a> [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [--account <a>] [--account-id <id>] [--console <origin>]\n carlos domains buy <name> --not-yet [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [--account <a>] [--account-id <id>] [--console <origin>]\nbuy needs --app or --not-yet. either accepts --contact <id> in place of --contact-file\nflags:\n --account <string> account (sqid or name)\n --account-id <string> account sqid, matched as a sqid only\n --app <string> app the domain will serve\n --console <string> console to use (default: the only logged-in one)\n --contact <string> saved contact to use when registering the domain; list contacts with carlos domains contacts\n --contact-file <string> JSON file containing your contact details\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 --no-wait print the checkout link and return without waiting\n --not-yet buy the domain without pointing it at an app yet\n --yes confirm the purchase without prompting\n"} |
| +{"case":"domains cert import | --zz-unknown-flag","argv":["domains","cert","import","--zz-unknown-flag"],"exit":1,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos domains cert import --app <a> --cert <file> --key <file> [--allow-wildcard] [--account <a>] [--account-id <id>] [--console <origin>] <hostname>\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY. Supersedes --account\n --allow-wildcard accept a certificate that covers the hostname only through a wildcard\n --app, -a <string> app the hostname belongs to\n --cert <string> PEM file holding the certificate, then its intermediates\n --console <string> console to act 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 --key <string> PEM file holding the certificate's private key\nflag provided but not defined: -zz-unknown-flag\n"} |
| +{"case":"domains cert import | -h","argv":["domains","cert","import","-h"],"exit":0,"stdout":"","stderr":"usage: carlos domains cert import --app <a> --cert <file> --key <file> [--allow-wildcard] [--account <a>] [--account-id <id>] [--console <origin>] <hostname>\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY. Supersedes --account\n --allow-wildcard accept a certificate that covers the hostname only through a wildcard\n --app, -a <string> app the hostname belongs to\n --cert <string> PEM file holding the certificate, then its intermediates\n --console <string> console to act 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 --key <string> PEM file holding the certificate's private key\n"} |
| +{"case":"domains cert remove | --zz-unknown-flag","argv":["domains","cert","remove","--zz-unknown-flag"],"exit":1,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos domains cert remove --app <a> [--account <a>] [--account-id <id>] [--console <origin>] <hostname>\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY. Supersedes --account\n --app, -a <string> app the hostname belongs to\n --console <string> console to act 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)\nflag provided but not defined: -zz-unknown-flag\n"} |
| +{"case":"domains cert remove | -h","argv":["domains","cert","remove","-h"],"exit":0,"stdout":"","stderr":"usage: carlos domains cert remove --app <a> [--account <a>] [--account-id <id>] [--console <origin>] <hostname>\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY. Supersedes --account\n --app, -a <string> app the hostname belongs to\n --console <string> console to act 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"} |
| +{"case":"domains cert | --help","argv":["domains","cert","--help"],"exit":1,"stdout":"","stderr":"usage: carlos domains cert <import|remove> [flags] <hostname>\n\n import --app <a> --cert <file> --key <file> [--allow-wildcard] [flags] <hostname>\n serve a certificate you already hold for an attached\n hostname, so it works on every edge before its DNS points\n here. --cert is the certificate followed by its\n intermediates, --key its private key, both PEM.\n --allow-wildcard accepts a certificate that covers the\n hostname only through a wildcard. Platform operators only.\n remove --app <a> [flags] <hostname>\n stop serving the imported certificate.\n\n --account <a> account (sqid or name; default \"ops\")\n --account-id <id> account sqid, matched as a sqid ONLY\n --console <origin> console to act through (default: the only logged-in one)\n"} |
| +{"case":"domains cert | --zz-unknown-flag","argv":["domains","cert","--zz-unknown-flag"],"exit":1,"stdout":"","stderr":"usage: carlos domains cert <import|remove> [flags] <hostname>\n\n import --app <a> --cert <file> --key <file> [--allow-wildcard] [flags] <hostname>\n serve a certificate you already hold for an attached\n hostname, so it works on every edge before its DNS points\n here. --cert is the certificate followed by its\n intermediates, --key its private key, both PEM.\n --allow-wildcard accepts a certificate that covers the\n hostname only through a wildcard. Platform operators only.\n remove --app <a> [flags] <hostname>\n stop serving the imported certificate.\n\n --account <a> account (sqid or name; default \"ops\")\n --account-id <id> account sqid, matched as a sqid ONLY\n --console <origin> console to act through (default: the only logged-in one)\n"} |
| +{"case":"domains cert | -h","argv":["domains","cert","-h"],"exit":1,"stdout":"","stderr":"usage: carlos domains cert <import|remove> [flags] <hostname>\n\n import --app <a> --cert <file> --key <file> [--allow-wildcard] [flags] <hostname>\n serve a certificate you already hold for an attached\n hostname, so it works on every edge before its DNS points\n here. --cert is the certificate followed by its\n intermediates, --key its private key, both PEM.\n --allow-wildcard accepts a certificate that covers the\n hostname only through a wildcard. Platform operators only.\n remove --app <a> [flags] <hostname>\n stop serving the imported certificate.\n\n --account <a> account (sqid or name; default \"ops\")\n --account-id <id> account sqid, matched as a sqid ONLY\n --console <origin> console to act through (default: the only logged-in one)\n"} |
| +{"case":"domains cert | bare","argv":["domains","cert"],"exit":1,"stdout":"","stderr":"usage: carlos domains cert <import|remove> [flags] <hostname>\n\n import --app <a> --cert <file> --key <file> [--allow-wildcard] [flags] <hostname>\n serve a certificate you already hold for an attached\n hostname, so it works on every edge before its DNS points\n here. --cert is the certificate followed by its\n intermediates, --key its private key, both PEM.\n --allow-wildcard accepts a certificate that covers the\n hostname only through a wildcard. Platform operators only.\n remove --app <a> [flags] <hostname>\n stop serving the imported certificate.\n\n --account <a> account (sqid or name; default \"ops\")\n --account-id <id> account sqid, matched as a sqid ONLY\n --console <origin> console to act through (default: the only logged-in one)\n"} |
| +{"case":"domains cert | help","argv":["domains","cert","help"],"exit":1,"stdout":"","stderr":"usage: carlos domains cert <import|remove> [flags] <hostname>\n\n import --app <a> --cert <file> --key <file> [--allow-wildcard] [flags] <hostname>\n serve a certificate you already hold for an attached\n hostname, so it works on every edge before its DNS points\n here. --cert is the certificate followed by its\n intermediates, --key its private key, both PEM.\n --allow-wildcard accepts a certificate that covers the\n hostname only through a wildcard. Platform operators only.\n remove --app <a> [flags] <hostname>\n stop serving the imported certificate.\n\n --account <a> account (sqid or name; default \"ops\")\n --account-id <id> account sqid, matched as a sqid ONLY\n --console <origin> console to act through (default: the only logged-in one)\n"} |
| +{"case":"domains cert | zz-unknown","argv":["domains","cert","zz-unknown"],"exit":1,"stdout":"","stderr":"usage: carlos domains cert <import|remove> [flags] <hostname>\n\n import --app <a> --cert <file> --key <file> [--allow-wildcard] [flags] <hostname>\n serve a certificate you already hold for an attached\n hostname, so it works on every edge before its DNS points\n here. --cert is the certificate followed by its\n intermediates, --key its private key, both PEM.\n --allow-wildcard accepts a certificate that covers the\n hostname only through a wildcard. Platform operators only.\n remove --app <a> [flags] <hostname>\n stop serving the imported certificate.\n\n --account <a> account (sqid or name; default \"ops\")\n --account-id <id> account sqid, matched as a sqid ONLY\n --console <origin> console to act through (default: the only logged-in one)\n"} |
| {"case":"domains check | --zz-unknown-flag","argv":["domains","check","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos domains check <name> [--country <cc>] [--account <a>] [--account-id <id>] [--console <origin>]\nflags:\n --account <string> account (sqid or name)\n --account-id <string> account sqid, matched as a sqid only\n --console <string> console to use (default: the only logged-in one)\n --country <string> country for the price check when no billing currency is set (two letters)\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"} |
| {"case":"domains check | -h","argv":["domains","check","-h"],"exit":0,"stdout":"","stderr":"usage: carlos domains check <name> [--country <cc>] [--account <a>] [--account-id <id>] [--console <origin>]\nflags:\n --account <string> account (sqid or name)\n --account-id <string> account sqid, matched as a sqid only\n --console <string> console to use (default: the only logged-in one)\n --country <string> country for the price check when no billing currency is set (two letters)\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"} |
| {"case":"domains contacts add | --zz-unknown-flag","argv":["domains","contacts","add","--zz-unknown-flag"],"exit":1,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos domains contacts [list | add --file contact.json | edit <id> --file contact.json | remove <id>] [--account <a>] [--account-id <id>] [--console <origin>]\nflags:\n --account <string> account (sqid or name)\n --account-id <string> account sqid, matched as a sqid only\n --console <string> console to use (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 --file <string> JSON file containing your contact details\nflag provided but not defined: -zz-unknown-flag\n"} |
| @@ -252,12 +262,12 @@ |
| {"case":"domains transfer | -h","argv":["domains","transfer","-h"],"exit":0,"stdout":"","stderr":"usage: carlos domains transfer <name> --auth-code <code|-> [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [--account <a>] [--account-id <id>] [--console <origin>]\nflags:\n --account <string> account (sqid or name)\n --account-id <string> account sqid, matched as a sqid only\n --auth-code <string> the transfer code from the current registrar, or - to read it from stdin\n --console <string> console to use (default: the only logged-in one)\n --contact <string> saved contact to use when registering the domain; list contacts with carlos domains contacts\n --contact-file <string> JSON file containing your contact details\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 --no-wait print the checkout link and return without waiting\n --yes confirm the transfer without prompting\n"} |
| {"case":"domains verify | --zz-unknown-flag","argv":["domains","verify","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos domains verify --app <a> [--channel <c>] [--account <a>] [--account-id <id>] [--console <origin>] <hostname>\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account\n --app, -a <string> app the hostname belongs to\n --channel <string> channel a first-route hostname serves (only needed when the app follows several)\n --console <string> console to verify 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"} |
| {"case":"domains verify | -h","argv":["domains","verify","-h"],"exit":0,"stdout":"","stderr":"usage: carlos domains verify --app <a> [--channel <c>] [--account <a>] [--account-id <id>] [--console <origin>] <hostname>\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account\n --app, -a <string> app the hostname belongs to\n --channel <string> channel a first-route hostname serves (only needed when the app follows several)\n --console <string> console to verify 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"} |
| -{"case":"domains | --help","argv":["domains","--help"],"exit":1,"stdout":"","stderr":"usage: carlos domains <check|buy|transfer|attach|verify|detach|list|point|contacts|paths|placements> [flags]\n\n check <name> [--country <cc>] [flags]\n check availability and the price for one year\n buy <name> --app <a> [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [flags]\n buy <name> --not-yet [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [flags]\n buy a domain and wait for it to serve the app. with\n --not-yet, buy a domain without pointing it at an app yet.\n buy needs one of --app or --not-yet. --contact <id>\n registers it to that saved contact; with neither contact\n flag, buy uses the one used last\n\n transfer <name> --auth-code <code|-> [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [flags]\n move a domain registered elsewhere here. it keeps the\n nameservers it uses today, so its DNS and email do not\n change. --auth-code - reads the transfer code from stdin.\n waits until the move is done or fails. it can take up to\n five days, or longer if the registrar does not answer.\n owners only\n attach --app <a> [--route <r>] [--wildcard] [--catchall] [--platform] [flags] <hostname>\n claim a customer's hostname for the app, pointed at\n --route (default: the app's single instance record, if it\n has exactly one — otherwise --route is required).\n --wildcard/--catchall are capability flips: naming either\n one changes it, an unset flag leaves it as it was.\n --platform attaches a hostname in this deployment's own\n domains. Platform operators only.\n Where the deployment requires proof of control, the\n hostname is not served until you add the TXT record\n attach prints.\n attach --app <a> '*.<parent>'\n an instance catch-all: each of the app's instances also\n answers at <label>.<parent>, where <label> is its host's\n first label. <parent> must already be attached to an app\n in this account. Signed-in people only; takes no other\n flag. Detach it with: detach --app <a> '*.<parent>'.\n verify --app <a> [--channel <c>] [flags] <hostname>\n check the TXT record and, once it is there, make the\n hostname live. --channel is for a hostname that will be\n the app's first route, when the app follows several.\n detach --app <a> [flags] <hostname>\n release a hostname claim\n list [--app <a> | --all] [flags]\n an app's hostname claims, joined to the fleet's own\n readings sweep (DNS/CERT-EXPIRES/WILDCARD/CATCHALL/DELEGATION).\n without --app, the configured app or the account's only\n app. with --all, or when no app is found, every domain\n the account uses: bought here, being bought, or\n registered elsewhere, each with its addresses\n point <domain> --app <a> [flags]\n point a domain bought here at an app. its domain and its\n www serve the app. owners only\n contacts [list | add --file contact.json | edit <id> --file contact.json | remove <id>] [flags]\n the contacts saved for registering domains. owners only\n paths --app <a> [flags] <hostname>\n the leading path segments this hostname's traffic is split\n by, as PUBLISHED. Read-only: the platform that owns the\n hostname republishes the whole map, so there is no verb\n here that writes one.\n placements --app <a> [--set <region>=<instance>]... [--wildcard] [--catchall] [flags] <hostname>\n without --set, shows which instance serves the hostname in\n each region, whether it is ready, and the addresses to\n point DNS at. with --set, makes the hostname a regional\n domain. each region serves it from the instance named for\n it, and a request is never sent to another region. give\n the whole set every time. --wildcard and --catchall take\n effect only when the domain is created.\n\n --account <a> account (sqid or name; default \"ops\")\n --account-id <id> account sqid, matched as a sqid ONLY\n --console <origin> console to act through (default: the only logged-in one)\n\nSigned-in only (carlos auth login): a claim is a console-authorized write —\nthe console checks the hostname against the deploy's deny list, resolves the\nroute, and writes it. The hostname comes live on the box that owns the route\nat its next domains pass.\n"} |
| -{"case":"domains | --zz-unknown-flag","argv":["domains","--zz-unknown-flag"],"exit":1,"stdout":"","stderr":"usage: carlos domains <check|buy|transfer|attach|verify|detach|list|point|contacts|paths|placements> [flags]\n\n check <name> [--country <cc>] [flags]\n check availability and the price for one year\n buy <name> --app <a> [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [flags]\n buy <name> --not-yet [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [flags]\n buy a domain and wait for it to serve the app. with\n --not-yet, buy a domain without pointing it at an app yet.\n buy needs one of --app or --not-yet. --contact <id>\n registers it to that saved contact; with neither contact\n flag, buy uses the one used last\n\n transfer <name> --auth-code <code|-> [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [flags]\n move a domain registered elsewhere here. it keeps the\n nameservers it uses today, so its DNS and email do not\n change. --auth-code - reads the transfer code from stdin.\n waits until the move is done or fails. it can take up to\n five days, or longer if the registrar does not answer.\n owners only\n attach --app <a> [--route <r>] [--wildcard] [--catchall] [--platform] [flags] <hostname>\n claim a customer's hostname for the app, pointed at\n --route (default: the app's single instance record, if it\n has exactly one — otherwise --route is required).\n --wildcard/--catchall are capability flips: naming either\n one changes it, an unset flag leaves it as it was.\n --platform attaches a hostname in this deployment's own\n domains. Platform operators only.\n Where the deployment requires proof of control, the\n hostname is not served until you add the TXT record\n attach prints.\n attach --app <a> '*.<parent>'\n an instance catch-all: each of the app's instances also\n answers at <label>.<parent>, where <label> is its host's\n first label. <parent> must already be attached to an app\n in this account. Signed-in people only; takes no other\n flag. Detach it with: detach --app <a> '*.<parent>'.\n verify --app <a> [--channel <c>] [flags] <hostname>\n check the TXT record and, once it is there, make the\n hostname live. --channel is for a hostname that will be\n the app's first route, when the app follows several.\n detach --app <a> [flags] <hostname>\n release a hostname claim\n list [--app <a> | --all] [flags]\n an app's hostname claims, joined to the fleet's own\n readings sweep (DNS/CERT-EXPIRES/WILDCARD/CATCHALL/DELEGATION).\n without --app, the configured app or the account's only\n app. with --all, or when no app is found, every domain\n the account uses: bought here, being bought, or\n registered elsewhere, each with its addresses\n point <domain> --app <a> [flags]\n point a domain bought here at an app. its domain and its\n www serve the app. owners only\n contacts [list | add --file contact.json | edit <id> --file contact.json | remove <id>] [flags]\n the contacts saved for registering domains. owners only\n paths --app <a> [flags] <hostname>\n the leading path segments this hostname's traffic is split\n by, as PUBLISHED. Read-only: the platform that owns the\n hostname republishes the whole map, so there is no verb\n here that writes one.\n placements --app <a> [--set <region>=<instance>]... [--wildcard] [--catchall] [flags] <hostname>\n without --set, shows which instance serves the hostname in\n each region, whether it is ready, and the addresses to\n point DNS at. with --set, makes the hostname a regional\n domain. each region serves it from the instance named for\n it, and a request is never sent to another region. give\n the whole set every time. --wildcard and --catchall take\n effect only when the domain is created.\n\n --account <a> account (sqid or name; default \"ops\")\n --account-id <id> account sqid, matched as a sqid ONLY\n --console <origin> console to act through (default: the only logged-in one)\n\nSigned-in only (carlos auth login): a claim is a console-authorized write —\nthe console checks the hostname against the deploy's deny list, resolves the\nroute, and writes it. The hostname comes live on the box that owns the route\nat its next domains pass.\n"} |
| -{"case":"domains | -h","argv":["domains","-h"],"exit":1,"stdout":"","stderr":"usage: carlos domains <check|buy|transfer|attach|verify|detach|list|point|contacts|paths|placements> [flags]\n\n check <name> [--country <cc>] [flags]\n check availability and the price for one year\n buy <name> --app <a> [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [flags]\n buy <name> --not-yet [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [flags]\n buy a domain and wait for it to serve the app. with\n --not-yet, buy a domain without pointing it at an app yet.\n buy needs one of --app or --not-yet. --contact <id>\n registers it to that saved contact; with neither contact\n flag, buy uses the one used last\n\n transfer <name> --auth-code <code|-> [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [flags]\n move a domain registered elsewhere here. it keeps the\n nameservers it uses today, so its DNS and email do not\n change. --auth-code - reads the transfer code from stdin.\n waits until the move is done or fails. it can take up to\n five days, or longer if the registrar does not answer.\n owners only\n attach --app <a> [--route <r>] [--wildcard] [--catchall] [--platform] [flags] <hostname>\n claim a customer's hostname for the app, pointed at\n --route (default: the app's single instance record, if it\n has exactly one — otherwise --route is required).\n --wildcard/--catchall are capability flips: naming either\n one changes it, an unset flag leaves it as it was.\n --platform attaches a hostname in this deployment's own\n domains. Platform operators only.\n Where the deployment requires proof of control, the\n hostname is not served until you add the TXT record\n attach prints.\n attach --app <a> '*.<parent>'\n an instance catch-all: each of the app's instances also\n answers at <label>.<parent>, where <label> is its host's\n first label. <parent> must already be attached to an app\n in this account. Signed-in people only; takes no other\n flag. Detach it with: detach --app <a> '*.<parent>'.\n verify --app <a> [--channel <c>] [flags] <hostname>\n check the TXT record and, once it is there, make the\n hostname live. --channel is for a hostname that will be\n the app's first route, when the app follows several.\n detach --app <a> [flags] <hostname>\n release a hostname claim\n list [--app <a> | --all] [flags]\n an app's hostname claims, joined to the fleet's own\n readings sweep (DNS/CERT-EXPIRES/WILDCARD/CATCHALL/DELEGATION).\n without --app, the configured app or the account's only\n app. with --all, or when no app is found, every domain\n the account uses: bought here, being bought, or\n registered elsewhere, each with its addresses\n point <domain> --app <a> [flags]\n point a domain bought here at an app. its domain and its\n www serve the app. owners only\n contacts [list | add --file contact.json | edit <id> --file contact.json | remove <id>] [flags]\n the contacts saved for registering domains. owners only\n paths --app <a> [flags] <hostname>\n the leading path segments this hostname's traffic is split\n by, as PUBLISHED. Read-only: the platform that owns the\n hostname republishes the whole map, so there is no verb\n here that writes one.\n placements --app <a> [--set <region>=<instance>]... [--wildcard] [--catchall] [flags] <hostname>\n without --set, shows which instance serves the hostname in\n each region, whether it is ready, and the addresses to\n point DNS at. with --set, makes the hostname a regional\n domain. each region serves it from the instance named for\n it, and a request is never sent to another region. give\n the whole set every time. --wildcard and --catchall take\n effect only when the domain is created.\n\n --account <a> account (sqid or name; default \"ops\")\n --account-id <id> account sqid, matched as a sqid ONLY\n --console <origin> console to act through (default: the only logged-in one)\n\nSigned-in only (carlos auth login): a claim is a console-authorized write —\nthe console checks the hostname against the deploy's deny list, resolves the\nroute, and writes it. The hostname comes live on the box that owns the route\nat its next domains pass.\n"} |
| -{"case":"domains | bare","argv":["domains"],"exit":1,"stdout":"","stderr":"usage: carlos domains <check|buy|transfer|attach|verify|detach|list|point|contacts|paths|placements> [flags]\n\n check <name> [--country <cc>] [flags]\n check availability and the price for one year\n buy <name> --app <a> [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [flags]\n buy <name> --not-yet [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [flags]\n buy a domain and wait for it to serve the app. with\n --not-yet, buy a domain without pointing it at an app yet.\n buy needs one of --app or --not-yet. --contact <id>\n registers it to that saved contact; with neither contact\n flag, buy uses the one used last\n\n transfer <name> --auth-code <code|-> [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [flags]\n move a domain registered elsewhere here. it keeps the\n nameservers it uses today, so its DNS and email do not\n change. --auth-code - reads the transfer code from stdin.\n waits until the move is done or fails. it can take up to\n five days, or longer if the registrar does not answer.\n owners only\n attach --app <a> [--route <r>] [--wildcard] [--catchall] [--platform] [flags] <hostname>\n claim a customer's hostname for the app, pointed at\n --route (default: the app's single instance record, if it\n has exactly one — otherwise --route is required).\n --wildcard/--catchall are capability flips: naming either\n one changes it, an unset flag leaves it as it was.\n --platform attaches a hostname in this deployment's own\n domains. Platform operators only.\n Where the deployment requires proof of control, the\n hostname is not served until you add the TXT record\n attach prints.\n attach --app <a> '*.<parent>'\n an instance catch-all: each of the app's instances also\n answers at <label>.<parent>, where <label> is its host's\n first label. <parent> must already be attached to an app\n in this account. Signed-in people only; takes no other\n flag. Detach it with: detach --app <a> '*.<parent>'.\n verify --app <a> [--channel <c>] [flags] <hostname>\n check the TXT record and, once it is there, make the\n hostname live. --channel is for a hostname that will be\n the app's first route, when the app follows several.\n detach --app <a> [flags] <hostname>\n release a hostname claim\n list [--app <a> | --all] [flags]\n an app's hostname claims, joined to the fleet's own\n readings sweep (DNS/CERT-EXPIRES/WILDCARD/CATCHALL/DELEGATION).\n without --app, the configured app or the account's only\n app. with --all, or when no app is found, every domain\n the account uses: bought here, being bought, or\n registered elsewhere, each with its addresses\n point <domain> --app <a> [flags]\n point a domain bought here at an app. its domain and its\n www serve the app. owners only\n contacts [list | add --file contact.json | edit <id> --file contact.json | remove <id>] [flags]\n the contacts saved for registering domains. owners only\n paths --app <a> [flags] <hostname>\n the leading path segments this hostname's traffic is split\n by, as PUBLISHED. Read-only: the platform that owns the\n hostname republishes the whole map, so there is no verb\n here that writes one.\n placements --app <a> [--set <region>=<instance>]... [--wildcard] [--catchall] [flags] <hostname>\n without --set, shows which instance serves the hostname in\n each region, whether it is ready, and the addresses to\n point DNS at. with --set, makes the hostname a regional\n domain. each region serves it from the instance named for\n it, and a request is never sent to another region. give\n the whole set every time. --wildcard and --catchall take\n effect only when the domain is created.\n\n --account <a> account (sqid or name; default \"ops\")\n --account-id <id> account sqid, matched as a sqid ONLY\n --console <origin> console to act through (default: the only logged-in one)\n\nSigned-in only (carlos auth login): a claim is a console-authorized write —\nthe console checks the hostname against the deploy's deny list, resolves the\nroute, and writes it. The hostname comes live on the box that owns the route\nat its next domains pass.\n"} |
| -{"case":"domains | help","argv":["domains","help"],"exit":1,"stdout":"","stderr":"usage: carlos domains <check|buy|transfer|attach|verify|detach|list|point|contacts|paths|placements> [flags]\n\n check <name> [--country <cc>] [flags]\n check availability and the price for one year\n buy <name> --app <a> [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [flags]\n buy <name> --not-yet [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [flags]\n buy a domain and wait for it to serve the app. with\n --not-yet, buy a domain without pointing it at an app yet.\n buy needs one of --app or --not-yet. --contact <id>\n registers it to that saved contact; with neither contact\n flag, buy uses the one used last\n\n transfer <name> --auth-code <code|-> [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [flags]\n move a domain registered elsewhere here. it keeps the\n nameservers it uses today, so its DNS and email do not\n change. --auth-code - reads the transfer code from stdin.\n waits until the move is done or fails. it can take up to\n five days, or longer if the registrar does not answer.\n owners only\n attach --app <a> [--route <r>] [--wildcard] [--catchall] [--platform] [flags] <hostname>\n claim a customer's hostname for the app, pointed at\n --route (default: the app's single instance record, if it\n has exactly one — otherwise --route is required).\n --wildcard/--catchall are capability flips: naming either\n one changes it, an unset flag leaves it as it was.\n --platform attaches a hostname in this deployment's own\n domains. Platform operators only.\n Where the deployment requires proof of control, the\n hostname is not served until you add the TXT record\n attach prints.\n attach --app <a> '*.<parent>'\n an instance catch-all: each of the app's instances also\n answers at <label>.<parent>, where <label> is its host's\n first label. <parent> must already be attached to an app\n in this account. Signed-in people only; takes no other\n flag. Detach it with: detach --app <a> '*.<parent>'.\n verify --app <a> [--channel <c>] [flags] <hostname>\n check the TXT record and, once it is there, make the\n hostname live. --channel is for a hostname that will be\n the app's first route, when the app follows several.\n detach --app <a> [flags] <hostname>\n release a hostname claim\n list [--app <a> | --all] [flags]\n an app's hostname claims, joined to the fleet's own\n readings sweep (DNS/CERT-EXPIRES/WILDCARD/CATCHALL/DELEGATION).\n without --app, the configured app or the account's only\n app. with --all, or when no app is found, every domain\n the account uses: bought here, being bought, or\n registered elsewhere, each with its addresses\n point <domain> --app <a> [flags]\n point a domain bought here at an app. its domain and its\n www serve the app. owners only\n contacts [list | add --file contact.json | edit <id> --file contact.json | remove <id>] [flags]\n the contacts saved for registering domains. owners only\n paths --app <a> [flags] <hostname>\n the leading path segments this hostname's traffic is split\n by, as PUBLISHED. Read-only: the platform that owns the\n hostname republishes the whole map, so there is no verb\n here that writes one.\n placements --app <a> [--set <region>=<instance>]... [--wildcard] [--catchall] [flags] <hostname>\n without --set, shows which instance serves the hostname in\n each region, whether it is ready, and the addresses to\n point DNS at. with --set, makes the hostname a regional\n domain. each region serves it from the instance named for\n it, and a request is never sent to another region. give\n the whole set every time. --wildcard and --catchall take\n effect only when the domain is created.\n\n --account <a> account (sqid or name; default \"ops\")\n --account-id <id> account sqid, matched as a sqid ONLY\n --console <origin> console to act through (default: the only logged-in one)\n\nSigned-in only (carlos auth login): a claim is a console-authorized write —\nthe console checks the hostname against the deploy's deny list, resolves the\nroute, and writes it. The hostname comes live on the box that owns the route\nat its next domains pass.\n"} |
| -{"case":"domains | zz-unknown","argv":["domains","zz-unknown"],"exit":1,"stdout":"","stderr":"usage: carlos domains <check|buy|transfer|attach|verify|detach|list|point|contacts|paths|placements> [flags]\n\n check <name> [--country <cc>] [flags]\n check availability and the price for one year\n buy <name> --app <a> [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [flags]\n buy <name> --not-yet [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [flags]\n buy a domain and wait for it to serve the app. with\n --not-yet, buy a domain without pointing it at an app yet.\n buy needs one of --app or --not-yet. --contact <id>\n registers it to that saved contact; with neither contact\n flag, buy uses the one used last\n\n transfer <name> --auth-code <code|-> [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [flags]\n move a domain registered elsewhere here. it keeps the\n nameservers it uses today, so its DNS and email do not\n change. --auth-code - reads the transfer code from stdin.\n waits until the move is done or fails. it can take up to\n five days, or longer if the registrar does not answer.\n owners only\n attach --app <a> [--route <r>] [--wildcard] [--catchall] [--platform] [flags] <hostname>\n claim a customer's hostname for the app, pointed at\n --route (default: the app's single instance record, if it\n has exactly one — otherwise --route is required).\n --wildcard/--catchall are capability flips: naming either\n one changes it, an unset flag leaves it as it was.\n --platform attaches a hostname in this deployment's own\n domains. Platform operators only.\n Where the deployment requires proof of control, the\n hostname is not served until you add the TXT record\n attach prints.\n attach --app <a> '*.<parent>'\n an instance catch-all: each of the app's instances also\n answers at <label>.<parent>, where <label> is its host's\n first label. <parent> must already be attached to an app\n in this account. Signed-in people only; takes no other\n flag. Detach it with: detach --app <a> '*.<parent>'.\n verify --app <a> [--channel <c>] [flags] <hostname>\n check the TXT record and, once it is there, make the\n hostname live. --channel is for a hostname that will be\n the app's first route, when the app follows several.\n detach --app <a> [flags] <hostname>\n release a hostname claim\n list [--app <a> | --all] [flags]\n an app's hostname claims, joined to the fleet's own\n readings sweep (DNS/CERT-EXPIRES/WILDCARD/CATCHALL/DELEGATION).\n without --app, the configured app or the account's only\n app. with --all, or when no app is found, every domain\n the account uses: bought here, being bought, or\n registered elsewhere, each with its addresses\n point <domain> --app <a> [flags]\n point a domain bought here at an app. its domain and its\n www serve the app. owners only\n contacts [list | add --file contact.json | edit <id> --file contact.json | remove <id>] [flags]\n the contacts saved for registering domains. owners only\n paths --app <a> [flags] <hostname>\n the leading path segments this hostname's traffic is split\n by, as PUBLISHED. Read-only: the platform that owns the\n hostname republishes the whole map, so there is no verb\n here that writes one.\n placements --app <a> [--set <region>=<instance>]... [--wildcard] [--catchall] [flags] <hostname>\n without --set, shows which instance serves the hostname in\n each region, whether it is ready, and the addresses to\n point DNS at. with --set, makes the hostname a regional\n domain. each region serves it from the instance named for\n it, and a request is never sent to another region. give\n the whole set every time. --wildcard and --catchall take\n effect only when the domain is created.\n\n --account <a> account (sqid or name; default \"ops\")\n --account-id <id> account sqid, matched as a sqid ONLY\n --console <origin> console to act through (default: the only logged-in one)\n\nSigned-in only (carlos auth login): a claim is a console-authorized write —\nthe console checks the hostname against the deploy's deny list, resolves the\nroute, and writes it. The hostname comes live on the box that owns the route\nat its next domains pass.\n"} |
| +{"case":"domains | --help","argv":["domains","--help"],"exit":1,"stdout":"","stderr":"usage: carlos domains <check|buy|transfer|attach|verify|detach|list|point|contacts|paths|placements> [flags]\n\n check <name> [--country <cc>] [flags]\n check availability and the price for one year\n buy <name> --app <a> [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [flags]\n buy <name> --not-yet [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [flags]\n buy a domain and wait for it to serve the app. with\n --not-yet, buy a domain without pointing it at an app yet.\n buy needs one of --app or --not-yet. --contact <id>\n registers it to that saved contact; with neither contact\n flag, buy uses the one used last\n\n transfer <name> --auth-code <code|-> [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [flags]\n move a domain registered elsewhere here. it keeps the\n nameservers it uses today, so its DNS and email do not\n change. --auth-code - reads the transfer code from stdin.\n waits until the move is done or fails. it can take up to\n five days, or longer if the registrar does not answer.\n owners only\n attach --app <a> [--route <r>] [--wildcard] [--catchall] [--platform] [flags] <hostname>\n claim a customer's hostname for the app, pointed at\n --route (default: the app's single instance record, if it\n has exactly one — otherwise --route is required).\n --wildcard/--catchall are capability flips: naming either\n one changes it, an unset flag leaves it as it was.\n --platform attaches a hostname in this deployment's own\n domains. Platform operators only.\n Where the deployment requires proof of control, the\n hostname is not served until you add the TXT record\n attach prints.\n attach --app <a> '*.<parent>'\n an instance catch-all: each of the app's instances also\n answers at <label>.<parent>, where <label> is its host's\n first label. <parent> must already be attached to an app\n in this account. Signed-in people only; takes no other\n flag. Detach it with: detach --app <a> '*.<parent>'.\n verify --app <a> [--channel <c>] [flags] <hostname>\n check the TXT record and, once it is there, make the\n hostname live. --channel is for a hostname that will be\n the app's first route, when the app follows several.\n detach --app <a> [flags] <hostname>\n release a hostname claim\n list [--app <a> | --all] [flags]\n an app's hostname claims, joined to the fleet's own\n readings sweep (DNS/CERT-EXPIRES/WILDCARD/CATCHALL/DELEGATION).\n without --app, the configured app or the account's only\n app. with --all, or when no app is found, every domain\n the account uses: bought here, being bought, or\n registered elsewhere, each with its addresses\n point <domain> --app <a> [flags]\n point a domain bought here at an app. its domain and its\n www serve the app. owners only\n contacts [list | add --file contact.json | edit <id> --file contact.json | remove <id>] [flags]\n the contacts saved for registering domains. owners only\n paths --app <a> [flags] <hostname>\n the leading path segments this hostname's traffic is split\n by, as PUBLISHED. Read-only: the platform that owns the\n hostname republishes the whole map, so there is no verb\n here that writes one.\n placements --app <a> [--set <region>=<instance>]... [--wildcard] [--catchall] [flags] <hostname>\n without --set, shows which instance serves the hostname in\n each region, whether it is ready, and the addresses to\n point DNS at. with --set, makes the hostname a regional\n domain. each region serves it from the instance named for\n it, and a request is never sent to another region. give\n the whole set every time. --wildcard and --catchall take\n effect only when the domain is created.\n cert <import|remove> --app <a> [flags] <hostname>\n serve a certificate you already hold for an attached\n hostname before its DNS points here, or stop serving it.\n Platform operators only. See: carlos domains cert.\n\n --account <a> account (sqid or name; default \"ops\")\n --account-id <id> account sqid, matched as a sqid ONLY\n --console <origin> console to act through (default: the only logged-in one)\n\nSigned-in only (carlos auth login): a claim is a console-authorized write —\nthe console checks the hostname against the deploy's deny list, resolves the\nroute, and writes it. The hostname comes live on the box that owns the route\nat its next domains pass.\n"} |
| +{"case":"domains | --zz-unknown-flag","argv":["domains","--zz-unknown-flag"],"exit":1,"stdout":"","stderr":"usage: carlos domains <check|buy|transfer|attach|verify|detach|list|point|contacts|paths|placements> [flags]\n\n check <name> [--country <cc>] [flags]\n check availability and the price for one year\n buy <name> --app <a> [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [flags]\n buy <name> --not-yet [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [flags]\n buy a domain and wait for it to serve the app. with\n --not-yet, buy a domain without pointing it at an app yet.\n buy needs one of --app or --not-yet. --contact <id>\n registers it to that saved contact; with neither contact\n flag, buy uses the one used last\n\n transfer <name> --auth-code <code|-> [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [flags]\n move a domain registered elsewhere here. it keeps the\n nameservers it uses today, so its DNS and email do not\n change. --auth-code - reads the transfer code from stdin.\n waits until the move is done or fails. it can take up to\n five days, or longer if the registrar does not answer.\n owners only\n attach --app <a> [--route <r>] [--wildcard] [--catchall] [--platform] [flags] <hostname>\n claim a customer's hostname for the app, pointed at\n --route (default: the app's single instance record, if it\n has exactly one — otherwise --route is required).\n --wildcard/--catchall are capability flips: naming either\n one changes it, an unset flag leaves it as it was.\n --platform attaches a hostname in this deployment's own\n domains. Platform operators only.\n Where the deployment requires proof of control, the\n hostname is not served until you add the TXT record\n attach prints.\n attach --app <a> '*.<parent>'\n an instance catch-all: each of the app's instances also\n answers at <label>.<parent>, where <label> is its host's\n first label. <parent> must already be attached to an app\n in this account. Signed-in people only; takes no other\n flag. Detach it with: detach --app <a> '*.<parent>'.\n verify --app <a> [--channel <c>] [flags] <hostname>\n check the TXT record and, once it is there, make the\n hostname live. --channel is for a hostname that will be\n the app's first route, when the app follows several.\n detach --app <a> [flags] <hostname>\n release a hostname claim\n list [--app <a> | --all] [flags]\n an app's hostname claims, joined to the fleet's own\n readings sweep (DNS/CERT-EXPIRES/WILDCARD/CATCHALL/DELEGATION).\n without --app, the configured app or the account's only\n app. with --all, or when no app is found, every domain\n the account uses: bought here, being bought, or\n registered elsewhere, each with its addresses\n point <domain> --app <a> [flags]\n point a domain bought here at an app. its domain and its\n www serve the app. owners only\n contacts [list | add --file contact.json | edit <id> --file contact.json | remove <id>] [flags]\n the contacts saved for registering domains. owners only\n paths --app <a> [flags] <hostname>\n the leading path segments this hostname's traffic is split\n by, as PUBLISHED. Read-only: the platform that owns the\n hostname republishes the whole map, so there is no verb\n here that writes one.\n placements --app <a> [--set <region>=<instance>]... [--wildcard] [--catchall] [flags] <hostname>\n without --set, shows which instance serves the hostname in\n each region, whether it is ready, and the addresses to\n point DNS at. with --set, makes the hostname a regional\n domain. each region serves it from the instance named for\n it, and a request is never sent to another region. give\n the whole set every time. --wildcard and --catchall take\n effect only when the domain is created.\n cert <import|remove> --app <a> [flags] <hostname>\n serve a certificate you already hold for an attached\n hostname before its DNS points here, or stop serving it.\n Platform operators only. See: carlos domains cert.\n\n --account <a> account (sqid or name; default \"ops\")\n --account-id <id> account sqid, matched as a sqid ONLY\n --console <origin> console to act through (default: the only logged-in one)\n\nSigned-in only (carlos auth login): a claim is a console-authorized write —\nthe console checks the hostname against the deploy's deny list, resolves the\nroute, and writes it. The hostname comes live on the box that owns the route\nat its next domains pass.\n"} |
| +{"case":"domains | -h","argv":["domains","-h"],"exit":1,"stdout":"","stderr":"usage: carlos domains <check|buy|transfer|attach|verify|detach|list|point|contacts|paths|placements> [flags]\n\n check <name> [--country <cc>] [flags]\n check availability and the price for one year\n buy <name> --app <a> [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [flags]\n buy <name> --not-yet [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [flags]\n buy a domain and wait for it to serve the app. with\n --not-yet, buy a domain without pointing it at an app yet.\n buy needs one of --app or --not-yet. --contact <id>\n registers it to that saved contact; with neither contact\n flag, buy uses the one used last\n\n transfer <name> --auth-code <code|-> [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [flags]\n move a domain registered elsewhere here. it keeps the\n nameservers it uses today, so its DNS and email do not\n change. --auth-code - reads the transfer code from stdin.\n waits until the move is done or fails. it can take up to\n five days, or longer if the registrar does not answer.\n owners only\n attach --app <a> [--route <r>] [--wildcard] [--catchall] [--platform] [flags] <hostname>\n claim a customer's hostname for the app, pointed at\n --route (default: the app's single instance record, if it\n has exactly one — otherwise --route is required).\n --wildcard/--catchall are capability flips: naming either\n one changes it, an unset flag leaves it as it was.\n --platform attaches a hostname in this deployment's own\n domains. Platform operators only.\n Where the deployment requires proof of control, the\n hostname is not served until you add the TXT record\n attach prints.\n attach --app <a> '*.<parent>'\n an instance catch-all: each of the app's instances also\n answers at <label>.<parent>, where <label> is its host's\n first label. <parent> must already be attached to an app\n in this account. Signed-in people only; takes no other\n flag. Detach it with: detach --app <a> '*.<parent>'.\n verify --app <a> [--channel <c>] [flags] <hostname>\n check the TXT record and, once it is there, make the\n hostname live. --channel is for a hostname that will be\n the app's first route, when the app follows several.\n detach --app <a> [flags] <hostname>\n release a hostname claim\n list [--app <a> | --all] [flags]\n an app's hostname claims, joined to the fleet's own\n readings sweep (DNS/CERT-EXPIRES/WILDCARD/CATCHALL/DELEGATION).\n without --app, the configured app or the account's only\n app. with --all, or when no app is found, every domain\n the account uses: bought here, being bought, or\n registered elsewhere, each with its addresses\n point <domain> --app <a> [flags]\n point a domain bought here at an app. its domain and its\n www serve the app. owners only\n contacts [list | add --file contact.json | edit <id> --file contact.json | remove <id>] [flags]\n the contacts saved for registering domains. owners only\n paths --app <a> [flags] <hostname>\n the leading path segments this hostname's traffic is split\n by, as PUBLISHED. Read-only: the platform that owns the\n hostname republishes the whole map, so there is no verb\n here that writes one.\n placements --app <a> [--set <region>=<instance>]... [--wildcard] [--catchall] [flags] <hostname>\n without --set, shows which instance serves the hostname in\n each region, whether it is ready, and the addresses to\n point DNS at. with --set, makes the hostname a regional\n domain. each region serves it from the instance named for\n it, and a request is never sent to another region. give\n the whole set every time. --wildcard and --catchall take\n effect only when the domain is created.\n cert <import|remove> --app <a> [flags] <hostname>\n serve a certificate you already hold for an attached\n hostname before its DNS points here, or stop serving it.\n Platform operators only. See: carlos domains cert.\n\n --account <a> account (sqid or name; default \"ops\")\n --account-id <id> account sqid, matched as a sqid ONLY\n --console <origin> console to act through (default: the only logged-in one)\n\nSigned-in only (carlos auth login): a claim is a console-authorized write —\nthe console checks the hostname against the deploy's deny list, resolves the\nroute, and writes it. The hostname comes live on the box that owns the route\nat its next domains pass.\n"} |
| +{"case":"domains | bare","argv":["domains"],"exit":1,"stdout":"","stderr":"usage: carlos domains <check|buy|transfer|attach|verify|detach|list|point|contacts|paths|placements> [flags]\n\n check <name> [--country <cc>] [flags]\n check availability and the price for one year\n buy <name> --app <a> [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [flags]\n buy <name> --not-yet [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [flags]\n buy a domain and wait for it to serve the app. with\n --not-yet, buy a domain without pointing it at an app yet.\n buy needs one of --app or --not-yet. --contact <id>\n registers it to that saved contact; with neither contact\n flag, buy uses the one used last\n\n transfer <name> --auth-code <code|-> [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [flags]\n move a domain registered elsewhere here. it keeps the\n nameservers it uses today, so its DNS and email do not\n change. --auth-code - reads the transfer code from stdin.\n waits until the move is done or fails. it can take up to\n five days, or longer if the registrar does not answer.\n owners only\n attach --app <a> [--route <r>] [--wildcard] [--catchall] [--platform] [flags] <hostname>\n claim a customer's hostname for the app, pointed at\n --route (default: the app's single instance record, if it\n has exactly one — otherwise --route is required).\n --wildcard/--catchall are capability flips: naming either\n one changes it, an unset flag leaves it as it was.\n --platform attaches a hostname in this deployment's own\n domains. Platform operators only.\n Where the deployment requires proof of control, the\n hostname is not served until you add the TXT record\n attach prints.\n attach --app <a> '*.<parent>'\n an instance catch-all: each of the app's instances also\n answers at <label>.<parent>, where <label> is its host's\n first label. <parent> must already be attached to an app\n in this account. Signed-in people only; takes no other\n flag. Detach it with: detach --app <a> '*.<parent>'.\n verify --app <a> [--channel <c>] [flags] <hostname>\n check the TXT record and, once it is there, make the\n hostname live. --channel is for a hostname that will be\n the app's first route, when the app follows several.\n detach --app <a> [flags] <hostname>\n release a hostname claim\n list [--app <a> | --all] [flags]\n an app's hostname claims, joined to the fleet's own\n readings sweep (DNS/CERT-EXPIRES/WILDCARD/CATCHALL/DELEGATION).\n without --app, the configured app or the account's only\n app. with --all, or when no app is found, every domain\n the account uses: bought here, being bought, or\n registered elsewhere, each with its addresses\n point <domain> --app <a> [flags]\n point a domain bought here at an app. its domain and its\n www serve the app. owners only\n contacts [list | add --file contact.json | edit <id> --file contact.json | remove <id>] [flags]\n the contacts saved for registering domains. owners only\n paths --app <a> [flags] <hostname>\n the leading path segments this hostname's traffic is split\n by, as PUBLISHED. Read-only: the platform that owns the\n hostname republishes the whole map, so there is no verb\n here that writes one.\n placements --app <a> [--set <region>=<instance>]... [--wildcard] [--catchall] [flags] <hostname>\n without --set, shows which instance serves the hostname in\n each region, whether it is ready, and the addresses to\n point DNS at. with --set, makes the hostname a regional\n domain. each region serves it from the instance named for\n it, and a request is never sent to another region. give\n the whole set every time. --wildcard and --catchall take\n effect only when the domain is created.\n cert <import|remove> --app <a> [flags] <hostname>\n serve a certificate you already hold for an attached\n hostname before its DNS points here, or stop serving it.\n Platform operators only. See: carlos domains cert.\n\n --account <a> account (sqid or name; default \"ops\")\n --account-id <id> account sqid, matched as a sqid ONLY\n --console <origin> console to act through (default: the only logged-in one)\n\nSigned-in only (carlos auth login): a claim is a console-authorized write —\nthe console checks the hostname against the deploy's deny list, resolves the\nroute, and writes it. The hostname comes live on the box that owns the route\nat its next domains pass.\n"} |
| +{"case":"domains | help","argv":["domains","help"],"exit":1,"stdout":"","stderr":"usage: carlos domains <check|buy|transfer|attach|verify|detach|list|point|contacts|paths|placements> [flags]\n\n check <name> [--country <cc>] [flags]\n check availability and the price for one year\n buy <name> --app <a> [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [flags]\n buy <name> --not-yet [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [flags]\n buy a domain and wait for it to serve the app. with\n --not-yet, buy a domain without pointing it at an app yet.\n buy needs one of --app or --not-yet. --contact <id>\n registers it to that saved contact; with neither contact\n flag, buy uses the one used last\n\n transfer <name> --auth-code <code|-> [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [flags]\n move a domain registered elsewhere here. it keeps the\n nameservers it uses today, so its DNS and email do not\n change. --auth-code - reads the transfer code from stdin.\n waits until the move is done or fails. it can take up to\n five days, or longer if the registrar does not answer.\n owners only\n attach --app <a> [--route <r>] [--wildcard] [--catchall] [--platform] [flags] <hostname>\n claim a customer's hostname for the app, pointed at\n --route (default: the app's single instance record, if it\n has exactly one — otherwise --route is required).\n --wildcard/--catchall are capability flips: naming either\n one changes it, an unset flag leaves it as it was.\n --platform attaches a hostname in this deployment's own\n domains. Platform operators only.\n Where the deployment requires proof of control, the\n hostname is not served until you add the TXT record\n attach prints.\n attach --app <a> '*.<parent>'\n an instance catch-all: each of the app's instances also\n answers at <label>.<parent>, where <label> is its host's\n first label. <parent> must already be attached to an app\n in this account. Signed-in people only; takes no other\n flag. Detach it with: detach --app <a> '*.<parent>'.\n verify --app <a> [--channel <c>] [flags] <hostname>\n check the TXT record and, once it is there, make the\n hostname live. --channel is for a hostname that will be\n the app's first route, when the app follows several.\n detach --app <a> [flags] <hostname>\n release a hostname claim\n list [--app <a> | --all] [flags]\n an app's hostname claims, joined to the fleet's own\n readings sweep (DNS/CERT-EXPIRES/WILDCARD/CATCHALL/DELEGATION).\n without --app, the configured app or the account's only\n app. with --all, or when no app is found, every domain\n the account uses: bought here, being bought, or\n registered elsewhere, each with its addresses\n point <domain> --app <a> [flags]\n point a domain bought here at an app. its domain and its\n www serve the app. owners only\n contacts [list | add --file contact.json | edit <id> --file contact.json | remove <id>] [flags]\n the contacts saved for registering domains. owners only\n paths --app <a> [flags] <hostname>\n the leading path segments this hostname's traffic is split\n by, as PUBLISHED. Read-only: the platform that owns the\n hostname republishes the whole map, so there is no verb\n here that writes one.\n placements --app <a> [--set <region>=<instance>]... [--wildcard] [--catchall] [flags] <hostname>\n without --set, shows which instance serves the hostname in\n each region, whether it is ready, and the addresses to\n point DNS at. with --set, makes the hostname a regional\n domain. each region serves it from the instance named for\n it, and a request is never sent to another region. give\n the whole set every time. --wildcard and --catchall take\n effect only when the domain is created.\n cert <import|remove> --app <a> [flags] <hostname>\n serve a certificate you already hold for an attached\n hostname before its DNS points here, or stop serving it.\n Platform operators only. See: carlos domains cert.\n\n --account <a> account (sqid or name; default \"ops\")\n --account-id <id> account sqid, matched as a sqid ONLY\n --console <origin> console to act through (default: the only logged-in one)\n\nSigned-in only (carlos auth login): a claim is a console-authorized write —\nthe console checks the hostname against the deploy's deny list, resolves the\nroute, and writes it. The hostname comes live on the box that owns the route\nat its next domains pass.\n"} |
| +{"case":"domains | zz-unknown","argv":["domains","zz-unknown"],"exit":1,"stdout":"","stderr":"usage: carlos domains <check|buy|transfer|attach|verify|detach|list|point|contacts|paths|placements> [flags]\n\n check <name> [--country <cc>] [flags]\n check availability and the price for one year\n buy <name> --app <a> [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [flags]\n buy <name> --not-yet [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [flags]\n buy a domain and wait for it to serve the app. with\n --not-yet, buy a domain without pointing it at an app yet.\n buy needs one of --app or --not-yet. --contact <id>\n registers it to that saved contact; with neither contact\n flag, buy uses the one used last\n\n transfer <name> --auth-code <code|-> [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [flags]\n move a domain registered elsewhere here. it keeps the\n nameservers it uses today, so its DNS and email do not\n change. --auth-code - reads the transfer code from stdin.\n waits until the move is done or fails. it can take up to\n five days, or longer if the registrar does not answer.\n owners only\n attach --app <a> [--route <r>] [--wildcard] [--catchall] [--platform] [flags] <hostname>\n claim a customer's hostname for the app, pointed at\n --route (default: the app's single instance record, if it\n has exactly one — otherwise --route is required).\n --wildcard/--catchall are capability flips: naming either\n one changes it, an unset flag leaves it as it was.\n --platform attaches a hostname in this deployment's own\n domains. Platform operators only.\n Where the deployment requires proof of control, the\n hostname is not served until you add the TXT record\n attach prints.\n attach --app <a> '*.<parent>'\n an instance catch-all: each of the app's instances also\n answers at <label>.<parent>, where <label> is its host's\n first label. <parent> must already be attached to an app\n in this account. Signed-in people only; takes no other\n flag. Detach it with: detach --app <a> '*.<parent>'.\n verify --app <a> [--channel <c>] [flags] <hostname>\n check the TXT record and, once it is there, make the\n hostname live. --channel is for a hostname that will be\n the app's first route, when the app follows several.\n detach --app <a> [flags] <hostname>\n release a hostname claim\n list [--app <a> | --all] [flags]\n an app's hostname claims, joined to the fleet's own\n readings sweep (DNS/CERT-EXPIRES/WILDCARD/CATCHALL/DELEGATION).\n without --app, the configured app or the account's only\n app. with --all, or when no app is found, every domain\n the account uses: bought here, being bought, or\n registered elsewhere, each with its addresses\n point <domain> --app <a> [flags]\n point a domain bought here at an app. its domain and its\n www serve the app. owners only\n contacts [list | add --file contact.json | edit <id> --file contact.json | remove <id>] [flags]\n the contacts saved for registering domains. owners only\n paths --app <a> [flags] <hostname>\n the leading path segments this hostname's traffic is split\n by, as PUBLISHED. Read-only: the platform that owns the\n hostname republishes the whole map, so there is no verb\n here that writes one.\n placements --app <a> [--set <region>=<instance>]... [--wildcard] [--catchall] [flags] <hostname>\n without --set, shows which instance serves the hostname in\n each region, whether it is ready, and the addresses to\n point DNS at. with --set, makes the hostname a regional\n domain. each region serves it from the instance named for\n it, and a request is never sent to another region. give\n the whole set every time. --wildcard and --catchall take\n effect only when the domain is created.\n cert <import|remove> --app <a> [flags] <hostname>\n serve a certificate you already hold for an attached\n hostname before its DNS points here, or stop serving it.\n Platform operators only. See: carlos domains cert.\n\n --account <a> account (sqid or name; default \"ops\")\n --account-id <id> account sqid, matched as a sqid ONLY\n --console <origin> console to act through (default: the only logged-in one)\n\nSigned-in only (carlos auth login): a claim is a console-authorized write —\nthe console checks the hostname against the deploy's deny list, resolves the\nroute, and writes it. The hostname comes live on the box that owns the route\nat its next domains pass.\n"} |
| {"case":"economics backhaul | --zz-unknown-flag","argv":["economics","backhaul","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos economics backhaul [--period mtd|last|7d] [--console <origin>]\n\nShows what serving through region edges costs the platform this period:\nthe part of every account's egress that was backhauled from its home box\n(usage.EdgeRow's hop subset — inside the egress totals, never on top),\npriced at the rate card's inter-region $/GB (the extra leg; the home box's\nbytes are already egress) and ABSORBED — it is in nobody's bill (#284).\nOperator only; a non-operator's token gets the same bare 404 an unknown\nroute gets.\nflags:\n --console <string> console to ask (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 --period <string> mtd (default), last, or 7d\n"} |
| {"case":"economics backhaul | -h","argv":["economics","backhaul","-h"],"exit":0,"stdout":"","stderr":"usage: carlos economics backhaul [--period mtd|last|7d] [--console <origin>]\n\nShows what serving through region edges costs the platform this period:\nthe part of every account's egress that was backhauled from its home box\n(usage.EdgeRow's hop subset — inside the egress totals, never on top),\npriced at the rate card's inter-region $/GB (the extra leg; the home box's\nbytes are already egress) and ABSORBED — it is in nobody's bill (#284).\nOperator only; a non-operator's token gets the same bare 404 an unknown\nroute gets.\nflags:\n --console <string> console to ask (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 --period <string> mtd (default), last, or 7d\n"} |
| {"case":"economics bill | --zz-unknown-flag","argv":["economics","bill","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos economics bill --month <YYYY-MM> --total <usd> [--line Service=usd ...] [--basis account|whole] [--console <origin>]\n carlos economics backhaul [--period mtd|last|7d] [--console <origin>]\n\nRecords one month's AWS bill for the economics dashboard. Operator only: the\nconsole answers a non-operator's token with the same bare 404 it gives an\nunknown route (it must not be probeable), so \"not found\" here almost always\nmeans your account lacks the fleet-operator bit.\n\nA manual entry always overwrites whatever the console already holds for that\nmonth — a previous Cost Explorer pull or an earlier manual entry alike.\nflags:\n --basis <string> what the total covers: account (the whole account, which runs only CARLOS) or whole (the whole account, CARLOS and other things)\n --console <string> console to record 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 --line <value> one line item, repeatable: Service=usd\n --month <string> billing month, YYYY-MM (required)\n --total <float> invoice total in US dollars (required)\n"} |