Skip to main content

Command line

Every command and option of stardelt in this release, generated from its parser (python/stardelt/cli.json). How to install it, sign in and combine the commands: The command line.

Options for every command​

OptionValueMeaning
--hosta valueNova's base URL (default: $STARDELT_NOVA_URL).

stardelt whoami​

Who Nova thinks you are (JSON).

stardelt doctor​

Check the host, Nova, the sign-in and who you are; each failure names its fix.

stardelt agent​

An agent in your terminal: it reads the catalog and data as you, with the platform's model.

OptionValueMeaning
--endpointNAMEThe ModelEndpoint to use (default: the first reachable one offered to agents).
--onceQUESTIONAnswer one question and exit (0 on an answer, 1 on an error).
--max-stepsa valueModel calls per question (default 8). Default: 8.

stardelt agent serve​

Serve the agent over HTTP for the managed pod (no terminal).

OptionValueMeaning
--porta valueThe port to listen on (default 8080). Default: 8080.
--binda valueThe address to bind (the pod passes 0.0.0.0; default 127.0.0.1). Default: 127.0.0.1.

stardelt login​

Sign in once with a code approved in a browser (device flow).

OptionValueMeaning
--issuera valueYour identity provider's realm address (default: $STARDELT_ISSUER, else asked from Nova's address).
--client-ida valueThe public client to sign in with (default: stardelt-dev).
--federated—Sign in with the CI's own token, no browser (a stage's federated client; #57).
--direct—Send the CI token to Nova itself, no provider exchange (a DeployStage verifies it; needs --federated and --host).
--assertion-enva valueThe environment variable that holds the CI token (default: STARDELT_CI_TOKEN). Default: STARDELT_CI_TOKEN.

stardelt logout​

Forget the stored sign-in.

stardelt setup​

Install local integration files (the VS Code kernel).

stardelt setup vscode​

Write the stardelt kernelspec for VS Code.

OptionValueMeaning
--hosta valueNova's address (default: STARDELT_NOVA_URL or the stored sign-in).
--spark-hosta valueThe Spark Connect host (default spark-<your group's cluster>.<Nova's domain>).
--clustera valueA group SparkCluster this kernel uses; the host becomes spark-<cluster>.<Nova's domain>.

stardelt sql​

Run one statement as you.

ArgumentMeaning
statementThe SQL text; or use -f. Optional.
OptionValueMeaning
-f, --filea valueRead the SQL text from this file, or from standard input when it is -.
--formattable, json, csvDefault: table.
--max-rowsa valuePrint at most N rows (0: all Nova returned).
--long—Run it as a statement: no request stays open, up to 100000 rows, Ctrl-C cancels it in the engine.

stardelt run​

Start a pipeline run now; --wait waits for its end.

ArgumentMeaning
namespace
name
OptionValueMeaning
--wait—Wait until the run ends; exit 0 only when it succeeded.
--timeouta valueWith --wait: give up after N seconds (0: no limit); the run is not stopped.
--intervala valueWith --wait: seconds between two looks (default 5). Default: 5.
--dateYYYY-MM-DDRun it for this date instead of today; the schedule does not change.
--paramNAME=VALUEThis run's value of the schedule parameter NAME; repeat for more. May be given more than once.

stardelt samples​

Load one sample table every guide's example can use.

stardelt samples load​

Load a sample as you, into <catalog>.samples.<name>.

ArgumentMeaning
name
OptionValueMeaning
--cataloga valueThe catalog to load into (default: the catalog Nova uses for you).

stardelt api​

Call any public operation by its operationId.

ArgumentMeaning
operationAn operationId (see --list). Optional.
OptionValueMeaning
--list—List the operations.
-p, --pathNAME=VALUEMay be given more than once.
-q, --queryNAME=VALUEMay be given more than once.
--bodya valueThe request body, as JSON; @FILE reads it from a file, @- from standard input.
--formatjson, tableJson (default) or a table when the answer is a list. Default: json.

stardelt apply​

Create or update a pipeline from a JSON or YAML file.

OptionValueMeaning
-f, --filea valueA pipeline as JSON or YAML, a directory of such files, or - for stdin. Required.
--dry-run—Say what would happen; write nothing.

stardelt export​

Write a pipeline as a file that apply accepts (YAML by default).

ArgumentMeaning
namespace
name
OptionValueMeaning
--formatyaml, jsonYaml (default) or json. Default: yaml.

stardelt lineage​

Where a table comes from and what depends on it (upstream and downstream).

ArgumentMeaning
tableThe table as catalog.schema.table.
OptionValueMeaning
--deptha valueHow many hops each way (default 2). Default: 2.
--daysa valueThe time window in days (default 30). Default: 30.
--upstream—Only the tables it is built from.
--downstream—Only the tables built from it.
--formattable, jsonDefault: table.

stardelt mcp​

A local MCP server over the public API.

stardelt mcp serve​

Serve the read-only tools on stdio, for an MCP client.

OptionValueMeaning
--allowOPERATION_IDAlso offer this operation (e.g. query_run). May be given more than once.
--no-sql—Leave out the guarded SQL tools sql_read and sql_explain.

stardelt mcp config​

Print how to register the server in an MCP client.

stardelt bundle​

Work with a bundle: a directory in Git that describes what a team publishes.

stardelt bundle init​

Write a small bundle that passes validate.

ArgumentMeaning
directoryWhere to write it (default: the current directory). Optional.
OptionValueMeaning
--namea valueThe bundle's name (lower-case letters, digits, dashes). Required.
--groupa valueThe group that owns the bundle's pipelines. Required.

stardelt bundle plan​

Ask Nova what deploying one target would do; writes nothing.

ArgumentMeaning
directoryThe bundle directory (default: the current one). Optional.
OptionValueMeaning
-t, --targeta valueThe target to plan (a name under targets in bundle.yaml). Required.
--prune—Also list the pipelines and stream apps of this bundle target that the bundle no longer names.
--accept-drift—Overwrite a pipeline changed after its last deploy even when the target says drift: block.
--adoptNAMETake over a pipeline made in Nova (repeatable); without it such a pipeline is refused. May be given more than once.
--diff—Also show, on standard error, what each update would change (the deployed value against the bundle's).
--allow-breaking—Also run migration statements that are not additive (a changed file is always refused).
--formatjson, markdownJson: one object per line (default); markdown: a table for a pull request comment. Default: json.

stardelt bundle deploy​

Deploy one target: Nova checks every pipeline first, then they are created or updated.

ArgumentMeaning
directoryThe bundle directory (default: the current one). Optional.
OptionValueMeaning
-t, --targeta valueThe target to deploy (a name under targets in bundle.yaml). Required.
--dry-run—The same as bundle plan.
--prune—Also remove the pipelines and stream apps of this bundle target that the bundle no longer names.
--accept-drift—Overwrite a pipeline changed after its last deploy even when the target says drift: block.
--adoptNAMETake over a pipeline made in Nova (repeatable); without it such a pipeline is refused. May be given more than once.
--diff—Also show, on standard error, what each update changes (the deployed value against the bundle's).
--allow-breaking—Also run migration statements that are not additive (a changed file is always refused).
--smokeNAMEAfter the deploy, run this pipeline of the bundle and fail unless it succeeds.
--smoke-timeoutSECONDSWith --smoke: give up waiting after N seconds (0: no limit); the run is not stopped.
--previewIDDeploy a preview: every name is prefixed with ID and its schedule is removed (a development target only).
--ttla valueWith --preview: how many days the copy lives (1 to 30; default 7).

stardelt bundle approve​

Approve a migration plan that a production deploy needs a second person for.

ArgumentMeaning
plan_idThe planId a refused deploy named; the plan's author cannot approve it.

stardelt bundle summary​

Show what a deploy of one target left on the stage: commit, who, when, changed since.

ArgumentMeaning
directoryThe bundle directory (default: the current one). Optional.
OptionValueMeaning
-t, --targeta valueThe target to show (a name under targets in bundle.yaml). Required.

stardelt bundle run​

Start the pipelines a deploy of one target left on the stage and wait for each; stops at the first that fails.

ArgumentMeaning
directoryThe bundle directory (default: the current one). Optional.
OptionValueMeaning
-t, --targeta valueThe target whose pipelines to run (a name under targets in bundle.yaml). Required.
--onlyNAMERun only this pipeline (its name in the bundle, without the dev- prefix).
--timeouta valueGive up waiting for a run after N seconds (0: no limit); the run is not stopped.
--intervala valueSeconds between two looks at a run (default 5). Default: 5.

stardelt bundle destroy​

Remove what a deploy of one target put on the stage; lists it first, removes only with --yes.

ArgumentMeaning
directoryThe bundle directory (default: the current one). Optional.
OptionValueMeaning
-t, --targeta valueThe target to empty (a name under targets in bundle.yaml). Required.
--yes—Really remove the pipelines (without it: only list them).
--previewIDRemove only the pipelines and streams of this preview (a development target only).

stardelt bundle rollback​

Replay the documents one recorded deployment applied; lists it first, writes only with --yes.

OptionValueMeaning
--deploymenta valueThe deployment id to replay (from stardelt deployments or the Deployments page). Required.
--yes—Really create and update the pipelines (without it: only check every stored document and list what would change).

stardelt bundle generate​

Write a pipeline that was made in the interface into the bundle: its file and its SQL file.

ArgumentMeaning
namespace
name
directoryThe bundle directory (default: the current one). Optional.

stardelt bundle validate​

Check a bundle offline (no host, no sign-in).

ArgumentMeaning
directoryThe bundle directory (default: the current one). Optional.
OptionValueMeaning
-t, --targeta valueCheck this target only.
--formattext, jsonText: sentences and one line per target (default); json: one object for machines. Default: text.

stardelt bundle context​

Set the guides and metric definitions the bundle's context block names.

ArgumentMeaning
directoryThe bundle directory (default: the current one). Optional.
OptionValueMeaning
--check—Answer what would change, write nothing; exits 1 when anything differs.

stardelt bundle evals​

Create or correct the bundle's evals: questions in their catalog.

ArgumentMeaning
directoryThe bundle directory (default: the current one). Optional.
OptionValueMeaning
--check—Answer what would change, write nothing; exits 1 when anything differs.

stardelt bundle dashboards​

Import the bundle's dashboards: folders for one target.

ArgumentMeaning
directoryThe bundle directory (default: the current one). Optional.
OptionValueMeaning
-t, --targeta valueThe target the import is for (a name under targets in bundle.yaml). Required.
--overwrite—Replace a dashboard of the same name.

stardelt deployments​

Read the deployment record: what each bundle deploy put on a stage.

stardelt deployments list​

The newest recorded deploys you may see, newest first.

OptionValueMeaning
--bundlea valueOnly this bundle.
--targeta valueOnly this stage (target).
--formattable, jsonDefault: table.

stardelt deployments show​

One recorded deploy: its pipelines and the documents it applied.

ArgumentMeaning
idThe deployment id, from stardelt deployments list.
OptionValueMeaning
--formattable, jsonDefault: table.
--resources—Also print each rendered Pipeline document this deploy applied, one JSON object per line.

stardelt maintenance​

Run a catalog's table maintenance through Trino (used by the operator's nightly job).

stardelt maintenance run​

Optimize small files, expire snapshots and remove orphan files for every table of a catalog.

OptionValueMeaning
--cataloga valueThe catalog to maintain (a Trino catalog name). Required.
--policya valueThe maintenance policy as JSON (default: $STARDELT_MAINTENANCE_POLICY, else the CRD's defaults).

stardelt skill​

Print the agent skill (SKILL.md); with --write DIR install it.

OptionValueMeaning
--writeDIRWrite DIR/stardelt/SKILL.md, for example.claude/skills.

stardelt notebook​

Work with published notebooks.

stardelt notebook publish​

Publish a notebook as a new version that a schedule can pin.

ArgumentMeaning
fileThe.ipynb file.
OptionValueMeaning
--groupa valueThe owner group (default: your only group).
--namea valueThe name in Nova (default: the file name).
--viewersGROUPSComma-separated groups that may read the version without being members (at most 8).

stardelt dashboards​

Work with Superset dashboards.

stardelt dashboards export​

Write a dashboard as an unzipped Superset export for a bundle; run it inside the bundle (databases/ is not stored).

ArgumentMeaning
dashboard_idThe dashboard's Superset id (the number in its URL).
OptionValueMeaning
-o, --outDIRThe bundle folder to write, for example dashboards/shop. Required.

stardelt dashboards import​

Import a dashboard folder for a bundle's target (the target's databases are remapped).

ArgumentMeaning
DIRThe bundle folder to import, for example dashboards/shop.
OptionValueMeaning
--bundleNAMEThe bundle that owns the dashboards. Required.
--owner-groupGROUPThe bundle's owner group. Required.
--targetSTAGEThe stage the import is for (dev, prod, …). Required.
--commitSHAThe commit the bundle was read at, for the provenance stamp. Default: ``.
--overwrite—Replace a dashboard of the same name.

stardelt evals​

The catalog's evals: a question with a known answer, run them or list them.

stardelt evals list​

The stored evals of a catalog.

OptionValueMeaning
--cataloga valueCatalog to read; omitted, the default one.

stardelt evals run​

Ask every eval, run its answer read-only and record pass or fail.

OptionValueMeaning
--cataloga valueCatalog to run; omitted, the default one.
--onlya valueRun one eval by id.

stardelt query-log​

Read Nova's query log: the administrator's export.

stardelt query-log export​

Write every row as JSON lines, oldest first (administrator only).

OptionValueMeaning
--outa valueThe file to write; --cursor and --append add to it, otherwise it is replaced. Required.
--froma valueOnly rows created at or after this epoch-millisecond time.
--cursora valueThe nextCursor a previous, interrupted export named.
--append—Add the rows to the file instead of replacing it.
--limita valueRows per request, 1 to 1000 (default 500).

stardelt classify​

Suggest a data class for a table's unclassed columns.

stardelt classify columns​

Propose a class from each column's name; writes only with --apply.

ArgumentMeaning
CATALOG.SCHEMA.TABLEThe table to scan.
OptionValueMeaning
--apply—Write the suggestions through the documentation update.
--ownerGROUPClaim an ownerless table for this group (one of yours).