@flowcore/cli-plugin-core v4.9.1
Flowcore CLI Plugin - Core
Core cli plugin, contains the core building blocks for the Flowcore CLI
Usage
$ npm install -g @flowcore/cli-plugin-core
$ core COMMAND
running command...
$ core (--version)
@flowcore/cli-plugin-core/4.1.1 darwin-arm64 node-v20.15.0
$ core --help [COMMAND]
USAGE
$ core COMMAND
...
Commands
core stream STREAM
Stream events from a datacore running on the Flowcore Platform and output them to the console
USAGE
$ core stream STREAM [-e <value>] [-j] [-l] [-m <value>] [-p] [-c] [-s <value>] [--profile <value>]
ARGUMENTS
STREAM stream url to connect to
FLAGS
-c, --scan Scan the full time range
-e, --end=<value> End time to stream to, example: 2024-07-08T12:20:44Z, 1y, 1m, 1w, 1d, 1h, now
-j, --json Output json only
-l, --[no-]live Change to live mode when reaching last time bucket
-m, --max=<value> Maximum number of events to send to the destination
-p, --payload Only send the event payload to the destination
-s, --start=<value> Start time bucket to stream from, example: (2024-07-08T12:20:44Z, 1y, 1m, 1w, 1d, 1h, now)
--profile=<value> Specify the configuration profile to use
DESCRIPTION
Stream events from a datacore running on the Flowcore Platform and output them to the console
EXAMPLES
$ core stream "https://flowcore.io/<org>/<data core>/<flow type>/<event type>.stream"
$ core stream "https://flowcore.io/<org>/<data core>/<flow type>/<event type>.stream" -s 1y
$ core stream "https://flowcore.io/<org>/<data core>/*" -s 1y
$ core stream "https://flowcore.io/<org>/<data core>/<flow type>/*" -s 1y
$ core stream "https://flowcore.io/<org>/<data core>/<flow type>/<event type>.stream" -s 3m --json > some.json
$ core stream "https://flowcore.io/<org>/<data core>/<flow type>/[<event type1>,<event type2>,<event type3>].stream" -s 3m
See code: src/commands/stream.ts
core stream http STREAM
Stream events from a datacore running on the Flowcore Platform and stream to a http endpoint
USAGE
$ core stream http STREAM [-e <value>] [-j] [-l] [-m <value>] [-p] [-c] [-s <value>] [--profile <value>] [-d
<value>] [-H <value>...] [-t <value>]
ARGUMENTS
STREAM stream url to connect to
FLAGS
-H, --header=<value>... [default: ] header to send with the request, example: (-H 'Authorization: Bearer TOKEN')
-c, --scan Scan the full time range
-d, --destination=<value> [default: http://localhost:3000/transform] Destination to send events to
-e, --end=<value> End time to stream to, example: 2024-07-08T12:20:44Z, 1y, 1m, 1w, 1d, 1h, now
-j, --json Output json only
-l, --[no-]live Change to live mode when reaching last time bucket
-m, --max=<value> Maximum number of events to send to the destination
-p, --payload Only send the event payload to the destination
-s, --start=<value> Start time bucket to stream from, example: (2024-07-08T12:20:44Z, 1y, 1m, 1w, 1d, 1h, now)
-t, --timeout=<value> [default: 5000] Timeout in milliseconds to wait for a response from the destination
--profile=<value> Specify the configuration profile to use
DESCRIPTION
Stream events from a datacore running on the Flowcore Platform and stream to a http endpoint
EXAMPLES
$ core stream http "https://flowcore.io/<org>/<data core>/<flow type>/<event type>.stream" -d http://localhost:3000/transform
$ core stream http "https://flowcore.io/<org>/<data core>/<flow type>/<event type>.stream" -s 1y -d http://localhost:3000/transform
$ core stream http "https://flowcore.io/<org>/<data core>/*" -s 1y -d http://localhost:3000/transform
$ core stream http "https://flowcore.io/<org>/<data core>/<flow type>/*" -s 1y -d http://localhost:3000/transform
$ core stream http "https://flowcore.io/<org>/<data core>/<flow type>/[<event type1>,<event type2>,<event type3>].stream" -s 3m -d http://localhost:3000/transform
See code: src/commands/stream/http.ts
8 months ago
8 months ago
8 months ago
8 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
1 year ago
12 months ago
1 year ago
12 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago