4.9.1 • Published 8 months ago

@flowcore/cli-plugin-core v4.9.1

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

Flowcore CLI Plugin - Core

Core cli plugin, contains the core building blocks for the Flowcore CLI

Version oclif Build and Release

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

4.9.0

8 months ago

4.9.1

8 months ago

4.8.0

8 months ago

4.7.0

8 months ago

4.5.0

9 months ago

4.4.0

9 months ago

4.6.0

9 months ago

4.3.0

9 months ago

4.0.5

9 months ago

4.0.4

9 months ago

4.1.0

9 months ago

4.2.1

9 months ago

4.2.0

9 months ago

4.1.1

9 months ago

4.0.3

10 months ago

4.0.1

10 months ago

4.0.0

10 months ago

4.0.2

10 months ago

3.3.1

10 months ago

3.2.2

10 months ago

3.3.0

10 months ago

3.2.4

10 months ago

3.2.3

10 months ago

3.2.1

10 months ago

3.2.0

10 months ago

3.1.1

10 months ago

3.1.0

10 months ago

3.0.1

10 months ago

3.0.0

10 months ago

2.3.0

10 months ago

2.2.1

10 months ago

2.2.0

10 months ago

2.1.0

10 months ago

2.0.0

10 months ago

1.6.2

10 months ago

1.5.3

1 year ago

1.6.1

12 months ago

1.5.2

1 year ago

1.6.0

12 months ago

1.5.1

1 year ago

1.5.0

1 year ago

1.4.0

1 year ago

1.3.1

1 year ago

1.3.0

1 year ago

1.2.0

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago