kindgi flows
kindgi flows
Section titled “kindgi flows”Synopsis
kindgi flows <command>Manage flow registrations: publish, list, versions, unregister, reinstate.
Commands
| Command | Description |
|---|---|
kindgi flows list |
List registered flows (the latest version of each). |
kindgi flows get |
Fetch a registered flow: its latest version, or the version given. |
kindgi flows publish |
Register a flow definition at its version. |
kindgi flows unregister |
Unregister a specific flow version: new runs of it are refused; kindgi flows reinstate brings it back. |
kindgi flows versions |
List the registered versions of a flow. |
kindgi flows reinstate |
Bring back an unregistered flow version. |
See also
kindgi flows list
Section titled “kindgi flows list”Synopsis
kindgi flows list [--name=<prefix>] [--include-retired] [--limit=<n>] [--cursor=<c>]List registered flows (the latest version of each).
Options
| Option | Default | Description |
|---|---|---|
--cursor <value> |
none | Resume after this cursor, from the previous page's nextCursor. |
--include-retired |
off | Include retired flows (every version unregistered), each as its highest version with unregisteredAt. |
--limit <value> |
25 (at most 100) |
The most to return (default 25, at most 100). |
--name <value> |
none | Only flows whose id starts with this. |
Every command also takes the global flags.
Examples
List registered flows, retired ones too.
kindgi flows list --include-retiredSee also
kindgi flows get
Section titled “kindgi flows get”Synopsis
kindgi flows get <flow-id> [<version>]Fetch a registered flow: its latest version, or the version given.
Options
Every command also takes the global flags.
Examples
Fetch a flow's latest version.
kindgi flows get acme.nightly-digestFetch one version of a flow.
kindgi flows get acme.nightly-digest 0.1.0See also
kindgi flows publish
Section titled “kindgi flows publish”Synopsis
kindgi flows publish --spec=<json-or-@file> [--project=<project-id>]Register a flow definition at its version. The server checks it: no cycles, every node and edge resolves.
Options
| Option | Default | Description |
|---|---|---|
--project <value> |
the tenant's Default project | The project to register the flow in, by id (default: the tenant's Default project). |
--spec <value> |
required | The flow definition as JSON, or @<file> to read it from a file. Required. |
Every command also takes the global flags.
Examples
Register a flow definition from a file.
kindgi flows publish --spec=@flows/acme.nightly-digest.jsonSee also
kindgi flows unregister
Section titled “kindgi flows unregister”Synopsis
kindgi flows unregister <flow-id> <version>Unregister a specific flow version: new runs of it are refused; kindgi flows reinstate brings it back.
Options
Every command also takes the global flags.
Examples
Unregister a flow version: new runs of it are refused.
kindgi flows unregister acme.nightly-digest 0.1.0See also
kindgi flows versions
Section titled “kindgi flows versions”Synopsis
kindgi flows versions <flow-id> [--include-unregistered] [--limit=<n>] [--cursor=<c>]List the registered versions of a flow.
Options
| Option | Default | Description |
|---|---|---|
--cursor <value> |
none | Resume after this cursor, from the previous page's nextCursor. |
--include-unregistered |
off | Include unregistered versions (each with unregisteredAt), a retired flow's too. |
--limit <value> |
25 (at most 100) |
The most to return (default 25, at most 100). |
Every command also takes the global flags.
Examples
List a flow's versions, unregistered ones too.
kindgi flows versions acme.nightly-digest --include-unregisteredSee also
kindgi flows reinstate
Section titled “kindgi flows reinstate”Synopsis
kindgi flows reinstate <flow-id> <version>Bring back an unregistered flow version.
Options
Every command also takes the global flags.
Examples
Bring back an unregistered flow version.
kindgi flows reinstate acme.nightly-digest 0.1.0See also