CLI reference: sparkwing daemon

CLI reference: sparkwing daemon

Every sparkwing daemon command, flag, and argument, generated from the CLI's own command registry. All command groups are indexed in cli-reference.md.

sparkwing daemonSection anchor link

Inspect and manage the local controller

SubcommandsSection anchor link

  • events -- Read retained local controller events
  • recover-state -- Preserve unreadable daemon state after its holders stop
  • restart -- Restart an answering local controller
  • status -- Report local controller status
  • stop -- Stop the local controller

FlagsSection anchor link

FlagDescription
-o, --output FORMATPretty on a terminal; JSON when piped; explicit format wins. Values: pretty, json, plain.
-C, --checkout PATHResolve the project from this local checkout path.
-h, --helpShow command help without executing.
--help-allInclude uncommon flags in command help.

sparkwing daemon eventsSection anchor link

Read retained local controller events

Show the newest 50 matching records by default, in chronological order within each page. Positive --limit controls the bounded output; increase it to include older records.

JSON emits event records followed by a page record with truncated. Plain and pretty output warn on stderr when older matching records are omitted. --explain reads the complete run timeline, including descendants, without pagination.

FlagsSection anchor link

FlagDescription
-o, --output FORMATPretty on a terminal; JSON when piped; explicit format wins. Values: pretty, json, plain.
-C, --checkout PATHResolve the project from this local checkout path.
-h, --helpShow command help without executing.
--help-allInclude uncommon flags in command help.
--run IDRun ID or per-team run number.
--since DURATIONShow only events recorded within this lookback, such as 30m, 12h, 7d or 2w.
--kind KINDShow only events of this kind. Repeatable; comma-separated values are accepted.
--incarnation NShow only events from this numbered controller start, the N in the #N.seq column; zero shows every start. Must be at least 0.
--limit NMaximum number of records to print, at least one. Raise it to include older records.
--explainPrint the complete admission timeline for the --run run and all its descendant runs, without pagination.

sparkwing daemon recover-stateSection anchor link

Preserve unreadable daemon state after its holders stop

FlagsSection anchor link

FlagDescription
-o, --output FORMATPretty on a terminal; JSON when piped; explicit format wins. Values: pretty, json, plain.
-C, --checkout PATHResolve the project from this local checkout path.
-h, --helpShow command help without executing.
--help-allInclude uncommon flags in command help.
--yesConfirm a destructive change without prompting. (required)

sparkwing daemon restartSection anchor link

Restart an answering local controller

FlagsSection anchor link

FlagDescription
-o, --output FORMATPretty on a terminal; JSON when piped; explicit format wins. Values: pretty, json, plain.
-C, --checkout PATHResolve the project from this local checkout path.
-h, --helpShow command help without executing.
--help-allInclude uncommon flags in command help.
--forceReplace an existing object.

sparkwing daemon statusSection anchor link

Report local controller status

FlagsSection anchor link

FlagDescription
-o, --output FORMATPretty on a terminal; JSON when piped; explicit format wins. Values: pretty, json, plain.
-C, --checkout PATHResolve the project from this local checkout path.
-h, --helpShow command help without executing.
--help-allInclude uncommon flags in command help.

sparkwing daemon stopSection anchor link

Stop the local controller

Stops the local controller and its dashboard. The dashboard no longer returns when a run or schedule next starts the controller; until this stop, a controller that exits idle and restarts on demand serves it again at the same address and read-only policy.

FlagsSection anchor link

FlagDescription
-o, --output FORMATPretty on a terminal; JSON when piped; explicit format wins. Values: pretty, json, plain.
-C, --checkout PATHResolve the project from this local checkout path.
-h, --helpShow command help without executing.
--help-allInclude uncommon flags in command help.