---
title: CLI command reference
slug: cli-reference
summary: Commands, flags, examples, and pagination from the CLI's own help source.
---

# CLI command reference

<!-- Generated by sdk/cli/cmd/reference. Do not edit. -->

The examples and options below are the same source used by command help. Use names and IDs returned by your own account. Signed release llms.txt includes the reference from that exact source version.

## Common flags

Common options work before, between, and after command words.
Selection order is explicit command-line input, then the environment, then saved
or local context, then the command default. The last repeated singleton option
wins. A positional target that conflicts with a flag is refused; a positional
target overrides environment defaults. -- ends option parsing; use
--profile=--literal for a flag-like value.

Commands that act on a Workspace take it from --workspace, then
LIMILAKE_WORKSPACE, then the linked checkout. When both are set,
LIMILAKE_WORKSPACE and LIMILAKE_WORKSPACE_ID must agree; an explicit --workspace
settles a conflict. Account and local commands do not use a Workspace. Injected
authenticated Workspace bindings cannot be overridden.

App, Connection, Execution, Lakehouse, Search Index, Secret and Table lists
accept --all-workspaces for aggregate results. File and Shortcut lists use it
to find one Lakehouse across Workspaces and list only that Lakehouse's
contents; an ambiguous name fails with a UUID recovery hint. --all-workspaces overrides
ambient Workspace defaults, conflicts with an explicit --workspace, and refuses
any Workspace-bound credential. It selects scope, not pagination; --all
controls paging.

--no-input suppresses prompts and browser opening, allows explicit stdin, and
never implies --yes. Missing prompted input exits 2; a Connection setup that
still needs fields reports them and exits 1. Commands that use checkout
authentication context report a malformed or identity-less binding, or an
invalid binding profile name, as exit 2; an unreadable binding file exits 5.
Diagnostics keep the checkout, the failing file path, and the original
filesystem cause.

--timeout (LIMILAKE_TIMEOUT) is a positive budget for the whole command and
also bounds each operation's own timer. Without it, operations keep their own
defaults: query 135s, connection call 60s, connection test 30s, OAuth 5m,
publication rollback 3m, and no limit for dev and watch commands.
--deadline (LIMILAKE_DEADLINE) is a positive overall budget that includes
discovery, requests, retries and polling. The earliest deadline wins, and a
deadline failure exits 6. Native processes and structured reports keep their
own exits; doctor reports incomplete verification as 10 and an observed failure
as 1.

-o/--output (LIMILAKE_OUTPUT) selects the table, json or yaml format and never
names a file. A download writes its bytes to --output-file PATH, or to stdout
without it. Build, dev, completion scripts and raw downloads keep their own
output. update and upgrade --version select an exact signed release.
--version --check or version --check compares the installed CLI with verified
stable release metadata (5s maximum); ordinary version output stays offline.

Errors are JSON documents on stderr with code, message, hint and docs_url. With
JSON or YAML output, stdout mirrors the error document only before any output
begins, so raw streams and structured documents are never followed by a second
document. A bare noun lists its verbs and exits 0, as a JSON or YAML document
when that output is selected.

JSON and YAML results are typed. Mutations report schema_version, action and
result. Query and Table read return positional columns and rows with row_count,
max_rows and limit_reached. Outside a checkout, or in an unlinked one,
workspace status succeeds with a null checkout or workspace, linked false and a
recovery. agent send streams one event per JSON line or YAML document and ends
with a terminal completed or error event. Progress, prompts and confirmations
use stderr.

## limilake

LimiLake -- run functions, query data, and operate Workspaces.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--profile` | false | — | Profile selection; auth login writes this profile (default: default). Environment: LIMILAKE_PROFILE. |
| `--workspace` | false | — | Workspace UUID, ref, or name; account/local commands do not use it. Environment: LIMILAKE_WORKSPACE. |
| `--output, -o` | false | table | Output format: table,json,yaml. Environment: LIMILAKE_OUTPUT. |
| `--no-input` | false | false | Suppress prompts and browser opening; explicit stdin is allowed; does not imply --yes. Environment: LIMILAKE_NO_INPUT. |
| `--timeout` | false | — | Positive command budget (e.g. 30s); it also bounds each operation's own timer. Environment: LIMILAKE_TIMEOUT. |
| `--deadline` | false | — | Positive overall budget including discovery, requests, retries and polling. Environment: LIMILAKE_DEADLINE. |
| `--all-workspaces` | false | false | Aggregate Workspace scope; File/Shortcut keep one Lakehouse. Conflicts with --workspace; requires unbound credentials. |
| `--check` | false | false | Compare verified stable metadata with --version; no automatic installation (5s maximum). |

## limilake add

Add a blank App, Function, or Query to this checkout.

The common flags above are inherited.

## limilake add app

Add a Vite React App under apps/&lt;slug&gt;/.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--template` | false | blank | Starter source to add; named templates include their reviewed named Queries. |
| `--directory` | false | — | Directory to start Workspace root discovery from. Defaults to the current directory. |
| `--dry-run` | false | false | Report what would change without writing anything. |
| `SLUG` | false | — | App slug: lowercase letters, digits, and interior hyphens. |

Examples:

```bash
# Add a blank Vite React App to this checkout
limilake add app sales-dashboard
```

## limilake add function

Add a Python Function at functions/&lt;slug&gt;/function.py.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--directory` | false | — | Directory to start Workspace root discovery from. Defaults to the current directory. |
| `--dry-run` | false | false | Report what would change without writing anything. |
| `SLUG` | false | — | Function slug: lowercase letters, digits, and interior hyphens. |

Examples:

```bash
# Add a blank Python Function to this checkout
limilake add function recalculate-invoice
```

## limilake add query

Add a named Query at queries/&lt;slug&gt;.sql with its reviewed schema.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--directory` | false | — | Directory to start Workspace root discovery from. Defaults to the current directory. |
| `--dry-run` | false | false | Report what would change without writing anything. |
| `SLUG` | false | — | Query slug: lowercase letters, digits, and interior hyphens. |

Examples:

```bash
# Add a named Query with its reviewed schema
limilake add query active-customers
```

## limilake agent

Inspect and drive Workspace Agents.

The common flags above are inherited.

## limilake agent list

List your Workspace Agents.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--limit` | false | 100 | Maximum Agents to return. |

Bounded result: --limit caps the returned Agents. This API exposes no continuation; a full result does not prove that every Agent was returned.

## limilake agent messages

Show an Agent's durable Agent Conversation.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `AGENT_ID` | true | — | Agent UUID. |

## limilake agent send

Send one prompt and stream live Agent events.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--agent` | false | — | Existing Agent UUID to continue. |
| `--title` | false | — | Title for a newly-created Agent. |
| `--private, --shared` | false | false | Hide a newly-created Agent from other Workspace members. |
| `PROMPT` | true | — | Prompt to send to the Workspace Agent. |

Examples:

```bash
# Send a prompt to a new Workspace Agent
limilake agent send 'Summarize the latest available sales data' --workspace=finance
# Stream the Agent's events as JSON lines
limilake --output=json agent send 'Summarize the latest available sales data' --workspace=finance
```

## limilake agent session

Manage an Agent Sandbox Session.

The common flags above are inherited.

## limilake agent session ensure

Ensure a Sandbox Session for an Agent.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `AGENT_ID` | true | — | Agent UUID. |

## limilake agent session logs

Show the durable Agent Conversation for an Agent Session.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `AGENT_ID` | true | — | Agent UUID. |

## limilake agent show

Show one Agent's details.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `AGENT_ID` | true | — | Agent UUID. |

## limilake app

Manage data apps (code-first .app.tsx UI items).

The common flags above are inherited.

## limilake app list

List apps with their published host, publication state, and last build (optionally scoped to one workspace).

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--all` | false | false | Read every server page; do not combine with --page or --size. |
| `--page` | false | 1 | Page number. |
| `--size` | false | 50 | Page size (max 100). |

Default: one page selected by --page/--size. --all traverses every server page in batches of 100; do not combine it with --page or --size. A failed later page returns failure without printing a partial collection. All traversals stop at 10000 records or 1000 requests and emit no partial collection on failure. Listings are not transactional snapshots.

## limilake app show

Show a single App's details, including its published host, current Build, and Deployment Manifest.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `REFERENCE` | true | — | App UUID, item-id, or name. |

## limilake ask

Ask a question in plain language and answer it from your data.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--max-steps` | false | 6 | Maximum reasoning steps the service may take. |
| `QUESTION` | true | — | Question to ask in plain language. |

Examples:

```bash
# Answer a question from the Workspace's data
limilake ask 'What were total sales last month?' --workspace=finance
```

## limilake audit

Read recorded Workspace access and Tenant authority changes.

The common flags above are inherited.

## limilake audit authority

List Tenant Authority Events for Tenant Roles, user lifecycle, email corrections, auth providers and settings.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--actor` | false | — | Only events by this actor's Tenant User ID. |
| `--subject` | false | — | Only events about this subject's Tenant User ID. |
| `--actor-kind` | false | — | Only events by this kind of actor: tenant_user, platform_operator, migration or system. |
| `--action` | false | — | Only events of this action. |
| `--since` | false | — | Only events at or after this time. |
| `--until` | false | — | Only events before this time. |
| `--all` | false | false | Read every server page; do not combine with --page or --size. |
| `--page` | false | 1 | Page number. |
| `--size` | false | 50 | Page size (max 100). |

Default: one page selected by --page/--size. --all traverses every server page in batches of 100; do not combine it with --page or --size. A failed later page returns failure without printing a partial collection. All traversals stop at 10000 records or 1000 requests and emit no partial collection on failure. Listings are not transactional snapshots.

Examples:

```bash
# List Tenant Role changes since a date
limilake audit authority --action=tenant_role_changed --since=2026-10-01
```

## limilake audit workspace-access

List Workspace Access Events, one for every Membership change and governance action.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--actor` | false | — | Only events by this actor's Tenant User ID. |
| `--subject` | false | — | Only events about this subject's Tenant User ID. |
| `--source` | false | — | Only events from this authority: owner, governance, migration, platform or system. |
| `--action` | false | — | Only events of this action. |
| `--since` | false | — | Only events at or after this time. |
| `--until` | false | — | Only events before this time. |
| `--all` | false | false | Read every server page; do not combine with --page or --size. |
| `--page` | false | 1 | Page number. |
| `--size` | false | 50 | Page size (max 100). |
| `WORKSPACE` | false | — | Only events on this Workspace: UUID, slug, or display name. |

Default: one page selected by --page/--size. --all traverses every server page in batches of 100; do not combine it with --page or --size. A failed later page returns failure without printing a partial collection. All traversals stop at 10000 records or 1000 requests and emit no partial collection on failure. Listings are not transactional snapshots.

Examples:

```bash
# List the governance actions taken on a Workspace
limilake audit workspace-access finance --source=governance
# Read every Workspace access event as JSON
limilake --output=json audit workspace-access --all
```

## limilake auth

Authenticate and manage access tokens.

The common flags above are inherited.

## limilake auth login

Acquire credentials and persist only server-derived identity metadata.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--no-wait` | false | false | Print a user verification URL and code, then exit; poll with auth status. |
| `--restart` | false | false | Replace a pending device login; requires --no-wait. |
| `--host` | true | — | Platform host. |
| `--tenant` | false | — | Verified target Tenant UUID or slug. |
| `--token-stdin` | false | false | Read a PAT/bearer from stdin instead of device OAuth. |

Examples:

```bash
# Sign in to a host and save the work profile
limilake auth login --host=app.limilake.com --profile=work
# Start a device login without waiting and print its URL and code as JSON
limilake --output=json auth login --host=app.limilake.com --profile=work --no-wait
```

## limilake auth logout

Sign this profile out on the platform and forget its stored token.

The common flags above are inherited.

## limilake auth session

Manage your CLI sign-ins on every machine.

The common flags above are inherited.

## limilake auth session list

List your live CLI sign-ins, one per profile and machine.

The common flags above are inherited.

One API collection with no additional CLI paging options. Its API-defined scope and limits still apply.

## limilake auth session revoke

Sign one CLI sign-in out; your other machines stay signed in.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `SESSION_ID` | true | — | Session UUID from auth session list. |

## limilake auth setup-git

Install the non-secret Git helper for a profile or environment token.

The common flags above are inherited.

## limilake auth status

Show the active profile and authenticated user.

The common flags above are inherited.

Examples:

```bash
# Show the signed-in identity, or resume a pending device login
limilake auth status --profile=work
```

## limilake auth token

Manage personal access tokens.

The common flags above are inherited.

## limilake auth token create

Create a personal access token (printed once).

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--days` | false | 90 | Validity in days. |
| `NAME` | true | — | Human label for the token. |

## limilake auth token list

List personal access tokens.

The common flags above are inherited.

One API collection with no additional CLI paging options. Its API-defined scope and limits still apply.

## limilake auth token revoke

Revoke a personal access token.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `TOKEN_ID` | true | — | Token UUID to revoke. |

## limilake billing

Inspect billing (plan, usage, grants).

The common flags above are inherited.

## limilake billing grant

Inspect usage grants.

The common flags above are inherited.

## limilake billing grant list

List usage grants (quota credits).

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--all` | false | false | Read every offset page; --limit sets batch size; do not combine with --offset. |
| `--limit` | false | 50 | Max grants per request; with --all, the size of each batch. |
| `--offset` | false | 0 | Grants to skip. |

Default: one batch selected by --limit/--offset. --all starts at offset zero, uses --limit as batch size, and continues until an empty response. It cannot be combined with --offset. A later failure prints no partial collection. All traversals stop at 10000 records or 1000 requests and emit no partial collection on failure. Listings are not transactional snapshots.

Examples:

```bash
# List every usage grant
limilake billing grant list --all
```

## limilake billing plan

Inspect the tenant's billing plan, period, and per-resource limits.

The common flags above are inherited.

## limilake billing plan show

Show the Tenant's billing plan and limits.

The common flags above are inherited.

Examples:

```bash
# Show the Tenant's plan and per-resource limits
limilake billing plan show
```

## limilake billing usage

Inspect metered usage ledger entries for the tenant.

The common flags above are inherited.

## limilake billing usage list

List metered usage ledger entries.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--all` | false | false | Read every offset page; --limit sets batch size; do not combine with --offset. |
| `--meter` | false | — | Filter by meter code. |
| `--resource` | false | — | Filter by resource id. |
| `--since` | false | — | Only entries at/after this time. |
| `--until` | false | — | Only entries before this time. |
| `--limit` | false | 50 | Max entries per request; with --all, the size of each batch. |
| `--offset` | false | 0 | Entries to skip. |

Default: one batch selected by --limit/--offset. --all starts at offset zero, uses --limit as batch size, and continues until an empty response. It cannot be combined with --offset. A later failure prints no partial collection. All traversals stop at 10000 records or 1000 requests and emit no partial collection on failure. Listings are not transactional snapshots.

Examples:

```bash
# List question usage since a date
limilake billing usage list --meter=questions --since=2026-10-01T00:00:00Z
```

## limilake build

Build the Workspace through the shared Build Engine and emit its Build Manifest.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--out` | false | — | Write artifacts and the Build Manifest to this directory instead of &lt;root&gt;/.limilake/build. |
| `--source-sha` | false | — | Record this exact Git revision identity in the Build Manifest. |
| `--offline` | false | false | Use only the verified managed toolchain cache and local pnpm store; do not acquire or mutate managed packages. |
| `ROOT` | false | . | Workspace root directory to build. |

## limilake completion

Print static shell completion for Bash, Zsh, or Fish.

The common flags above are inherited.

## limilake completion bash

Print static Bash completion; source it in your shell.

The common flags above are inherited.

Examples:

```bash
# Print the Bash completion script
limilake completion bash
```

## limilake completion fish

Print static Fish completion; source it in your shell.

The common flags above are inherited.

Examples:

```bash
# Print the Fish completion script
limilake completion fish
```

## limilake completion zsh

Print static Zsh completion; load after compinit.

The common flags above are inherited.

Examples:

```bash
# Print the Zsh completion script
limilake completion zsh
```

## limilake config

Manage CLI profiles and local configuration.

The common flags above are inherited.

## limilake config get

Read a config value, or dump the resolved profile and link.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `KEY` | false | — | Config key: host, tenant, or active. |

## limilake config set

Set host or active profile; Tenant authority is server-owned.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `KEY` | true | — | Config key. |
| `VALUE` | true | — | Value to set. |

Examples:

```bash
# Point a profile at a host
limilake config set host app.limilake.com --profile=work
```

## limilake connection

Manage workspace connections (provider-bound or custom credentials).

The common flags above are inherited.

## limilake connection authorize

Authorize an existing OAuth Connection through the Setup Contract lifecycle.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--scope` | false | — | OAuth scope (repeatable; custom scopes are allowed). |
| `--no-browser` | false | false | Print OAuth URL instead of opening a browser. |
| `REFERENCE` | true | — | Connection id or stable ref. |

## limilake connection call

Call a Connection through the credential-injecting, SSRF-bounded gateway.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--fail` | false | false | Exit 1 on a non-2xx response; omission retains exit 0 for HTTP failures. |
| `--method` | true | — | Explicit HTTP method. |
| `--path` | true | — | Upstream-relative path beginning with /; no query or fragment. Use --query for parameters. |
| `--query` | false | — | Query key=value (repeatable). |
| `--header` | false | — | Non-credential header name:value (repeatable). |
| `--input` | false | — | JSON, @file, or - for standard input. |
| `--file` | false | — | Send a multipart/form-data body with this local file as one part, as [FIELD=]PATH; FIELD defaults to file (repeatable). Streams from disk. |
| `--field` | false | — | Add a multipart/form-data text field name=value (repeatable). |
| `--body-file` | false | — | Send this local file's bytes unchanged as the whole request body. Streams from disk. |
| `--content-type` | false | — | Content-Type of --body-file; defaults to application/octet-stream. |
| `--output-file` | false | — | Write provider response bytes to a file. |
| `--max-bytes` | false | 10485760 | Maximum request and response size. |
| `REFERENCE` | true | — | Connection id or stable ref. |

Examples:

```bash
# Read one Graph user and fail on an HTTP error
limilake connection call graph --workspace=finance --method=GET --path=/users '--query=$top=1' --fail
# Upload a PDF to the Fortnox inbox as a multipart file
limilake connection call fortnox --workspace=finance --method=POST --path=/3/inbox --file=invoice-1001.pdf --fail
```

## limilake connection create

Create a catalog or Custom Connection through the canonical setup lifecycle.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--provider` | false | — | Catalog provider id. |
| `--custom` | false | false | Create a bounded Custom Connection. |
| `--name` | false | — | Connection display name. |
| `--ref` | false | — | Stable Workspace-unique Connection ref. |
| `--auth-method` | false | — | Setup Contract authentication option. |
| `--field` | false | — | Submit key=value (repeatable). Prefer --values-from - or hidden prompts for secrets. |
| `--values-from` | false | — | Read a JSON object of unique string values from @file or standard input (-). |
| `--base-url` | false | — | Custom upstream HTTPS base URL. |
| `--allowed-host` | false | — | Custom SSRF allowlist host (repeatable). |
| `--inject-header` | false | — | Inject an API key into this header. |
| `--inject-query` | false | — | Inject an API key into this query parameter. |
| `--scope` | false | — | OAuth scope (repeatable; custom scopes are allowed). |
| `--no-browser` | false | false | Print OAuth URL instead of opening a browser. |

Examples:

```bash
# Create an S3 Connection from private JSON on stdin without prompts
limilake connection create --provider=aws-s3 --workspace=finance --values-from=- --no-input < private-connection.json
```

## limilake connection delete

Soft-delete a Connection after explicit confirmation.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--yes` | false | false | Confirm deletion. |
| `REFERENCE` | true | — | Connection id or stable ref. |

## limilake connection list

List connections in the selected Workspace (--workspace, LIMILAKE_WORKSPACE or the linked checkout), or in every Workspace you belong to with --all-workspaces or when none is selected.

The common flags above are inherited.

One API collection with no additional CLI paging options. Its API-defined scope and limits still apply.

## limilake connection move

Move an active Connection to another Workspace while preserving its ref and authorization.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--to-workspace` | true | — | Destination Workspace (UUID/slug/name). |
| `REFERENCE` | true | — | Connection id or stable ref. |

## limilake connection provider

Inspect server-owned Connection Setup Contracts.

The common flags above are inherited.

## limilake connection provider list

List catalog providers and their safe setup capabilities.

The common flags above are inherited.

One API collection with no additional CLI paging options. Its API-defined scope and limits still apply.

## limilake connection provider show

Show the canonical Setup Contract for one provider.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `PROVIDER` | true | — | Catalog provider id. |

Examples:

```bash
# Show the setup contract for the AWS S3 provider
limilake connection provider show aws-s3
```

## limilake connection reauthorize

Replace revoked/expired OAuth grants while preserving the Connection ref.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--scope` | false | — | OAuth scope (repeatable; custom scopes are allowed). |
| `--no-browser` | false | false | Print OAuth URL instead of opening a browser. |
| `REFERENCE` | true | — | Connection id or stable ref. |

## limilake connection show

Show a single connection by id, ref (slug), name, or display name.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `REFERENCE` | true | — | Connection id, ref (slug), name, or display name. |

## limilake connection test

Check a Connection's authenticated provider health through server-described probes.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--bucket` | false | — | S3 bucket for the provider probe (max-keys=1). |
| `REFERENCE` | true | — | Connection id or stable ref. |

Examples:

```bash
# Probe an S3 Connection's authenticated health
limilake connection test enreach_s3 --workspace=finance --bucket=finance-data
```

## limilake connection update

Update non-OAuth metadata or static secrets while preserving identity and grants.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--name` | false | — | Replace the display name; preserve the code-facing ref. |
| `--base-url` | false | — | Replace a custom Connection's HTTPS base URL. |
| `--allowed-host` | false | — | Replace the complete custom host allowlist (repeatable). |
| `--inject-header` | false | — | Replace a custom API-key injection header name. |
| `--field` | false | — | Non-secret metadata key=value (repeatable). Secret fields require stdin. |
| `--values-from` | false | — | Read one bounded JSON object from stdin (-); files and inline secrets are refused. |
| `REFERENCE` | true | — | Credential or Connection UUID, stable ref, or name. |

Examples:

```bash
# Rotate a static Connection's secrets from private JSON on stdin
limilake connection update storage --workspace=finance --values-from=- < private-connection.json
```

## limilake context

Show the effective profile, identity, Tenant Role, Workspace access level, and credential.

The common flags above are inherited.

## limilake credential

Manage credentials and their Workspace grants.

The common flags above are inherited.

## limilake credential grant

Manage a credential's Workspace grants so Workspace code can use its secret.

The common flags above are inherited.

## limilake credential grant create

Grant a credential to a Workspace.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `CREDENTIAL` | true | — | Credential UUID, ref (slug), or name. |
| `WORKSPACE` | true | — | Workspace UUID, slug, or name. |

Examples:

```bash
# Grant a credential to a Workspace
limilake credential grant create finance-api finance
```

## limilake credential grant delete

Revoke a credential's Workspace grant.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--yes, -y` | false | false | Skip the confirmation prompt. |
| `CREDENTIAL` | true | — | Credential UUID, ref (slug), or name. |
| `WORKSPACE` | true | — | Workspace UUID, slug, or name (grant target). |

Examples:

```bash
# Revoke a credential's Workspace grant without a prompt
limilake credential grant delete finance-api finance --yes
```

## limilake credential grant list

List a credential's Workspace grants.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `CREDENTIAL` | true | — | Credential UUID, ref (slug), or name. |

One API collection with no additional CLI paging options. Its API-defined scope and limits still apply.

Examples:

```bash
# List the Workspaces a credential is granted to
limilake credential grant list finance-api
```

## limilake credential list

List credentials in the tenant (config is always redacted).

The common flags above are inherited.

Every credential page is read by default.

## limilake credential update

Update non-OAuth metadata or static secrets while preserving identity and grants.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--name` | false | — | Replace the display name; preserve the code-facing ref. |
| `--base-url` | false | — | Replace a custom Connection's HTTPS base URL. |
| `--allowed-host` | false | — | Replace the complete custom host allowlist (repeatable). |
| `--inject-header` | false | — | Replace a custom API-key injection header name. |
| `--field` | false | — | Non-secret metadata key=value (repeatable). Secret fields require stdin. |
| `--values-from` | false | — | Read one bounded JSON object from stdin (-); files and inline secrets are refused. |
| `REFERENCE` | true | — | Credential or Connection UUID, stable ref, or name. |

Examples:

```bash
# Rotate a credential's secrets through a Workspace it is granted to
limilake credential update storage --workspace=finance --values-from=- < private-connection.json
```

## limilake dev

Run the local Workspace development loop (Vite Apps, Function processes, diagnostics).

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--lakehouse` | false | — | Optional default Lakehouse for named Queries. The full linked-Workspace catalog is always exposed; a sole Lakehouse is automatic. |
| `--host` | false | 127.0.0.1 | Specific interface address or hostname for App previews and the broker/Studio listener. Remote exposure is deliberate; wildcard addresses are refused. |
| `--port` | false | — | Dev-server port for the broker and Studio Protocol. Defaults to an ephemeral port. |
| `--app-port-base` | false | — | First port in the deterministic range of stable App ports. Remote hosts default to 4301; loopback keeps ephemeral ports unless set. |
| `--no-browser` | false | false | Print the Local Studio URL without opening a browser. |
| `--no-functions` | false | false | Start Apps and the local broker without supervising HTTP Functions. |
| `--managed` | false | false | Run the existing development supervisor in managed mode using the platform-provided launch file; never opens or writes Local Studio discovery. |
| `--directory` | false | — | Directory to start Workspace root discovery from. Defaults to the current directory. |

## limilake docs

Read bundled documentation without a network connection.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--raw` | false | false | Print raw Markdown. |
| `TOPIC` | false | — | Topic to print. Omit to list available topics. |

Examples:

```bash
# Read the getting-started guide offline
limilake docs getting-started
```

## limilake doctor

Check authentication, checkout, connections, toolchain, and CLI release without repairs.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--offline` | false | false | Skip network probes; inspect local metadata without repairs. |
| `--connection` | false | — | Probe selected Connection refs (repeatable, at most 20); omission selects up to 20 in the Workspace. |
| `--bucket` | false | — | S3 bucket for authenticated Connection probes; select its Connection with --connection. |
| `--python` | false | false | Inspect Function Python imports and installed optional capability closures without authentication or executing Workspace code. |

Examples:

```bash
# Run the local checks without network access
limilake doctor --offline
```

## limilake execution

Inspect execution history.

The common flags above are inherited.

## limilake execution cancel

Cancel a live execution and its linked sandbox.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `EXECUTION_ID` | true | — | Execution UUID. |

## limilake execution list

List recent executions.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--all` | false | false | Read every server page; do not combine with --page or --size. |
| `--page` | false | 1 | Page number. |
| `--size` | false | 50 | Page size. |

Default: one page selected by --page/--size. --all traverses every server page in batches of 100; do not combine it with --page or --size. A failed later page returns failure without printing a partial collection. All traversals stop at 10000 records or 1000 requests and emit no partial collection on failure. Listings are not transactional snapshots.

## limilake execution logs

Show an execution's captured log lines.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--limit` | false | 200 | Maximum log lines per page. |
| `EXECUTION_ID` | true | — | Execution UUID. |

All log pages are read using the server's next offset. --limit is the per-page size.

## limilake execution show

Show one execution's details.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `EXECUTION_ID` | true | — | Execution UUID. |

## limilake execution watch

Poll an execution until terminal.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `EXECUTION_ID` | true | — | Execution UUID. |

Examples:

```bash
# Follow an execution until it finishes
limilake execution watch 11111111-1111-4111-8111-111111111111
```

## limilake explain

Explain a push rejection code and its fix without a network connection.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `CODE` | true | — | Stable rejection code printed by Git or the CLI. |

Examples:

```bash
# Explain why a push was rejected
limilake explain git_ref_not_allowed
```

## limilake file

List, download, upload, and delete files inside a Lakehouse.

The common flags above are inherited.

## limilake file delete

Delete a file after explicit confirmation.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--yes` | false | false | Confirm deletion. |
| `LAKEHOUSE` | true | — | Lakehouse UUID, slug, or name. |
| `FILE_ID` | true | — | File UUID. |

## limilake file download

Download content for a file inside a Lakehouse via a presigned URL.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--output-file` | false | — | Write bytes to this path; -o json or -o yaml then reports download metadata. Without it the bytes go to stdout. |
| `LAKEHOUSE` | true | — | Lakehouse UUID, slug, or name. |
| `FILE_ID` | true | — | File UUID. |

Examples:

```bash
# Save a file
limilake file download finance 11111111-1111-4111-8111-111111111111 --output-file=report.csv
# Save a file and report its metadata as JSON
limilake --output=json file download finance 11111111-1111-4111-8111-111111111111 --output-file=report.csv
```

## limilake file list

List files stored in a Lakehouse.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--all` | false | false | Read every server page; do not combine with --page or --size. |
| `--page` | false | 1 | Page number. |
| `--size` | false | 100 | Page size (1–100). |
| `LAKEHOUSE` | true | — | Lakehouse UUID, slug, or name. |

Default: the first 100 files requested by the CLI. --page/--size select a server page; --all traverses server pages in batches of 100. Do not combine --all with --page or --size. All traversals stop at 10000 records or 1000 requests and emit no partial collection on failure.

## limilake file upload

Upload a local file into a Lakehouse.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--path` | false | — | Destination path within the Lakehouse files area. |
| `LAKEHOUSE` | true | — | Lakehouse UUID, slug, or name. |
| `SOURCE` | true | — | Local file to upload. |

Examples:

```bash
# Upload a local CSV into the Lakehouse files area
limilake file upload finance report.csv --path=reports/report.csv
```

## limilake function

Manage Workspace Functions.

The common flags above are inherited.

## limilake function commit

Commit named local Function files through a Workspace commit.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--message, -m` | false | Deploy functions via CLI | Commit message. |
| `--branch` | false | main | Target branch. |
| `PATHS` | true | — | Local Function files to commit. |

## limilake function invoke

Invoke a Function server-side or in the local Workspace runtime.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--input` | false | — | JSON object as run input or HTTP body; pass - to read stdin. |
| `--local` | false | false | Run in the Workspace runtime instead of the live sandbox. |
| `--branch` | false | main | Git branch for action or sync dispatch. |
| `--handler` | false | — | Deliberate handler to run: action or sync. Required when the Function declares both. |
| `--path` | false | — | HTTP Function route; inferred for a single-route Function. |
| `--method` | false | — | HTTP Function method; inferred for a single-route Function. |
| `--query` | false | — | HTTP query key=value; repeatable. |
| `FUNCTION` | true | — | Function name or item-id (ULID). |

Examples:

```bash
# Invoke a Function with JSON input
limilake function invoke recalculate-invoice '--input={"invoice_id": 42}'
```

## limilake function list

List functions across the Workspaces you can read.

The common flags above are inherited.

One API collection with no additional CLI paging options. Its API-defined scope and limits still apply.

## limilake function logs

Show recent Function Runs.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--limit` | false | 20 | Number of Function Runs to show. |
| `FUNCTION_PATH` | true | — | Function repository path. |

Bounded result: --limit caps returned Function Runs. This command exposes no continuation.

## limilake function serve

Serve Functions through the Workspace-pinned runtime.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--schedules` | false | false | Also run scheduled triggers locally. |
| `PATH` | false | — | Function file or directory; defaults to the whole Workspace. |

## limilake function show

Show a Function's configuration.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `FUNCTION_PATH` | true | — | Function repository path. |

## limilake function trigger

Simulate Function triggers.

The common flags above are inherited.

## limilake function trigger fire

Enqueue a schedule-attributed Function Run.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--input` | false | — | JSON object as run input; pass - to read stdin. |
| `--branch` | false | main | Git branch to dispatch. |
| `--handler` | false | — | Deliberate handler to run: action or sync. Required when the Function declares both. |
| `FUNCTION` | true | — | Function name or item-id (ULID). |

## limilake function watch

Poll one Function Run until terminal.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `FUNCTION_PATH` | true | — | Function repository path (for example functions/daily/function.py). |
| `RUN_ID` | true | — | Function Run UUID. |

## limilake generate

Regenerate committed Workspace clients from local source.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--directory` | false | — | Directory to start Workspace root discovery from. Defaults to the current directory. |
| `--check` | false | false | Check for generated-client drift without writing anything. |

## limilake governance

Govern every Workspace's metadata and Memberships with a recorded reason.

The common flags above are inherited.

## limilake governance workspace

Govern every Workspace, Personal ones included, as metadata and Memberships.

The common flags above are inherited.

## limilake governance workspace assign-owner

Give an Orphaned Workspace an active owner with a recorded reason.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--reason` | true | — | Why you take this action; recorded on the Workspace Access Event. |
| `WORKSPACE` | true | — | Workspace UUID, slug, or display name. |
| `USER` | true | — | Email or UUID of the active user who becomes owner. |

Examples:

```bash
# Give an Orphaned Workspace a new owner
limilake governance workspace assign-owner sales-archive alice@example.com '--reason=Bob left; Alice now owns the sales archive'
```

## limilake governance workspace delete

Delete a shared Workspace with a recorded reason; Personal Workspaces are refused.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--reason` | true | — | Why you take this action; recorded on the Workspace Access Event. |
| `--yes` | false | false | Skip the confirmation prompt. |
| `WORKSPACE` | true | — | Workspace UUID, slug, or display name. |

Examples:

```bash
# Delete a shared Workspace without a prompt
limilake governance workspace delete old-pilot '--reason=The pilot ended in September' --yes
```

## limilake governance workspace list

List every Workspace in the Tenant, including Personal, deleted and Orphaned ones.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--search` | false | — | Match the name, display name or description. |
| `--state` | false | — | Only Workspaces in this lifecycle state: provisioning, active or deleted. |
| `--personal` | false | false | Only Personal Workspaces. |
| `--orphaned` | false | false | Only Orphaned Workspaces, which no active Tenant User owns. |
| `--all` | false | false | Read every server page; do not combine with --page or --size. |
| `--page` | false | 1 | Page number. |
| `--size` | false | 50 | Page size (max 100). |

Default: one page selected by --page/--size. --all traverses every server page in batches of 100; do not combine it with --page or --size. A failed later page returns failure without printing a partial collection. All traversals stop at 10000 records or 1000 requests and emit no partial collection on failure. Listings are not transactional snapshots.

Examples:

```bash
# List every Personal Workspace
limilake governance workspace list --personal
# List the Workspaces no active user owns
limilake governance workspace list --orphaned
```

## limilake governance workspace member

Read and change any Workspace's Memberships with a recorded reason.

The common flags above are inherited.

## limilake governance workspace member add

Add a user, yourself included, to any Workspace at an access level.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--access-level` | true | — | Workspace access level: viewer, editor or owner. |
| `--reason` | true | — | Why you take this action; recorded on the Workspace Access Event. |
| `WORKSPACE` | true | — | Workspace UUID, slug, or display name. |
| `USER` | true | — | Email or UUID of the active user to add. |

Examples:

```bash
# Give yourself viewer access to a colleague's Personal Workspace
limilake governance workspace member add bob-personal admin@example.com --access-level=viewer '--reason=Recover the reports Bob left behind'
# Add a user to a shared Workspace as editor
limilake governance workspace member add finance alice@example.com --access-level=editor '--reason=Alice joins the finance team'
```

## limilake governance workspace member list

List a Workspace's members and their access levels.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `WORKSPACE` | true | — | Workspace UUID, slug, or display name. |

One API collection with no additional CLI paging options. Its API-defined scope and limits still apply.

Examples:

```bash
# List the members of any Workspace
limilake governance workspace member list finance
```

## limilake governance workspace member remove

Remove a user's Workspace Membership.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--reason` | true | — | Why you take this action; recorded on the Workspace Access Event. |
| `--yes` | false | false | Skip the confirmation prompt. |
| `WORKSPACE` | true | — | Workspace UUID, slug, or display name. |
| `USER` | true | — | Existing member's email or UUID. |

Examples:

```bash
# Remove a member without a prompt
limilake governance workspace member remove finance alice@example.com '--reason=Alice moved to another team' --yes
```

## limilake governance workspace member update

Change a member's Workspace access level.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--access-level` | true | — | New Workspace access level: viewer, editor or owner. |
| `--reason` | true | — | Why you take this action; recorded on the Workspace Access Event. |
| `WORKSPACE` | true | — | Workspace UUID, slug, or display name. |
| `USER` | true | — | Existing member's email or UUID. |

Examples:

```bash
# Lower a member to viewer access
limilake governance workspace member update finance alice@example.com --access-level=viewer '--reason=Read-only access after the audit'
```

## limilake governance workspace restore

Restore a retained deleted shared Workspace with a recorded reason.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--reason` | true | — | Why you take this action; recorded on the Workspace Access Event. |
| `WORKSPACE` | true | — | Workspace UUID, slug, or display name. |

Examples:

```bash
# Restore a deleted shared Workspace
limilake governance workspace restore old-pilot '--reason=The pilot was extended'
```

## limilake governance workspace show

Show one Workspace's governance metadata.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `WORKSPACE` | true | — | Workspace UUID, slug, or display name. |

Examples:

```bash
# Show any Workspace's owners and state
limilake governance workspace show finance
```

## limilake governance workspace update

Edit a Workspace's display name, description or icon with a recorded reason.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--display-name` | false | — | New display name. |
| `--description` | false | — | New description. |
| `--icon` | false | — | New curated Lucide icon name. |
| `--reason` | true | — | Why you take this action; recorded on the Workspace Access Event. |
| `WORKSPACE` | true | — | Workspace UUID, slug, or display name. |

Examples:

```bash
# Rename a Workspace
limilake governance workspace update finance --display-name=Finance '--reason=Align the name with the team'
```

## limilake lakehouse

Manage lakehouses (server-side data containers).

The common flags above are inherited.

## limilake lakehouse create

Create a lakehouse (defaults to bronze/silver/gold schemas).

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--description` | false | — | Optional description. |
| `NAME` | true | — | Lakehouse name. |

## limilake lakehouse delete

Delete a lakehouse after explicit confirmation.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--yes` | false | false | Confirm deletion. |
| `--force` | false | false | Skip the confirmation prompt for this destructive operation. |
| `LAKEHOUSE` | true | — | Lakehouse UUID, slug, or name. |

## limilake lakehouse explain

Explain a lakehouse: live schema from the catalog + the concept doc.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `LAKEHOUSE` | true | — | Lakehouse UUID, slug, or name. |

## limilake lakehouse list

List lakehouses (optionally scoped to one workspace).

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--all` | false | false | Read every server page; do not combine with --page or --size. |
| `--page` | false | 1 | Page number. |
| `--size` | false | 50 | Page size (max 100). |

Default: one page selected by --page/--size. --all traverses every server page in batches of 100; do not combine it with --page or --size. A failed later page returns failure without printing a partial collection. All traversals stop at 10000 records or 1000 requests and emit no partial collection on failure. Listings are not transactional snapshots.

## limilake lakehouse schema

Inspect a lakehouse's schemas.

The common flags above are inherited.

## limilake lakehouse schema show

Show a Lakehouse's schemas.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `LAKEHOUSE` | true | — | Lakehouse UUID, slug, or name. |

Bounded schema result: the API request caps the returned collection; this command exposes no continuation.

Examples:

```bash
# Show a Lakehouse's schemas
limilake lakehouse schema show finance
```

## limilake lakehouse show

Show a lakehouse's details.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `LAKEHOUSE` | true | — | Lakehouse UUID, slug, or name. |

## limilake lineage

Show data lineage for a table.

The common flags above are inherited.

## limilake lineage show

Show upstream and downstream lineage for a table in the workspace.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `TABLE` | true | — | Table as schema.table, bare name, or node id. |

## limilake profile

Manage named authenticated environments.

The common flags above are inherited.

## limilake profile delete

Delete a profile and all locally stored credential bundles belonging to it.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `NAME` | true | — | Profile to delete. |

## limilake profile list

List profiles without reading or revealing credential material.

The common flags above are inherited.

Complete local profile configuration; no API request or remote pagination.

## limilake profile show

Show one profile's non-secret, server-derived metadata.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `NAME` | false | — | Profile name; defaults to active. |

Examples:

```bash
# Show a profile's server-derived metadata
limilake profile show work
```

## limilake profile use

Select the process-default profile for future invocations.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `NAME` | true | — | Profile to make active. |

## limilake publication

Inspect and reverse Publications.

The common flags above are inherited.

## limilake publication rollback

Reactivate a retained Deployment Manifest without running a Build.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--no-wait` | false | false | Report the recorded attempt's identity immediately instead of following it to a terminal state. |
| `MANIFEST` | true | — | Deployment Manifest UUID to reactivate, read from the deployment_manifest_id field of 'limilake publication show'. |

## limilake publication show

Show one Publish attempt, defaulting to this Workspace's newest.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `ATTEMPT` | false | — | Publish attempt UUID. Omit for this Workspace's newest attempt. |

## limilake query

Run ad-hoc read-only SQL against one or more Lakehouses.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--lakehouse, -l` | true | — | Lakehouse ref to attach. Repeatable. |
| `--max-rows` | false | 1000 | Row cap. |
| `SQL` | true | — | SQL to execute (read-only). |

Examples:

```bash
# Run read-only SQL against a Lakehouse
limilake query 'SELECT 1' --lakehouse=finance
# Return positional rows as JSON
limilake --output=json query 'SELECT 1' --lakehouse=finance
```

## limilake query capture

Capture a named Query schema through authorized introspection.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--lakehouse, -l` | false | — | Lakehouse ref to attach. Repeatable; a sole linked Workspace Lakehouse is selected when omitted. |
| `--param` | false | — | Explicit parameter type as name=TYPE, such as limit=BIGINT or price=DECIMAL(10,2). Repeatable; overrides inference. |
| `--app` | false | — | App slug to add this Query capability to. Repeatable; a sole App is selected when omitted. |
| `--directory` | false | — | Directory to start Workspace root discovery from. Defaults to the current directory. |
| `SLUG` | true | — | Named Query slug to capture. |

## limilake query test

Run a named Query with typed parameters and report its latency.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--lakehouse, -l` | false | — | Lakehouse ref to attach. Repeatable; a sole linked Workspace Lakehouse is selected when omitted. |
| `--param` | false | — | Parameter value as name=VALUE, typed by the reviewed schema. Repeatable. |
| `--repeat` | false | 1 | Number of runs to time (1-200). |
| `--max-rows` | false | 1000 | Row cap. |
| `--directory` | false | — | Directory to start Workspace root discovery from. Defaults to the current directory. |
| `SLUG` | true | — | Named Query slug to run. |

## limilake report

Report platform friction to LimiLake support.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--body` | false | — | Optional Markdown details as literal text, @file, or - for standard input. |
| `SUBJECT` | true | — | Short description of what is not working. |

## limilake sandbox

Operate live Sandbox Sessions.

The common flags above are inherited.

## limilake sandbox cancel

Cancel a live Sandbox Session.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `SANDBOX_ID` | true | — | Sandbox Session UUID. |

## limilake search-index

Declare and manage Search Indexes over Lakehouse tables.

The common flags above are inherited.

## limilake search-index declare

Create a Search Index on a table, or bring the one of this name to this declaration.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--lakehouse` | true | — | Lakehouse UUID, slug, or name that holds the source table. |
| `--table` | false | — | Source table, as schema.table. |
| `--key` | false | — | Column that identifies a row; repeat for a key of several columns. |
| `--text` | false | — | Text column that word match and meaning match read; repeatable. |
| `--filter` | false | — | Column copied into the index so a search can filter on it; repeatable. |
| `--context` | false | — | Column prepended to every passage before it is embedded; repeatable. |
| `--date` | false | — | Date or timestamp column for recency filters and sorting. |
| `--language` | false | — | Word-match language, such as english or swedish. |
| `--embedding-role` | false | — | Embedding role that embeds the text (default: the platform's). |
| `--no-chunking` | false | false | Do not split long text into passages. |
| `--from-file` | false | — | Read the whole declaration, the API's JSON body, from PATH instead of the column flags. |
| `NAME` | true | — | Search Index name, unique in the Workspace; what search_index('&lt;name&gt;', ...) takes. |

Examples:

```bash
# Index a notes table for word and meaning search
limilake search-index declare note_search --lakehouse=crm --table=crm.notes --key=note_id --text=body --filter=owner --date=written_at --language=english
# Declare from the API's JSON body in a file
limilake search-index declare note_search --lakehouse=crm --from-file=note_search.json
```

## limilake search-index delete

Delete a Search Index after confirmation; searches of it stop at once.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--lakehouse` | true | — | Lakehouse UUID, slug, or name that holds the index. |
| `--yes` | false | false | Skip the confirmation prompt. |
| `NAME` | true | — | Search Index name. |

Examples:

```bash
# Delete a Search Index without a prompt
limilake search-index delete note_search --lakehouse=crm --yes
```

## limilake search-index list

List the Search Indexes you can read, or one Lakehouse's, with how far each is built.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--lakehouse` | false | — | Only the indexes of this Lakehouse (UUID, slug, or name). |

One API collection with no additional CLI paging options. Its API-defined scope and limits still apply.

Examples:

```bash
# List one Lakehouse's Search Indexes with how far each is built
limilake search-index list --lakehouse=crm
```

## limilake search-index rebuild

Request a new build of a Search Index from its source.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--lakehouse` | true | — | Lakehouse UUID, slug, or name that holds the index. |
| `NAME` | true | — | Search Index name. |

## limilake search-index show

Show one Search Index: its declaration and what the Search Indexer has built.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--lakehouse` | true | — | Lakehouse UUID, slug, or name that holds the index. |
| `NAME` | true | — | Search Index name. |

## limilake secret

Manage workspace secrets (reveal-only key/value credential material).

The common flags above are inherited.

## limilake secret create

Create a reveal-only secret from private JSON input or field pairs.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--field` | false | — | Field as KEY=VALUE (repeatable); prefer --values-from for secrets. |
| `--values-from` | false | — | Read a JSON object of unique string values from standard input (-) or a private @file; maximum 1 MiB. |
| `NAME` | false | — | Secret display name; auto-named server-side if omitted. |

Examples:

```bash
# Create a secret from private JSON on stdin
limilake secret create service-key --workspace=finance --values-from=- < private-secret.json
```

## limilake secret delete

Delete a secret from a workspace.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--yes, -y` | false | false | Skip the confirmation prompt. |
| `SECRET_ID` | true | — | Secret id (UUID). |

## limilake secret list

List secrets in the selected Workspace (--workspace, LIMILAKE_WORKSPACE or the linked checkout), or in every Workspace you belong to with --all-workspaces or when none is selected.

The common flags above are inherited.

One API collection with no additional CLI paging options. Its API-defined scope and limits still apply.

## limilake secret rename

Rename a secret's display label (unique in the workspace).

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `SECRET_ID` | true | — | Secret id (UUID). |
| `NEW_NAME` | true | — | New secret name (workspace-unique). |

## limilake shortcut

Manage cross-workspace shortcut grants (list/add/remove).

The common flags above are inherited.

## limilake shortcut add

Create a cross-workspace delegation grant into the consuming lakehouse.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--source-lakehouse` | true | — | Source Lakehouse UUID, slug, or name. |
| `--source-schema` | true | — | Source schema name. |
| `--source-table` | true | — | Source table name (named tables only). |
| `--alias` | true | — | Consumer-side alias (unique per consuming Lakehouse). |
| `--source-workspace` | false | — | Workspace to scope the source Lakehouse lookup. |
| `LAKEHOUSE` | true | — | Consuming Lakehouse UUID, slug, or name. |

## limilake shortcut list

List the shortcut grants in a consuming lakehouse.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `LAKEHOUSE` | true | — | Consuming Lakehouse UUID, slug, or name. |

One API collection with no additional CLI paging options. Its API-defined scope and limits still apply.

## limilake shortcut remove

Revoke a shortcut grant from a consuming lakehouse.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `LAKEHOUSE` | true | — | Consuming Lakehouse UUID, slug, or name. |
| `GRANT_ID` | true | — | Shortcut Grant UUID to revoke. |

## limilake table

Discover and read tables inside Lakehouses.

The common flags above are inherited.

## limilake table list

List discoverable tables inside Lakehouses you can read.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--lakehouse` | false | — | Filter by an exact canonical Lakehouse slug, qualified ref, or UUID. |

One complete server discovery response for authorized tables. --lakehouse and --workspace filter that response client-side; this endpoint has no page selector.

Examples:

```bash
# List the tables of one Lakehouse in a Workspace
limilake table list --lakehouse=sales --workspace=finance
```

## limilake table read

Read rows from a table through the Lake Query API.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--lakehouse, -l` | true | — | Lakehouse ref the table lives in. |
| `--limit` | false | 100 | Max rows. |
| `TABLE` | true | — | Table as schema.table. |

Examples:

```bash
# Read 20 rows of a table
limilake table read public.customers --lakehouse=finance --limit=20
```

## limilake tenant

Inspect and select verified Tenant authority.

The common flags above are inherited.

## limilake tenant current

Show the canonical Tenant bound to the selected profile.

The common flags above are inherited.

## limilake tenant list

List live Tenant memberships for the selected authenticated profile.

The common flags above are inherited.

One API collection with no additional CLI paging options. Its API-defined scope and limits still apply.

## limilake tenant use

Switch an OAuth profile through the server's live-membership policy.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `TARGET` | true | — | Target Tenant UUID or slug. |

## limilake toolchain

Inspect and repair the managed Build toolchain cache.

The common flags above are inherited.

## limilake toolchain doctor

Verify the exact managed Build toolchain cache without network access or disk mutation.

The common flags above are inherited.

## limilake toolchain repair

Atomically restore the exact managed Build toolchain from signed release artifacts.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--offline` | false | false | Use only an already valid exact-version cache; never contact the package origin. |

## limilake update

Explicitly update the standalone CLI from signed release metadata.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--channel` | false | — | Resolve the current version from this release channel. |
| `--version` | false | — | Select an exact signed release version. |

Examples:

```bash
# Update to the newest stable release
limilake update --channel=stable
# Install an exact signed release, such as the previous one
limilake update --version 0.1.79
```

## limilake upgrade

Explicitly update the standalone CLI from signed release metadata.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--channel` | false | — | Resolve the current version from this release channel. |
| `--version` | false | — | Select an exact signed release version. |

Examples:

```bash
# Update to the newest stable release
limilake update --channel=stable
# Install an exact signed release, such as the previous one
limilake update --version 0.1.79
```

## limilake user

Manage Tenant Users and their Tenant Roles.

The common flags above are inherited.

## limilake user correct-email

Correct a mistyped email on an invited user who has never signed in.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `USER` | true | — | The invited user's current email or UUID. |
| `EMAIL` | true | — | The corrected email address. |

Examples:

```bash
# Correct a mistyped invitation before the user signs in
limilake user correct-email alice@exmaple.com alice@example.com
```

## limilake user deactivate

Deactivate a user's Tenant access.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--yes` | false | false | Skip the confirmation prompt. |
| `USER_ID` | true | — | User UUID to deactivate. |

## limilake user invite

Add a user to the current tenant; they set their own password.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--first-name` | false | — | User's first name. |
| `--last-name` | false | — | User's last name. |
| `EMAIL` | true | — | Email address of the user to add. |

## limilake user list

List users in the current tenant with their Tenant Roles.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--all` | false | false | Read every server page; do not combine with --page or --size. |
| `--search` | false | — | Filter users by email or name. |
| `--page` | false | 1 | Page number. |
| `--size` | false | 50 | Page size (max 100). |

Default: one page selected by --page/--size. --all traverses every server page in batches of 100; do not combine it with --page or --size. A failed later page returns failure without printing a partial collection. All traversals stop at 10000 records or 1000 requests and emit no partial collection on failure. Listings are not transactional snapshots.

## limilake user update

Set a user's Tenant Role to tenant_admin or user.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--tenant-role` | true | — | Tenant Role to set: tenant_admin or user. |
| `USER` | true | — | User email or UUID. |

Examples:

```bash
# Make a user a tenant administrator
limilake user update alice@example.com --tenant-role=tenant_admin
```

## limilake version

Report the executable release and source identity.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--check` | false | false | Compare the installed CLI with verified stable release metadata (5s maximum). |

Examples:

```bash
# Compare the installed CLI with the latest signed stable release
limilake version --check
```

## limilake workspace

Manage Workspaces (access-control boundaries).

The common flags above are inherited.

## limilake workspace clone

Clone a Workspace repository and link the checkout in one step.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--link, --no-link` | false | true | Link the checkout after cloning (default); use --no-link to skip binding. |
| `WORKSPACE` | true | — | Workspace UUID, slug, or display name. |
| `DIRECTORY` | false | — | Directory to clone into. Defaults to the Workspace repository name. |

Examples:

```bash
# Clone and link the Workspace
limilake workspace clone finance ./finance
# Clone to an absolute destination without linking
limilake --no-input --output=json workspace clone finance /tmp/finance-checkout --no-link
```

## limilake workspace create

Create a new Workspace.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--description` | false | — | Optional description. |
| `--idempotency-key` | false | — | Stable caller key for safely reconnecting to the same create request. |
| `DISPLAY_NAME` | true | — | Human-friendly Workspace label. |

## limilake workspace delete

Delete a Workspace after explicit confirmation.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--yes` | false | false | Skip the confirmation prompt. |
| `WORKSPACE` | true | — | Workspace UUID, slug, or display name. |

## limilake workspace doctor

Explain whether ordinary Git can safely use the linked Workspace remote.

The common flags above are inherited.

## limilake workspace domain

Serve Apps and HTTP Functions on custom domains (owners only).

The common flags above are inherited.

## limilake workspace domain add

Serve a published App or an HTTP Function on a hostname and print the DNS records to publish.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--app` | false | — | Published App name, item-id, or UUID to serve. |
| `--function` | false | — | Name or item id of the HTTP Function to serve, as limilake function list shows it. |
| `--edge` | false | direct | direct when DNS points straight at LimiLake (recommended), or cloudflare when the name is proxied through your Cloudflare zone. |
| `--wait` | false | false | Wait until the domain is active, printing each status (--wait=DURATION; default 10m). Exits non-zero on error or timeout. |
| `HOSTNAME` | true | — | Hostname to serve: &lt;name&gt;.apps.limilake.app, or a name under a domain you own. |

Examples:

```bash
# Serve a published App on your own hostname and print the DNS records to publish
limilake workspace domain add kandidat.example.com --app=candidates --workspace=recruitment
# Serve an HTTP Function on a LimiLake subdomain (no DNS needed)
limilake workspace domain add share.apps.limilake.app --function=candidate-share --workspace=recruitment
```

## limilake workspace domain connect

Publish a custom domain's DNS records in its Cloudflare zone with your API token, then check them.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--cloudflare-token-file` | false | — | Read the Cloudflare API token (Zone Read and DNS Edit on the zone) from PATH, or from stdin with -. Without it the token comes from LIMILAKE_CLOUDFLARE_API_TOKEN. |
| `--cloudflare-token` | false | — | Refused: a token on the command line leaks into shell history and the process list. |
| `--replace` | false | false | Replace records LimiLake did not write that are in the way (other address or CNAME records at the hostname, other ACME records at its _acme-challenge name). |
| `DOMAIN` | true | — | Custom domain hostname or UUID. |

Examples:

```bash
# Publish the DNS records in the domain's Cloudflare zone with a token read from stdin
limilake workspace domain connect kandidat.example.com --cloudflare-token-file=- --workspace=recruitment < cloudflare-token.txt
```

## limilake workspace domain edge

Switch a custom domain between direct DNS and a Cloudflare proxy (prints a new edge secret once).

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `DOMAIN` | true | — | Custom domain hostname or UUID. |
| `MODE` | true | — | direct or cloudflare; cloudflare always issues a new edge secret. |

Examples:

```bash
# Switch to a Cloudflare proxy and print the new edge secret once
limilake workspace domain edge kandidat.example.com cloudflare --workspace=recruitment
```

## limilake workspace domain list

List the selected Workspace's custom domains and their status.

The common flags above are inherited.

One API collection with no additional CLI paging options. Its API-defined scope and limits still apply.

## limilake workspace domain remove

Remove a custom domain; it stops serving immediately, and a LimiLake subdomain stays reserved for its Workspace for 30 days.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--yes` | false | false | Skip the confirmation prompt. |
| `DOMAIN` | true | — | Custom domain hostname or UUID. |

Examples:

```bash
# Remove a custom domain without a prompt
limilake workspace domain remove kandidat.example.com --workspace=recruitment --yes
```

## limilake workspace domain show

Show one custom domain: status, error reason, last DNS observation, and DNS records.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `DOMAIN` | true | — | Custom domain hostname or UUID. |

## limilake workspace domain verify

Check a custom domain's DNS records now instead of waiting for the next check.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--wait` | false | false | Keep checking until the domain is active, printing each status (--wait=DURATION; default 10m). Exits non-zero on error or timeout. |
| `DOMAIN` | true | — | Custom domain hostname or UUID. |

Examples:

```bash
# Check the DNS records now instead of waiting
limilake workspace domain verify kandidat.example.com --workspace=recruitment
# Keep checking until the domain is active, for at most 15 minutes
limilake workspace domain verify kandidat.example.com --wait=15m --workspace=recruitment
```

## limilake workspace git-credential

Emit credentials through Git's credential-helper protocol.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `ACTION` | true | — | Git credential action. |

## limilake workspace init

Lay the Workspace Contract skeleton into this checkout.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--directory` | false | — | Directory to initialize. Defaults to the current directory. |
| `--dry-run` | false | false | Report what would change without writing anything. |

## limilake workspace link

Bind the current checkout to a Workspace without wrapping Git.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `WORKSPACE` | true | — | Workspace UUID, slug, or display name. |

Examples:

```bash
# Bind this checkout to a Workspace
limilake workspace link finance
```

## limilake workspace list

List Workspaces you belong to.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--all` | false | false | Read every server page; do not combine with --page or --size. |
| `--page` | false | 1 | Page number. |
| `--size` | false | 50 | Page size. |

Default: one page selected by --page/--size. --all traverses every server page in batches of 100; do not combine it with --page or --size. A failed later page returns failure without printing a partial collection. All traversals stop at 10000 records or 1000 requests and emit no partial collection on failure. Listings are not transactional snapshots.

Examples:

```bash
# List every Workspace you belong to as JSON
limilake --output=json workspace list --all
```

## limilake workspace member

Manage Workspace membership and access levels.

The common flags above are inherited.

## limilake workspace member add

Add a user to the selected Workspace at an access level.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--access-level` | false | editor | Workspace access level: viewer, editor or owner. |
| `USER` | true | — | User email or UUID to add. |

Examples:

```bash
# Give a user editor access to a Workspace
limilake workspace member add alice@example.com --workspace=finance --access-level=editor
```

## limilake workspace member list

List members of the selected Workspace and their access levels.

The common flags above are inherited.

One API collection with no additional CLI paging options. Its API-defined scope and limits still apply.

## limilake workspace member promote

Make an existing member an owner; existing owners remain owners.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--yes` | false | false | Skip the confirmation prompt. |
| `USER` | true | — | Existing member's email or UUID. |

## limilake workspace member remove

Remove a user's Workspace membership.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--yes` | false | false | Skip the confirmation prompt. |
| `USER` | true | — | User email or UUID to remove. |

## limilake workspace member update

Change an existing member's Workspace access level.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--access-level` | true | — | New Workspace access level: viewer, editor or owner. |
| `USER` | true | — | Existing member's email or UUID. |

Examples:

```bash
# Change a member to viewer access
limilake workspace member update alice@example.com --workspace=finance --access-level=viewer
```

## limilake workspace migrate

Upgrade initialized Workspace source to the current Contract without pushing or publishing; use workspace init when limilake.toml is missing.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--directory` | false | — | Directory to start Workspace root discovery from. Defaults to the current directory. |
| `--dry-run` | false | false | Report the Contract migration without writing anything. |

## limilake workspace share

Grant and revoke share ids: tokens a Function checks before it shows what was shared.

The common flags above are inherited.

## limilake workspace share create

Mint a share id for one subject and print its token once; put the token in the link you send.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--kind` | true | — | Your own name for this kind of share, such as candidate: lowercase letters, digits and -, at most 40 characters. |
| `--subject` | true | — | Your own id of what is shared, such as a candidate id; the Function that validates the token reads it. |
| `--expires-in` | false | 7d | How long the share validates: 30m, 24h, 7d, ... between 1m and 365d. |
| `--label` | false | — | Optional note shown in share list, such as who the link was sent to. |
| `--max-uses` | false | 0 | How many times the share validates: 1 makes a one-time share; 0 (the default) means no limit until it expires. |

Examples:

```bash
# Grant a one-off share for one candidate for 7 days and print its token once
limilake workspace share create --kind=candidate --subject=cand_8f2a --expires-in=7d --workspace=recruitment
# Grant a one-time share that opens once, for 24 hours
limilake workspace share create --kind=candidate --subject=cand_8f2a --expires-in=24h --max-uses=1 --workspace=recruitment
# Mint a 24-hour share with a note and read the token from JSON
limilake --output=json workspace share create --kind=candidate --subject=cand_8f2a --expires-in=24h --label=acme-ab --workspace=recruitment
```

## limilake workspace share list

List the Workspace's shares, newest first; tokens are never shown again.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--kind` | false | — | Only shares of this kind. |
| `--subject` | false | — | Only shares of this subject. |
| `--all` | false | false | Also list expired, used-up and revoked shares. |
| `--limit` | false | 100 | Most shares to list, newest first (1 to 500). |
| `--offset` | false | 0 | Skip this many shares first, to page past --limit. |

One API collection with no additional CLI paging options. Its API-defined scope and limits still apply.

Examples:

```bash
# List the live shares of one subject
limilake workspace share list --kind=candidate --subject=cand_8f2a --workspace=recruitment
# List shares 501 to 1000, newest first, expired, used-up and revoked included, as JSON; raise --offset by 500 for each next page
limilake --output=json workspace share list --all --limit=500 --offset=500 --workspace=recruitment
```

## limilake workspace share revoke

Revoke one share by id, or every share of a kind and subject; a revoked share never validates again.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--kind` | false | — | With --subject: revoke every share of this kind and subject. |
| `--subject` | false | — | With --kind: revoke every share of this kind and subject. |
| `SHARE_ID` | false | — | UUID of the one share to revoke, as share list shows it. |

Examples:

```bash
# Revoke one share by its id
limilake workspace share revoke 3f2b8c1e-4d5a-4e6f-8a7b-9c0d1e2f3a4b --workspace=recruitment
# Revoke every share of one candidate
limilake workspace share revoke --kind=candidate --subject=cand_8f2a --workspace=recruitment
```

## limilake workspace share validate

Check a share token as a Function does: print the share it names, or exit 4 when it is not valid. A valid check counts one use, so it uses up a one-time share.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--kind` | true | — | The kind the token must have been minted for. |
| `--subject` | false | — | The subject the token must have been minted for; a token of another subject is not valid. |
| `--token-file` | false | — | Read the token from PATH, or from stdin with -. |
| `TOKEN` | false | — | The share token (ll_share_...). Prefer --token-file when the token must stay out of shell history. |

Examples:

```bash
# Check a share token read from stdin for one candidate, as a Function does; this counts one use
limilake workspace share validate --kind=candidate --subject=cand_8f2a --token-file=- --workspace=recruitment < share-token.txt
```

## limilake workspace show

Show a single Workspace.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `WORKSPACE` | true | — | Workspace UUID, slug, or display name. |

## limilake workspace status

Show the selected profile and local Workspace checkout binding.

The common flags above are inherited.

Examples:

```bash
# Show this checkout's Workspace binding and Git state
limilake workspace status
```

## limilake workspace update

Update a Workspace's editable settings.

The common flags above are inherited.

| Parameter | Required | Default | Purpose |
|---|---|---|---|
| `--display-name` | false | — | New display name. |
| `--description` | false | — | New description. |
| `--icon` | false | — | New curated Lucide icon name. |
| `WORKSPACE` | true | — | Workspace UUID, slug, or display name. |

Examples:

```bash
# Rename a Workspace
limilake workspace update finance --display-name=Finance
```
