@flowcore/cli 2.16.1 → 2.18.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 +14 -0
- package/README.md +99 -6
- package/oclif.manifest.json +1 -1
- package/package.json +7 -3
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,20 @@
|
|
|
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.18.0](https://github.com/flowcore-io/flowcore-cli/compare/v2.17.0...v2.18.0) (2024-08-06)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Features
|
|
17
|
+
|
|
18
|
+
* added reset adapter command ([bf3831c](https://github.com/flowcore-io/flowcore-cli/commit/bf3831c01e1356fa64059d82c3be0517840f7e81))
|
|
19
|
+
|
|
20
|
+
## [2.17.0](https://github.com/flowcore-io/flowcore-cli/compare/v2.16.1...v2.17.0) (2024-07-15)
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### Features
|
|
24
|
+
|
|
25
|
+
* added generator plugin ([3dbf979](https://github.com/flowcore-io/flowcore-cli/commit/3dbf979f11d03a0e61d1f6efdb1c335139ce2db8))
|
|
26
|
+
|
|
13
27
|
## [2.16.1](https://github.com/flowcore-io/flowcore-cli/compare/v2.16.0...v2.16.1) (2024-07-09)
|
|
14
28
|
|
|
15
29
|
|
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.18.0 linux-x64 node-v20.16.0
|
|
22
22
|
$ flowcore --help [COMMAND]
|
|
23
23
|
USAGE
|
|
24
24
|
$ flowcore COMMAND
|
|
@@ -35,8 +35,10 @@ USAGE
|
|
|
35
35
|
* [`flowcore data-core generate event-type FLOWTYPE`](#flowcore-data-core-generate-event-type-flowtype)
|
|
36
36
|
* [`flowcore data-core generate flow-type`](#flowcore-data-core-generate-flow-type)
|
|
37
37
|
* [`flowcore data-core generate manifest`](#flowcore-data-core-generate-manifest)
|
|
38
|
+
* [`flowcore generate nestjs-entity NAME`](#flowcore-generate-nestjs-entity-name)
|
|
38
39
|
* [`flowcore help [COMMANDS]`](#flowcore-help-commands)
|
|
39
40
|
* [`flowcore login`](#flowcore-login)
|
|
41
|
+
* [`flowcore new nextjs-app NAME`](#flowcore-new-nextjs-app-name)
|
|
40
42
|
* [`flowcore plugins`](#flowcore-plugins)
|
|
41
43
|
* [`flowcore plugins:install PLUGIN...`](#flowcore-pluginsinstall-plugin)
|
|
42
44
|
* [`flowcore plugins:inspect PLUGIN...`](#flowcore-pluginsinspect-plugin)
|
|
@@ -47,6 +49,8 @@ USAGE
|
|
|
47
49
|
* [`flowcore plugins:uninstall PLUGIN...`](#flowcore-pluginsuninstall-plugin-1)
|
|
48
50
|
* [`flowcore plugins:uninstall PLUGIN...`](#flowcore-pluginsuninstall-plugin-2)
|
|
49
51
|
* [`flowcore plugins update`](#flowcore-plugins-update)
|
|
52
|
+
* [`flowcore plugins update check`](#flowcore-plugins-update-check)
|
|
53
|
+
* [`flowcore reset adapter ADAPTER`](#flowcore-reset-adapter-adapter)
|
|
50
54
|
* [`flowcore scenario apply`](#flowcore-scenario-apply)
|
|
51
55
|
* [`flowcore scenario generate manifest`](#flowcore-scenario-generate-manifest)
|
|
52
56
|
* [`flowcore scenario generate transformer`](#flowcore-scenario-generate-transformer)
|
|
@@ -75,7 +79,7 @@ EXAMPLES
|
|
|
75
79
|
$ flowcore apply -f ./path/to/manifest.yml
|
|
76
80
|
```
|
|
77
81
|
|
|
78
|
-
_See code: [src/commands/apply.ts](https://github.com/flowcore-io/flowcore-cli/blob/v2.
|
|
82
|
+
_See code: [src/commands/apply.ts](https://github.com/flowcore-io/flowcore-cli/blob/v2.18.0/src/commands/apply.ts)_
|
|
79
83
|
|
|
80
84
|
## `flowcore autocomplete [SHELL]`
|
|
81
85
|
|
|
@@ -273,6 +277,29 @@ EXAMPLES
|
|
|
273
277
|
|
|
274
278
|
_See code: [@flowcore/cli-plugin-data-core](https://github.com/flowcore/flowcore-cli-data-core/blob/v2.2.2/src/commands/data-core/generate/manifest.ts)_
|
|
275
279
|
|
|
280
|
+
## `flowcore generate nestjs-entity NAME`
|
|
281
|
+
|
|
282
|
+
Create a new NestJS entity using the Flowcore IDD approach
|
|
283
|
+
|
|
284
|
+
```
|
|
285
|
+
USAGE
|
|
286
|
+
$ flowcore generate nestjs-entity NAME [--profile <value>]
|
|
287
|
+
|
|
288
|
+
ARGUMENTS
|
|
289
|
+
NAME name of the entity to generate
|
|
290
|
+
|
|
291
|
+
FLAGS
|
|
292
|
+
--profile=<value> Specify the configuration profile to use
|
|
293
|
+
|
|
294
|
+
DESCRIPTION
|
|
295
|
+
Create a new NestJS entity using the Flowcore IDD approach
|
|
296
|
+
|
|
297
|
+
EXAMPLES
|
|
298
|
+
$ flowcore generate nestjs-entity my-entity
|
|
299
|
+
```
|
|
300
|
+
|
|
301
|
+
_See code: [@flowcore/cli-plugin-generator](https://github.com/flowcore/flowcore-cli-plugin-generator/blob/v1.0.0/src/commands/generate/nestjs-entity.ts)_
|
|
302
|
+
|
|
276
303
|
## `flowcore help [COMMANDS]`
|
|
277
304
|
|
|
278
305
|
Display help for flowcore.
|
|
@@ -316,6 +343,29 @@ EXAMPLES
|
|
|
316
343
|
|
|
317
344
|
_See code: [@flowcore/cli-plugin-config](https://github.com/flowcore/flowcore-cli-plugin-config/blob/v1.1.0/src/commands/login.ts)_
|
|
318
345
|
|
|
346
|
+
## `flowcore new nextjs-app NAME`
|
|
347
|
+
|
|
348
|
+
Create a new NestJS application using the Flowcore IDD approach
|
|
349
|
+
|
|
350
|
+
```
|
|
351
|
+
USAGE
|
|
352
|
+
$ flowcore new nextjs-app NAME [--profile <value>]
|
|
353
|
+
|
|
354
|
+
ARGUMENTS
|
|
355
|
+
NAME name of the nextjs app
|
|
356
|
+
|
|
357
|
+
FLAGS
|
|
358
|
+
--profile=<value> Specify the configuration profile to use
|
|
359
|
+
|
|
360
|
+
DESCRIPTION
|
|
361
|
+
Create a new NestJS application using the Flowcore IDD approach
|
|
362
|
+
|
|
363
|
+
EXAMPLES
|
|
364
|
+
$ flowcore new nextjs-app my-app
|
|
365
|
+
```
|
|
366
|
+
|
|
367
|
+
_See code: [@flowcore/cli-plugin-generator](https://github.com/flowcore/flowcore-cli-plugin-generator/blob/v1.0.0/src/commands/new/nextjs-app.ts)_
|
|
368
|
+
|
|
319
369
|
## `flowcore plugins`
|
|
320
370
|
|
|
321
371
|
List installed plugins.
|
|
@@ -595,6 +645,49 @@ DESCRIPTION
|
|
|
595
645
|
|
|
596
646
|
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v4.2.2/src/commands/plugins/update.ts)_
|
|
597
647
|
|
|
648
|
+
## `flowcore plugins update check`
|
|
649
|
+
|
|
650
|
+
check installed plugins for updates
|
|
651
|
+
|
|
652
|
+
```
|
|
653
|
+
USAGE
|
|
654
|
+
$ flowcore plugins update check
|
|
655
|
+
|
|
656
|
+
DESCRIPTION
|
|
657
|
+
check installed plugins for updates
|
|
658
|
+
```
|
|
659
|
+
|
|
660
|
+
_See code: [oclif-plugin-update-notifier](https://github.com/jayree/oclif-plugin-update-notifier/blob/v1.5.84/src/commands/plugins/update/check.ts)_
|
|
661
|
+
|
|
662
|
+
## `flowcore reset adapter ADAPTER`
|
|
663
|
+
|
|
664
|
+
Reset a adapter
|
|
665
|
+
|
|
666
|
+
```
|
|
667
|
+
USAGE
|
|
668
|
+
$ flowcore reset adapter ADAPTER -s <value> -t <value> [--profile <value>] [-b <value>] [-e <value>]
|
|
669
|
+
|
|
670
|
+
ARGUMENTS
|
|
671
|
+
ADAPTER adapter name or id
|
|
672
|
+
|
|
673
|
+
FLAGS
|
|
674
|
+
-b, --bucket=<value> time bucket
|
|
675
|
+
-e, --eventId=<value> time uuid
|
|
676
|
+
-s, --scenario=<value> (required) scenario
|
|
677
|
+
-t, --tenant=<value> (required) tenant
|
|
678
|
+
--profile=<value> Specify the configuration profile to use
|
|
679
|
+
|
|
680
|
+
DESCRIPTION
|
|
681
|
+
Reset a adapter
|
|
682
|
+
|
|
683
|
+
EXAMPLES
|
|
684
|
+
$ flowcore reset adapter adapter-name -t tenant-name -s scenario-name -b 20240718110000
|
|
685
|
+
|
|
686
|
+
$ flowcore reset adapter adapter-name -t tenant-name -s scenario-name -e 9cb35da2-ba64-4bb5-86d6-ef20ebc62ab7
|
|
687
|
+
```
|
|
688
|
+
|
|
689
|
+
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v2.11.0/src/commands/reset/adapter.ts)_
|
|
690
|
+
|
|
598
691
|
## `flowcore scenario apply`
|
|
599
692
|
|
|
600
693
|
Apply a manifest configuration for a Scenario to the Flowcore Platform
|
|
@@ -623,7 +716,7 @@ EXAMPLES
|
|
|
623
716
|
$ cat <<EOF | flowcore scenario apply -f -
|
|
624
717
|
```
|
|
625
718
|
|
|
626
|
-
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v2.
|
|
719
|
+
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v2.11.0/src/commands/scenario/apply.ts)_
|
|
627
720
|
|
|
628
721
|
## `flowcore scenario generate manifest`
|
|
629
722
|
|
|
@@ -655,7 +748,7 @@ EXAMPLES
|
|
|
655
748
|
$ flowcore scenario generate manifest -t flowcore -n scenario-name -f example.yaml
|
|
656
749
|
```
|
|
657
750
|
|
|
658
|
-
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v2.
|
|
751
|
+
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v2.11.0/src/commands/scenario/generate/manifest.ts)_
|
|
659
752
|
|
|
660
753
|
## `flowcore scenario generate transformer`
|
|
661
754
|
|
|
@@ -682,7 +775,7 @@ EXAMPLES
|
|
|
682
775
|
$ flowcore scenario generate transformer -n flow-type-name -d "description of the transformer" -f example.yaml
|
|
683
776
|
```
|
|
684
777
|
|
|
685
|
-
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v2.
|
|
778
|
+
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v2.11.0/src/commands/scenario/generate/transformer.ts)_
|
|
686
779
|
|
|
687
780
|
## `flowcore scenario local`
|
|
688
781
|
|
|
@@ -714,7 +807,7 @@ EXAMPLES
|
|
|
714
807
|
$ cat <<EOF | flowcore scenario local -f -
|
|
715
808
|
```
|
|
716
809
|
|
|
717
|
-
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v2.
|
|
810
|
+
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v2.11.0/src/commands/scenario/local.ts)_
|
|
718
811
|
|
|
719
812
|
## `flowcore stream STREAM`
|
|
720
813
|
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -8,7 +8,8 @@
|
|
|
8
8
|
"@flowcore/cli-plugin-config": "^1.1.0",
|
|
9
9
|
"@flowcore/cli-plugin-core": "^1.6.1",
|
|
10
10
|
"@flowcore/cli-plugin-data-core": "^2.2.2",
|
|
11
|
-
"@flowcore/cli-plugin-
|
|
11
|
+
"@flowcore/cli-plugin-generator": "^1.0.0",
|
|
12
|
+
"@flowcore/cli-plugin-scenario": "^2.11.0",
|
|
12
13
|
"@flowcore/time-bucket": "^1.1.0",
|
|
13
14
|
"@oclif/core": "^3",
|
|
14
15
|
"@oclif/plugin-autocomplete": "^3.0.2",
|
|
@@ -26,6 +27,7 @@
|
|
|
26
27
|
"jwt-decode": "^4.0.0",
|
|
27
28
|
"lodash": "^4.17.21",
|
|
28
29
|
"merge": "^2.1.1",
|
|
30
|
+
"oclif-plugin-update-notifier": "^1.5.84",
|
|
29
31
|
"rxjs": "^7.8.1",
|
|
30
32
|
"session": "^0.1.0"
|
|
31
33
|
},
|
|
@@ -71,10 +73,12 @@
|
|
|
71
73
|
"@oclif/plugin-plugins",
|
|
72
74
|
"@oclif/plugin-autocomplete",
|
|
73
75
|
"@oclif/plugin-not-found",
|
|
76
|
+
"oclif-plugin-update-notifier",
|
|
74
77
|
"@flowcore/cli-plugin-config",
|
|
75
78
|
"@flowcore/cli-plugin-data-core",
|
|
76
79
|
"@flowcore/cli-plugin-scenario",
|
|
77
|
-
"@flowcore/cli-plugin-core"
|
|
80
|
+
"@flowcore/cli-plugin-core",
|
|
81
|
+
"@flowcore/cli-plugin-generator"
|
|
78
82
|
],
|
|
79
83
|
"topicSeparator": " "
|
|
80
84
|
},
|
|
@@ -92,7 +96,7 @@
|
|
|
92
96
|
"prestart": "npm run build",
|
|
93
97
|
"update-schema": "rover graph introspect https://graph.api.staging.flowcore.io/graphql -o schema.gql"
|
|
94
98
|
},
|
|
95
|
-
"version": "2.
|
|
99
|
+
"version": "2.18.0",
|
|
96
100
|
"bugs": "https://github.com/flowcore-io/flowcore-cli/issues",
|
|
97
101
|
"keywords": [
|
|
98
102
|
"flowcore",
|