auth
Sign in and manage who can reach your boxes| Subcommand | Description |
|---|---|
signin | Browser sign-in; stores the token on the current runtime target in ~/.config/zomg/config.toml (global, used from any directory) |
logout | Sign out; clear the stored token from the current runtime target |
token | Print the current runtime target’s stored auth token |
settings | Show or update global auth settings |
signin
Browser sign-in; stores the token on the current runtime target in ~/.config/zomg/config.toml (global, used from any directory) Aliased aslogin.
| Argument / option | Description |
|---|---|
--port <PORT> | Local callback port; 0 picks any free port. Defaults to 0. |
--no-open | Print URL instead of opening a browser |
--print-token | Print the minted token after sign-in |
logout
Sign out; clear the stored token from the current runtime target Aliased assignout.
| Argument / option | Description |
|---|---|
--all | Clear the stored token from every runtime target, not just the current one |
token
Print the current runtime target’s stored auth token| Argument / option | Description |
|---|---|
--json | Print JSON with token and email |
settings
Show or update global auth settings| Argument / option | Description |
|---|---|
--json | Print the JSON response. |
--protect-system | Require sign-in on the system API domain (published apps, dashboard included, follow their own publish visibility) |
--no-protect-system | Leave the system API domain open |
--allow-all-google-accounts | Allow any Google account |
--workspace-only | Restrict sign-in to configured domains/emails |
--allowed-domain <ALLOWED_DOMAINS> | Replace allowed domains; repeatable |
--clear-allowed-domains | Clear the allowed domain list |
--allowed-email <ALLOWED_EMAILS> | Replace allowed emails; repeatable |
--clear-allowed-emails | Clear the allowed email list |
github
Manage GitHub repo grants and the per-box proxy| Subcommand | Description |
|---|---|
grant | Manage reusable GitHub repo/permission grants |
attach | Attach a grant to a box |
detach | Detach a grant from a box |
box-grants | List grants attached to a box |
proxy-token | Rotate and print a box’s Zomg GitHub proxy token |
config | Show server GitHub App configuration status |
grant
Manage reusable GitHub repo/permission grants| Subcommand | Description |
|---|---|
list | List GitHub grants |
create | Create or update a GitHub grant |
delete | Delete a GitHub grant |
list
List GitHub grants| Argument / option | Description |
|---|---|
--json | Print the JSON response. |
create
Create or update a GitHub grant| Argument / option | Description |
|---|---|
<NAME> | Name. |
--repo <REPOSITORIES> | Allowed repository in owner/name form. Repeat for multiple repositories (repeatable) |
--permission <PERMISSIONS> | Permission in name=read/write form. Repeat for multiple permissions (repeatable) |
--json | Print the JSON response. |
delete
Delete a GitHub grant| Argument / option | Description |
|---|---|
<NAME> | Name. |
attach
Attach a grant to a box| Argument / option | Description |
|---|---|
<BOX_NAME> | Box ref. |
<GRANT> | Grant name. |
-p, --project <PROJECT> | Target project. |
detach
Detach a grant from a box| Argument / option | Description |
|---|---|
<BOX_NAME> | Box ref. |
<GRANT> | Grant name. |
-p, --project <PROJECT> | Target project. |
box-grants
List grants attached to a box| Argument / option | Description |
|---|---|
<BOX_NAME> | Box ref. |
-p, --project <PROJECT> | Target project. |
--json | Print the JSON response. |
proxy-token
Rotate and print a box’s Zomg GitHub proxy token| Argument / option | Description |
|---|---|
<BOX_NAME> | Box ref. |
-p, --project <PROJECT> | Target project. |
--json | Print the JSON response. |
config
Show server GitHub App configuration statususer
Manage deployment users| Subcommand | Description |
|---|---|
list | List deployment users |
create | Create a deployment user |
update | Update a deployment user |
delete | Delete a deployment user |
list
List deployment users| Argument / option | Description |
|---|---|
-j, --json | Print full JSON response |
create
Create a deployment user| Argument / option | Description |
|---|---|
<NAME> | User name |
--email <EMAIL> | Email that resolves to this user at login (pre-create for a teammate) |
--shell <SHELL> | Login shell inside boxes |
-j, --json | Print full JSON response |
update
Update a deployment user| Argument / option | Description |
|---|---|
<NAME> | User name |
--email <EMAIL> | Email that resolves to this user at login (how operators fix collisions) |
--shell <SHELL> | Login shell inside boxes |
-j, --json | Print full JSON response |
delete
Delete a deployment user| Argument / option | Description |
|---|---|
<NAME> | User name |
--purge-home | Also delete /home/<user> from the shared home volume (default: keep) |