@flowcore/cli 2.18.0 → 2.19.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 +19 -0
- package/README.md +101 -8
- package/oclif.manifest.json +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,25 @@
|
|
|
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.19.0](https://github.com/flowcore-io/flowcore-cli/compare/v2.18.1...v2.19.0) (2024-08-19)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Features
|
|
17
|
+
|
|
18
|
+
* updated scenario plugin ([7b56a9f](https://github.com/flowcore-io/flowcore-cli/commit/7b56a9ff8fcbb5508f570dcd2c12096df1238a52))
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Bug Fixes
|
|
22
|
+
|
|
23
|
+
* update plugin scenario ([feb85cd](https://github.com/flowcore-io/flowcore-cli/commit/feb85cd27edf859b1b81001404e9868c99f2e3ef))
|
|
24
|
+
|
|
25
|
+
## [2.18.1](https://github.com/flowcore-io/flowcore-cli/compare/v2.18.0...v2.18.1) (2024-08-06)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Bug Fixes
|
|
29
|
+
|
|
30
|
+
* updated scenario plugin ([0240288](https://github.com/flowcore-io/flowcore-cli/commit/0240288cb238a212182728ad17369c80d281846f))
|
|
31
|
+
|
|
13
32
|
## [2.18.0](https://github.com/flowcore-io/flowcore-cli/compare/v2.17.0...v2.18.0) (2024-08-06)
|
|
14
33
|
|
|
15
34
|
|
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.19.0 linux-x64 node-v20.16.0
|
|
22
22
|
$ flowcore --help [COMMAND]
|
|
23
23
|
USAGE
|
|
24
24
|
$ flowcore COMMAND
|
|
@@ -36,8 +36,11 @@ USAGE
|
|
|
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
38
|
* [`flowcore generate nestjs-entity NAME`](#flowcore-generate-nestjs-entity-name)
|
|
39
|
+
* [`flowcore get adapter [ADAPTER]`](#flowcore-get-adapter-adapter)
|
|
40
|
+
* [`flowcore get scenario [SCENARIO]`](#flowcore-get-scenario-scenario)
|
|
39
41
|
* [`flowcore help [COMMANDS]`](#flowcore-help-commands)
|
|
40
42
|
* [`flowcore login`](#flowcore-login)
|
|
43
|
+
* [`flowcore logs adapter ADAPTER`](#flowcore-logs-adapter-adapter)
|
|
41
44
|
* [`flowcore new nextjs-app NAME`](#flowcore-new-nextjs-app-name)
|
|
42
45
|
* [`flowcore plugins`](#flowcore-plugins)
|
|
43
46
|
* [`flowcore plugins:install PLUGIN...`](#flowcore-pluginsinstall-plugin)
|
|
@@ -79,7 +82,7 @@ EXAMPLES
|
|
|
79
82
|
$ flowcore apply -f ./path/to/manifest.yml
|
|
80
83
|
```
|
|
81
84
|
|
|
82
|
-
_See code: [src/commands/apply.ts](https://github.com/flowcore-io/flowcore-cli/blob/v2.
|
|
85
|
+
_See code: [src/commands/apply.ts](https://github.com/flowcore-io/flowcore-cli/blob/v2.19.0/src/commands/apply.ts)_
|
|
83
86
|
|
|
84
87
|
## `flowcore autocomplete [SHELL]`
|
|
85
88
|
|
|
@@ -300,6 +303,59 @@ EXAMPLES
|
|
|
300
303
|
|
|
301
304
|
_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
305
|
|
|
306
|
+
## `flowcore get adapter [ADAPTER]`
|
|
307
|
+
|
|
308
|
+
Get adapter
|
|
309
|
+
|
|
310
|
+
```
|
|
311
|
+
USAGE
|
|
312
|
+
$ flowcore get adapter [ADAPTER] -s <value> -t <value> [--profile <value>]
|
|
313
|
+
|
|
314
|
+
ARGUMENTS
|
|
315
|
+
ADAPTER adapter name or id
|
|
316
|
+
|
|
317
|
+
FLAGS
|
|
318
|
+
-s, --scenario=<value> (required) scenario
|
|
319
|
+
-t, --tenant=<value> (required) tenant
|
|
320
|
+
--profile=<value> Specify the configuration profile to use
|
|
321
|
+
|
|
322
|
+
DESCRIPTION
|
|
323
|
+
Get adapter
|
|
324
|
+
|
|
325
|
+
EXAMPLES
|
|
326
|
+
$ flowcore get adapter -t tenant-name -s scenario-name
|
|
327
|
+
|
|
328
|
+
$ flowcore get adapter adapter-name -t tenant-name -s scenario-name
|
|
329
|
+
```
|
|
330
|
+
|
|
331
|
+
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v2.13.0/src/commands/get/adapter.ts)_
|
|
332
|
+
|
|
333
|
+
## `flowcore get scenario [SCENARIO]`
|
|
334
|
+
|
|
335
|
+
Get scenario
|
|
336
|
+
|
|
337
|
+
```
|
|
338
|
+
USAGE
|
|
339
|
+
$ flowcore get scenario [SCENARIO] -t <value> [--profile <value>]
|
|
340
|
+
|
|
341
|
+
ARGUMENTS
|
|
342
|
+
SCENARIO scenario name
|
|
343
|
+
|
|
344
|
+
FLAGS
|
|
345
|
+
-t, --tenant=<value> (required) tenant
|
|
346
|
+
--profile=<value> Specify the configuration profile to use
|
|
347
|
+
|
|
348
|
+
DESCRIPTION
|
|
349
|
+
Get scenario
|
|
350
|
+
|
|
351
|
+
EXAMPLES
|
|
352
|
+
$ flowcore get scenario -t tenant-name
|
|
353
|
+
|
|
354
|
+
$ flowcore get scenario scenario-name -t tenant-name
|
|
355
|
+
```
|
|
356
|
+
|
|
357
|
+
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v2.13.0/src/commands/get/scenario.ts)_
|
|
358
|
+
|
|
303
359
|
## `flowcore help [COMMANDS]`
|
|
304
360
|
|
|
305
361
|
Display help for flowcore.
|
|
@@ -343,6 +399,41 @@ EXAMPLES
|
|
|
343
399
|
|
|
344
400
|
_See code: [@flowcore/cli-plugin-config](https://github.com/flowcore/flowcore-cli-plugin-config/blob/v1.1.0/src/commands/login.ts)_
|
|
345
401
|
|
|
402
|
+
## `flowcore logs adapter ADAPTER`
|
|
403
|
+
|
|
404
|
+
Get adapter logs
|
|
405
|
+
|
|
406
|
+
```
|
|
407
|
+
USAGE
|
|
408
|
+
$ flowcore logs adapter ADAPTER -s <value> -t <value> [--profile <value>] [-a] [-f] [-j] [-l <value>]
|
|
409
|
+
|
|
410
|
+
ARGUMENTS
|
|
411
|
+
ADAPTER adapter name or id
|
|
412
|
+
|
|
413
|
+
FLAGS
|
|
414
|
+
-a, --allComponents display logs for all components of the adapter, including Flowcore components
|
|
415
|
+
-f, --follow follow
|
|
416
|
+
-j, --json json
|
|
417
|
+
-l, --limit=<value> [default: 1000] limit
|
|
418
|
+
-s, --scenario=<value> (required) scenario
|
|
419
|
+
-t, --tenant=<value> (required) tenant
|
|
420
|
+
--profile=<value> Specify the configuration profile to use
|
|
421
|
+
|
|
422
|
+
DESCRIPTION
|
|
423
|
+
Get adapter logs
|
|
424
|
+
|
|
425
|
+
EXAMPLES
|
|
426
|
+
$ flowcore logs adapter adapter-name -t tenant-name -s scenario-name
|
|
427
|
+
|
|
428
|
+
$ flowcore logs adapter adapter-name -t tenant-name -s scenario-name -f
|
|
429
|
+
|
|
430
|
+
$ flowcore logs adapter adapter-name -t tenant-name -s scenario-name -l 100
|
|
431
|
+
|
|
432
|
+
$ flowcore logs adapter adapter-name -t tenant-name -s scenario-name --json
|
|
433
|
+
```
|
|
434
|
+
|
|
435
|
+
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v2.13.0/src/commands/logs/adapter.ts)_
|
|
436
|
+
|
|
346
437
|
## `flowcore new nextjs-app NAME`
|
|
347
438
|
|
|
348
439
|
Create a new NestJS application using the Flowcore IDD approach
|
|
@@ -671,7 +762,7 @@ ARGUMENTS
|
|
|
671
762
|
ADAPTER adapter name or id
|
|
672
763
|
|
|
673
764
|
FLAGS
|
|
674
|
-
-b, --bucket=<value> time bucket
|
|
765
|
+
-b, --bucket=<value> time bucket (YYYYMMDDHHmmss or first)
|
|
675
766
|
-e, --eventId=<value> time uuid
|
|
676
767
|
-s, --scenario=<value> (required) scenario
|
|
677
768
|
-t, --tenant=<value> (required) tenant
|
|
@@ -683,10 +774,12 @@ DESCRIPTION
|
|
|
683
774
|
EXAMPLES
|
|
684
775
|
$ flowcore reset adapter adapter-name -t tenant-name -s scenario-name -b 20240718110000
|
|
685
776
|
|
|
777
|
+
$ flowcore reset adapter adapter-name -t tenant-name -s scenario-name -b first
|
|
778
|
+
|
|
686
779
|
$ flowcore reset adapter adapter-name -t tenant-name -s scenario-name -e 9cb35da2-ba64-4bb5-86d6-ef20ebc62ab7
|
|
687
780
|
```
|
|
688
781
|
|
|
689
|
-
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v2.
|
|
782
|
+
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v2.13.0/src/commands/reset/adapter.ts)_
|
|
690
783
|
|
|
691
784
|
## `flowcore scenario apply`
|
|
692
785
|
|
|
@@ -716,7 +809,7 @@ EXAMPLES
|
|
|
716
809
|
$ cat <<EOF | flowcore scenario apply -f -
|
|
717
810
|
```
|
|
718
811
|
|
|
719
|
-
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v2.
|
|
812
|
+
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v2.13.0/src/commands/scenario/apply.ts)_
|
|
720
813
|
|
|
721
814
|
## `flowcore scenario generate manifest`
|
|
722
815
|
|
|
@@ -748,7 +841,7 @@ EXAMPLES
|
|
|
748
841
|
$ flowcore scenario generate manifest -t flowcore -n scenario-name -f example.yaml
|
|
749
842
|
```
|
|
750
843
|
|
|
751
|
-
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v2.
|
|
844
|
+
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v2.13.0/src/commands/scenario/generate/manifest.ts)_
|
|
752
845
|
|
|
753
846
|
## `flowcore scenario generate transformer`
|
|
754
847
|
|
|
@@ -775,7 +868,7 @@ EXAMPLES
|
|
|
775
868
|
$ flowcore scenario generate transformer -n flow-type-name -d "description of the transformer" -f example.yaml
|
|
776
869
|
```
|
|
777
870
|
|
|
778
|
-
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v2.
|
|
871
|
+
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v2.13.0/src/commands/scenario/generate/transformer.ts)_
|
|
779
872
|
|
|
780
873
|
## `flowcore scenario local`
|
|
781
874
|
|
|
@@ -807,7 +900,7 @@ EXAMPLES
|
|
|
807
900
|
$ cat <<EOF | flowcore scenario local -f -
|
|
808
901
|
```
|
|
809
902
|
|
|
810
|
-
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v2.
|
|
903
|
+
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v2.13.0/src/commands/scenario/local.ts)_
|
|
811
904
|
|
|
812
905
|
## `flowcore stream STREAM`
|
|
813
906
|
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"@flowcore/cli-plugin-core": "^1.6.1",
|
|
10
10
|
"@flowcore/cli-plugin-data-core": "^2.2.2",
|
|
11
11
|
"@flowcore/cli-plugin-generator": "^1.0.0",
|
|
12
|
-
"@flowcore/cli-plugin-scenario": "^2.
|
|
12
|
+
"@flowcore/cli-plugin-scenario": "^2.13.0",
|
|
13
13
|
"@flowcore/time-bucket": "^1.1.0",
|
|
14
14
|
"@oclif/core": "^3",
|
|
15
15
|
"@oclif/plugin-autocomplete": "^3.0.2",
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
"prestart": "npm run build",
|
|
97
97
|
"update-schema": "rover graph introspect https://graph.api.staging.flowcore.io/graphql -o schema.gql"
|
|
98
98
|
},
|
|
99
|
-
"version": "2.
|
|
99
|
+
"version": "2.19.0",
|
|
100
100
|
"bugs": "https://github.com/flowcore-io/flowcore-cli/issues",
|
|
101
101
|
"keywords": [
|
|
102
102
|
"flowcore",
|