@flowcore/cli 2.3.0 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/README.md +34 -3
- package/dist/commands/apply.js +1 -0
- package/oclif.manifest.json +1 -1
- package/package.json +4 -2
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,13 @@
|
|
|
10
10
|
|
|
11
11
|
* added description to start that includes week ([58687a7](https://github.com/flowcore-io/flowcore-cli/commit/58687a7bbb66aaa5d6da26af88e555cbb1e72467))
|
|
12
12
|
|
|
13
|
+
## [2.4.0](https://github.com/flowcore-io/flowcore-cli/compare/v2.3.0...v2.4.0) (2024-02-20)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Features
|
|
17
|
+
|
|
18
|
+
* update flowcore CLI version to 2.3.0 and add new command 'flowcore scenario apply' ([869ec7f](https://github.com/flowcore-io/flowcore-cli/commit/869ec7f848e8a731a9fc08877e1d272d07a59294))
|
|
19
|
+
|
|
13
20
|
## [2.3.0](https://github.com/flowcore-io/flowcore-cli/compare/v2.2.2...v2.3.0) (2024-02-19)
|
|
14
21
|
|
|
15
22
|
|
package/README.md
CHANGED
|
@@ -18,7 +18,7 @@ $ npm install -g @flowcore/cli
|
|
|
18
18
|
$ flowcore COMMAND
|
|
19
19
|
running command...
|
|
20
20
|
$ flowcore (--version)
|
|
21
|
-
@flowcore/cli/2.
|
|
21
|
+
@flowcore/cli/2.4.0 linux-x64 node-v20.11.0
|
|
22
22
|
$ flowcore --help [COMMAND]
|
|
23
23
|
USAGE
|
|
24
24
|
$ flowcore COMMAND
|
|
@@ -44,6 +44,7 @@ USAGE
|
|
|
44
44
|
* [`flowcore plugins:uninstall PLUGIN...`](#flowcore-pluginsuninstall-plugin-1)
|
|
45
45
|
* [`flowcore plugins:uninstall PLUGIN...`](#flowcore-pluginsuninstall-plugin-2)
|
|
46
46
|
* [`flowcore plugins update`](#flowcore-plugins-update)
|
|
47
|
+
* [`flowcore scenario apply`](#flowcore-scenario-apply)
|
|
47
48
|
* [`flowcore stream STREAM`](#flowcore-stream-stream)
|
|
48
49
|
* [`flowcore version`](#flowcore-version)
|
|
49
50
|
* [`flowcore whoami`](#flowcore-whoami)
|
|
@@ -67,7 +68,7 @@ EXAMPLES
|
|
|
67
68
|
$ flowcore apply -f ./path/to/manifest.yml
|
|
68
69
|
```
|
|
69
70
|
|
|
70
|
-
_See code: [src/commands/apply.ts](https://github.com/flowcore-io/flowcore-cli/blob/v2.
|
|
71
|
+
_See code: [src/commands/apply.ts](https://github.com/flowcore-io/flowcore-cli/blob/v2.4.0/src/commands/apply.ts)_
|
|
71
72
|
|
|
72
73
|
## `flowcore autocomplete [SHELL]`
|
|
73
74
|
|
|
@@ -501,6 +502,36 @@ DESCRIPTION
|
|
|
501
502
|
|
|
502
503
|
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v4.2.2/src/commands/plugins/update.ts)_
|
|
503
504
|
|
|
505
|
+
## `flowcore scenario apply`
|
|
506
|
+
|
|
507
|
+
Apply a manifest configuration for a Scenario to the Flowcore Platform
|
|
508
|
+
|
|
509
|
+
```
|
|
510
|
+
USAGE
|
|
511
|
+
$ flowcore scenario apply -f <value> [--profile <value>] [-d] [-n <value>] [-t <value>] [-y]
|
|
512
|
+
|
|
513
|
+
FLAGS
|
|
514
|
+
-d, --[no-]deploy deploy the scenario after applying
|
|
515
|
+
-f, --file=<value>... (required) file to apply
|
|
516
|
+
-n, --name=<value> name of the scenario to apply
|
|
517
|
+
-t, --tenant=<value> tenant to apply the scenario to, this is the org for your organization, it can be seen in the
|
|
518
|
+
url when accessing your organization
|
|
519
|
+
-y, --yes skip confirmation
|
|
520
|
+
--profile=<value> Specify the configuration profile to use
|
|
521
|
+
|
|
522
|
+
DESCRIPTION
|
|
523
|
+
Apply a manifest configuration for a Scenario to the Flowcore Platform
|
|
524
|
+
|
|
525
|
+
EXAMPLES
|
|
526
|
+
$ flowcore scenario apply -t flowcore -f example.yaml
|
|
527
|
+
|
|
528
|
+
$ flowcore scenario apply -t flowcore -n scenario-name -f example.yaml
|
|
529
|
+
|
|
530
|
+
$ cat <<EOF | flowcore scenario apply -f -
|
|
531
|
+
```
|
|
532
|
+
|
|
533
|
+
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v1.0.0/src/commands/scenario/apply.ts)_
|
|
534
|
+
|
|
504
535
|
## `flowcore stream STREAM`
|
|
505
536
|
|
|
506
537
|
Stream events from a datacore running on the Flowcore Platform
|
|
@@ -537,7 +568,7 @@ EXAMPLES
|
|
|
537
568
|
$ flowcore stream https://flowcore.io/<org>/<data core>/<flow type>/[<event type1>,<event type2>,<event type3>].stream -o log -s 3m
|
|
538
569
|
```
|
|
539
570
|
|
|
540
|
-
_See code: [src/commands/stream.ts](https://github.com/flowcore-io/flowcore-cli/blob/v2.
|
|
571
|
+
_See code: [src/commands/stream.ts](https://github.com/flowcore-io/flowcore-cli/blob/v2.4.0/src/commands/stream.ts)_
|
|
541
572
|
|
|
542
573
|
## `flowcore version`
|
|
543
574
|
|
package/dist/commands/apply.js
CHANGED
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
"@datastructures-js/queue": "^4.2.3",
|
|
8
8
|
"@flowcore/cli-plugin-config": "^1.0.5",
|
|
9
9
|
"@flowcore/cli-plugin-data-core": "^1.2.0",
|
|
10
|
+
"@flowcore/cli-plugin-scenario": "^1.0.0",
|
|
10
11
|
"@flowcore/time-bucket": "^1.1.0",
|
|
11
12
|
"@oclif/core": "^3",
|
|
12
13
|
"@oclif/plugin-autocomplete": "^3.0.2",
|
|
@@ -69,7 +70,8 @@
|
|
|
69
70
|
"@oclif/plugin-autocomplete",
|
|
70
71
|
"@oclif/plugin-not-found",
|
|
71
72
|
"@flowcore/cli-plugin-config",
|
|
72
|
-
"@flowcore/cli-plugin-data-core"
|
|
73
|
+
"@flowcore/cli-plugin-data-core",
|
|
74
|
+
"@flowcore/cli-plugin-scenario"
|
|
73
75
|
],
|
|
74
76
|
"topicSeparator": " "
|
|
75
77
|
},
|
|
@@ -87,7 +89,7 @@
|
|
|
87
89
|
"prestart": "npm run build",
|
|
88
90
|
"update-schema": "rover graph introspect https://graph.api.staging.flowcore.io/graphql -o schema.gql"
|
|
89
91
|
},
|
|
90
|
-
"version": "2.
|
|
92
|
+
"version": "2.4.0",
|
|
91
93
|
"bugs": "https://github.com/flowcore-io/flowcore-cli/issues",
|
|
92
94
|
"keywords": [
|
|
93
95
|
"flowcore",
|