Data
Dynamic tables, data, and environment variable commands
axhub tables
Manage an app's dynamic tables.
axhub tables check-availability
Check table name availability.
| Flag | Type | Description | Default |
|---|---|---|---|
--app | string | App slug or id to validate within | — |
--table | string | Proposed table name to validate | — |
axhub tables column-types
List available column types.
| Flag | Type | Description | Default |
|---|---|---|---|
--app | string | App slug or id to inspect column types for | — |
axhub tables columns
Manage table columns.
axhub tables columns add
Add a column.
| Flag | Type | Description | Default |
|---|---|---|---|
--app | string | — | — |
--default | string | — | — |
--dry-run | boolean | — | true |
--execute | boolean | — | — |
--name | string | — | — |
--nullable | boolean | — | — |
--table | string | — | — |
--type | string | — | — |
axhub tables columns remove
Remove a column.
| Flag | Type | Description | Default |
|---|---|---|---|
--app | string | — | — |
--dry-run | boolean | — | true |
--execute | boolean | — | — |
--name | string | — | — |
--table | string | — | — |
axhub tables create
Create a table.
| Flag | Type | Description | Default |
|---|---|---|---|
--app | string | App slug or id that will own the table | — |
--column | string | Column spec name:type[:nullable][:default] | — |
--description | string | Optional human description (max 1000 bytes, ~333 Korean chars or ~1000 ASCII chars) | — |
--dry-run | boolean | Preview the create request without mutating the backend | true |
--execute | boolean | Actually create the table | — |
--owner-column | string | Column name used as the row owner | — |
--schema | string | YAML or JSON schema file | — |
--table | string | Table name to create | — |
axhub tables drop
Drop a table.
| Flag | Type | Description | Default |
|---|---|---|---|
--app | string | — | — |
--confirm | string | — | — |
--dry-run | boolean | — | true |
--execute | boolean | — | — |
--force | boolean | — | — |
--table | string | Table id or table name to drop | — |
axhub tables get
Get table details.
| Flag | Type | Description | Default |
|---|---|---|---|
--app | string | App slug or id that owns the table | — |
--table | string | Table id or table name | — |
axhub tables grants
Manage table access grants.
axhub tables grants issue
Issue a table grant.
| Flag | Type | Description | Default |
|---|---|---|---|
--actions | string | — | — |
--app | string | — | — |
--dry-run | boolean | — | true |
--execute | boolean | — | — |
--principal-id | string | — | — |
--principal-type | string | — | — |
--table | string | — | — |
axhub tables grants list
List table grants.
| Flag | Type | Description | Default |
|---|---|---|---|
--app | string | — | — |
--table | string | — | — |
axhub tables grants revoke
Revoke a table grant.
| Flag | Type | Description | Default |
|---|---|---|---|
--app | string | — | — |
--dry-run | boolean | — | true |
--execute | boolean | — | — |
--grant-id | string | — | — |
--table | string | — | — |
axhub tables list
List tables.
| Flag | Type | Description | Default |
|---|---|---|---|
--all | boolean | Fetch all pages instead of a single page | — |
--app | string | App slug or id to list tables for | — |
--page | integer | Page number to request | — |
--per-page | integer | Number of tables per page | — |
axhub tables rows
View table rows.
| Flag | Type | Description | Default |
|---|---|---|---|
--app | string | App slug or id that owns the table | — |
--page | integer | Page number to request | — |
--per-page | integer | Number of rows per page (max 200) | — |
--table | string | Table name to browse | — |
axhub data
Read and write app table data.
axhub data count
Count rows.
| Flag | Type | Description | Default |
|---|---|---|---|
--app | string | — | — |
--filter | string | Query filter in backend DSL form: col=value or col=op.value | — |
--page | integer | — | — |
--per-page | integer | — | — |
--select | string | Select columns, comma-separated | — |
--sort | string | Sort columns, comma-separated; prefix with '-' for DESC | — |
--table | string | — | — |
axhub data delete
Delete rows.
| Flag | Type | Description | Default |
|---|---|---|---|
--app | string | — | — |
--dry-run | boolean | — | true |
--execute | boolean | — | — |
--id | string | — | — |
--table | string | — | — |
axhub data get
Get a single row.
| Flag | Type | Description | Default |
|---|---|---|---|
--app | string | — | — |
--id | string | — | — |
--table | string | — | — |
axhub data insert
Insert rows.
| Flag | Type | Description | Default |
|---|---|---|---|
--app | string | — | — |
--batch | string | JSONL file, one JSON object per line. Requests are throttled to <=200/min | — |
--body | string | JSON object row body, e.g. '{"title":"x"}' | — |
--dry-run | boolean | — | true |
--execute | boolean | — | — |
--table | string | — | — |
axhub data list
List rows.
| Flag | Type | Description | Default |
|---|---|---|---|
--app | string | — | — |
--filter | string | Query filter in backend DSL form: col=value or col=op.value | — |
--page | integer | — | — |
--per-page | integer | — | — |
--select | string | Select columns, comma-separated | — |
--sort | string | Sort columns, comma-separated; prefix with '-' for DESC | — |
--table | string | — | — |
axhub data update
Update rows.
| Flag | Type | Description | Default |
|---|---|---|---|
--app | string | — | — |
--body | string | JSON object patch body, e.g. '{"status":"done"}' | — |
--dry-run | boolean | — | true |
--execute | boolean | — | — |
--id | string | — | — |
--table | string | — | — |
axhub env
Manage app environment variables.
axhub env delete
Delete an environment variable.
| Flag | Type | Description | Default |
|---|---|---|---|
--app | string | — | — |
--dry-run | boolean | — | true |
--execute | boolean | — | — |
--key | string | — | — |
axhub env get
Get an environment variable.
| Flag | Type | Description | Default |
|---|---|---|---|
--app | string | — | — |
--key | string | — | — |
axhub env list
List environment variables.
| Flag | Type | Description | Default |
|---|---|---|---|
--app | string | — | — |
axhub env set
Set an environment variable.
| Flag | Type | Description | Default |
|---|---|---|---|
--app | string | — | — |
--from-stdin | boolean | — | — |
--key | string | — | — |
--plain | boolean | Mark the value as plain. Mutually exclusive with --secret | — |
--secret | boolean | Mark the value as a secret. Backend masks it on read (value=***) and encrypts at rest. When set, value positional arg is disallowed; use --from-stdin instead | — |
--stage | string | Stage where this variable is available: build, runtime, or both | — |
--value | string | — | — |
axhub env update
Update an environment variable.
| Flag | Type | Description | Default |
|---|---|---|---|
--app | string | — | — |
--from-stdin | boolean | Read the new value from stdin. Mutually exclusive with both positional value and the legacy --value flag — passing more than one input shape is a usage error | — |
--key | string | Env var key to update. Must already exist (otherwise ExitCode 5) | — |
--plain | boolean | Mark as plain on update | — |
--secret | boolean | Mark as secret on update | — |
--stage | string | Stage where this variable is available: build, runtime, or both | — |
--value | string | New value, positional. Mirrors env set KEY VALUE so the two commands share a single argument shape. live-QA Gap C/E showed users hitting unexpected argument 'VALUE' because the only way to pass a value was the --value flag. --value stays as a backward-compatible alias (handler prefers positional when both are passed); pass through stdin with --from-stdin | — |