@flowcore/cli 3.4.0 → 4.0.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 CHANGED
@@ -10,6 +10,17 @@
10
10
 
11
11
  * added description to start that includes week ([58687a7](https://github.com/flowcore-io/flowcore-cli/commit/58687a7bbb66aaa5d6da26af88e555cbb1e72467))
12
12
 
13
+ ## [4.0.0](https://github.com/flowcore-io/flowcore-cli/compare/v3.4.0...v4.0.0) (2024-09-09)
14
+
15
+
16
+ ### ⚠ BREAKING CHANGES
17
+
18
+ * updated oclif and flowcore core plugins, not compatibile with older versions
19
+
20
+ ### Features
21
+
22
+ * bumped base libraries ([c8e472c](https://github.com/flowcore-io/flowcore-cli/commit/c8e472c797467ca2b0572d427374928189604e61))
23
+
13
24
  ## [3.4.0](https://github.com/flowcore-io/flowcore-cli/compare/v3.3.1...v3.4.0) (2024-09-05)
14
25
 
15
26
 
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/3.4.0 linux-x64 node-v20.17.0
21
+ @flowcore/cli/4.0.0 linux-x64 node-v20.17.0
22
22
  $ flowcore --help [COMMAND]
23
23
  USAGE
24
24
  $ flowcore COMMAND
@@ -40,12 +40,12 @@ USAGE
40
40
  * [`flowcore data-core apply`](#flowcore-data-core-apply)
41
41
  * [`flowcore data-core generate event-type FLOWTYPE`](#flowcore-data-core-generate-event-type-flowtype)
42
42
  * [`flowcore data-core generate flow-type`](#flowcore-data-core-generate-flow-type)
43
- * [`flowcore data-core generate manifest`](#flowcore-data-core-generate-manifest)
43
+ * [`flowcore data-core init`](#flowcore-data-core-init)
44
44
  * [`flowcore generate nextjs-entity NAME`](#flowcore-generate-nextjs-entity-name)
45
45
  * [`flowcore get adapter [ADAPTER]`](#flowcore-get-adapter-adapter)
46
46
  * [`flowcore get scenario [SCENARIO]`](#flowcore-get-scenario-scenario)
47
47
  * [`flowcore get tenant [NAME]`](#flowcore-get-tenant-name)
48
- * [`flowcore help [COMMANDS]`](#flowcore-help-commands)
48
+ * [`flowcore help [COMMAND]`](#flowcore-help-command)
49
49
  * [`flowcore login`](#flowcore-login)
50
50
  * [`flowcore logs adapter ADAPTER`](#flowcore-logs-adapter-adapter)
51
51
  * [`flowcore new bun-service NAME`](#flowcore-new-bun-service-name)
@@ -54,20 +54,21 @@ USAGE
54
54
  * [`flowcore new plugin NAME`](#flowcore-new-plugin-name)
55
55
  * [`flowcore new transformer NAME`](#flowcore-new-transformer-name)
56
56
  * [`flowcore plugins`](#flowcore-plugins)
57
- * [`flowcore plugins:install PLUGIN...`](#flowcore-pluginsinstall-plugin)
57
+ * [`flowcore plugins add PLUGIN`](#flowcore-plugins-add-plugin)
58
58
  * [`flowcore plugins:inspect PLUGIN...`](#flowcore-pluginsinspect-plugin)
59
- * [`flowcore plugins:install PLUGIN...`](#flowcore-pluginsinstall-plugin-1)
60
- * [`flowcore plugins:link PLUGIN`](#flowcore-pluginslink-plugin)
61
- * [`flowcore plugins:uninstall PLUGIN...`](#flowcore-pluginsuninstall-plugin)
59
+ * [`flowcore plugins install PLUGIN`](#flowcore-plugins-install-plugin)
60
+ * [`flowcore plugins link PATH`](#flowcore-plugins-link-path)
61
+ * [`flowcore plugins remove [PLUGIN]`](#flowcore-plugins-remove-plugin)
62
62
  * [`flowcore plugins reset`](#flowcore-plugins-reset)
63
- * [`flowcore plugins:uninstall PLUGIN...`](#flowcore-pluginsuninstall-plugin-1)
64
- * [`flowcore plugins:uninstall PLUGIN...`](#flowcore-pluginsuninstall-plugin-2)
63
+ * [`flowcore plugins uninstall [PLUGIN]`](#flowcore-plugins-uninstall-plugin)
64
+ * [`flowcore plugins unlink [PLUGIN]`](#flowcore-plugins-unlink-plugin)
65
65
  * [`flowcore plugins update`](#flowcore-plugins-update)
66
66
  * [`flowcore plugins update check`](#flowcore-plugins-update-check)
67
67
  * [`flowcore reset adapter ADAPTER`](#flowcore-reset-adapter-adapter)
68
68
  * [`flowcore scenario apply`](#flowcore-scenario-apply)
69
69
  * [`flowcore scenario generate manifest`](#flowcore-scenario-generate-manifest)
70
70
  * [`flowcore scenario generate transformer`](#flowcore-scenario-generate-transformer)
71
+ * [`flowcore scenario init`](#flowcore-scenario-init)
71
72
  * [`flowcore scenario local`](#flowcore-scenario-local)
72
73
  * [`flowcore stream STREAM`](#flowcore-stream-stream)
73
74
  * [`flowcore stream http STREAM`](#flowcore-stream-http-stream)
@@ -94,7 +95,7 @@ EXAMPLES
94
95
  $ flowcore apply -f ./path/to/manifest.yml
95
96
  ```
96
97
 
97
- _See code: [src/commands/apply.ts](https://github.com/flowcore-io/flowcore-cli/blob/v3.4.0/src/commands/apply.ts)_
98
+ _See code: [src/commands/apply.ts](https://github.com/flowcore-io/flowcore-cli/blob/v4.0.0/src/commands/apply.ts)_
98
99
 
99
100
  ## `flowcore auth delete key API_KEY_NAME`
100
101
 
@@ -118,7 +119,7 @@ EXAMPLES
118
119
  $ flowcore auth delete key --tenant=tenant-id <api-key-name>
119
120
  ```
120
121
 
121
- _See code: [@flowcore/cli-plugin-auth-management](https://github.com/flowcore-io/cli-plugin-auth-management/blob/v1.1.0/src/commands/auth/delete/key.ts)_
122
+ _See code: [@flowcore/cli-plugin-auth-management](https://github.com/flowcore-io/cli-plugin-auth-management/blob/v1.2.0/src/commands/auth/delete/key.ts)_
122
123
 
123
124
  ## `flowcore auth delete secret SECRET_KEY`
124
125
 
@@ -142,7 +143,7 @@ EXAMPLES
142
143
  $ flowcore auth delete secret --tenant=tenant-id <secret-key>
143
144
  ```
144
145
 
145
- _See code: [@flowcore/cli-plugin-auth-management](https://github.com/flowcore-io/cli-plugin-auth-management/blob/v1.1.0/src/commands/auth/delete/secret.ts)_
146
+ _See code: [@flowcore/cli-plugin-auth-management](https://github.com/flowcore-io/cli-plugin-auth-management/blob/v1.2.0/src/commands/auth/delete/secret.ts)_
146
147
 
147
148
  ## `flowcore auth list key`
148
149
 
@@ -164,7 +165,7 @@ EXAMPLES
164
165
  $ flowcore auth list key --tenant=tenant-id
165
166
  ```
166
167
 
167
- _See code: [@flowcore/cli-plugin-auth-management](https://github.com/flowcore-io/cli-plugin-auth-management/blob/v1.1.0/src/commands/auth/list/key.ts)_
168
+ _See code: [@flowcore/cli-plugin-auth-management](https://github.com/flowcore-io/cli-plugin-auth-management/blob/v1.2.0/src/commands/auth/list/key.ts)_
168
169
 
169
170
  ## `flowcore auth list secret`
170
171
 
@@ -186,7 +187,7 @@ EXAMPLES
186
187
  $ flowcore auth list secret --tenant=tenant-id
187
188
  ```
188
189
 
189
- _See code: [@flowcore/cli-plugin-auth-management](https://github.com/flowcore-io/cli-plugin-auth-management/blob/v1.1.0/src/commands/auth/list/secret.ts)_
190
+ _See code: [@flowcore/cli-plugin-auth-management](https://github.com/flowcore-io/cli-plugin-auth-management/blob/v1.2.0/src/commands/auth/list/secret.ts)_
190
191
 
191
192
  ## `flowcore auth new key NAME`
192
193
 
@@ -211,7 +212,7 @@ EXAMPLES
211
212
  $ flowcore auth new key --tenant=tenant-id --name=key-name
212
213
  ```
213
214
 
214
- _See code: [@flowcore/cli-plugin-auth-management](https://github.com/flowcore-io/cli-plugin-auth-management/blob/v1.1.0/src/commands/auth/new/key.ts)_
215
+ _See code: [@flowcore/cli-plugin-auth-management](https://github.com/flowcore-io/cli-plugin-auth-management/blob/v1.2.0/src/commands/auth/new/key.ts)_
215
216
 
216
217
  ## `flowcore auth new secret NAME`
217
218
 
@@ -237,7 +238,7 @@ EXAMPLES
237
238
  $ flowcore auth new secret --tenant=tenant-id --from-literal=value
238
239
  ```
239
240
 
240
- _See code: [@flowcore/cli-plugin-auth-management](https://github.com/flowcore-io/cli-plugin-auth-management/blob/v1.1.0/src/commands/auth/new/secret.ts)_
241
+ _See code: [@flowcore/cli-plugin-auth-management](https://github.com/flowcore-io/cli-plugin-auth-management/blob/v1.2.0/src/commands/auth/new/secret.ts)_
241
242
 
242
243
  ## `flowcore autocomplete [SHELL]`
243
244
 
@@ -268,7 +269,7 @@ EXAMPLES
268
269
  $ flowcore autocomplete --refresh-cache
269
270
  ```
270
271
 
271
- _See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v3.0.8/src/commands/autocomplete/index.ts)_
272
+ _See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v3.2.3/src/commands/autocomplete/index.ts)_
272
273
 
273
274
  ## `flowcore config set`
274
275
 
@@ -298,7 +299,7 @@ EXAMPLES
298
299
  $ flowcore config set -l https://auth.flowcore.io/realms/flowcore/.well-known/openid-configuration -c my-client-id -p
299
300
  ```
300
301
 
301
- _See code: [@flowcore/cli-plugin-config](https://github.com/flowcore/flowcore-cli-plugin-config/blob/v1.1.0/src/commands/config/set.ts)_
302
+ _See code: [@flowcore/cli-plugin-config](https://github.com/flowcore/flowcore-cli-plugin-config/blob/v2.2.1/src/commands/config/set.ts)_
302
303
 
303
304
  ## `flowcore config show`
304
305
 
@@ -318,7 +319,7 @@ EXAMPLES
318
319
  $ flowcore config show
319
320
  ```
320
321
 
321
- _See code: [@flowcore/cli-plugin-config](https://github.com/flowcore/flowcore-cli-plugin-config/blob/v1.1.0/src/commands/config/show.ts)_
322
+ _See code: [@flowcore/cli-plugin-config](https://github.com/flowcore/flowcore-cli-plugin-config/blob/v2.2.1/src/commands/config/show.ts)_
322
323
 
323
324
  ## `flowcore data-core apply`
324
325
 
@@ -347,7 +348,7 @@ EXAMPLES
347
348
  $ cat <<EOF | flowcore data-core apply -f -
348
349
  ```
349
350
 
350
- _See code: [@flowcore/cli-plugin-data-core](https://github.com/flowcore/flowcore-cli-data-core/blob/v2.2.2/src/commands/data-core/apply.ts)_
351
+ _See code: [@flowcore/cli-plugin-data-core](https://github.com/flowcore/flowcore-cli-data-core/blob/v3.0.1/src/commands/data-core/apply.ts)_
351
352
 
352
353
  ## `flowcore data-core generate event-type FLOWTYPE`
353
354
 
@@ -359,7 +360,7 @@ USAGE
359
360
 
360
361
  FLAGS
361
362
  -d, --description=<value> description of the event type
362
- -f, --file=<value> file to modify
363
+ -f, --file=<value> [default: flowcore.yaml] file to modify
363
364
  -n, --name=<value> name of the event type to generate
364
365
  --profile=<value> Specify the configuration profile to use
365
366
 
@@ -374,7 +375,7 @@ EXAMPLES
374
375
  $ flowcore data-core generate event-type flow-type-name -n event-type-name -d "description of the event type" -f example.yaml
375
376
  ```
376
377
 
377
- _See code: [@flowcore/cli-plugin-data-core](https://github.com/flowcore/flowcore-cli-data-core/blob/v2.2.2/src/commands/data-core/generate/event-type.ts)_
378
+ _See code: [@flowcore/cli-plugin-data-core](https://github.com/flowcore/flowcore-cli-data-core/blob/v3.0.1/src/commands/data-core/generate/event-type.ts)_
378
379
 
379
380
  ## `flowcore data-core generate flow-type`
380
381
 
@@ -386,7 +387,7 @@ USAGE
386
387
 
387
388
  FLAGS
388
389
  -d, --description=<value> description of the flow type
389
- -f, --file=<value> file to modify
390
+ -f, --file=<value> [default: flowcore.yaml] file to modify
390
391
  -n, --name=<value> name of the flow type to generate
391
392
  --profile=<value> Specify the configuration profile to use
392
393
 
@@ -401,39 +402,39 @@ EXAMPLES
401
402
  $ flowcore data-core generate flow-type -n flow-type-name -d "description of the flow type" -f example.yaml
402
403
  ```
403
404
 
404
- _See code: [@flowcore/cli-plugin-data-core](https://github.com/flowcore/flowcore-cli-data-core/blob/v2.2.2/src/commands/data-core/generate/flow-type.ts)_
405
+ _See code: [@flowcore/cli-plugin-data-core](https://github.com/flowcore/flowcore-cli-data-core/blob/v3.0.1/src/commands/data-core/generate/flow-type.ts)_
405
406
 
406
- ## `flowcore data-core generate manifest`
407
+ ## `flowcore data-core init`
407
408
 
408
- Generate a data core manifest
409
+ Initialize a data core manifest
409
410
 
410
411
  ```
411
412
  USAGE
412
- $ flowcore data-core generate manifest -t <value> [--profile <value>] [-f <value>] [-n <value>] [-o] [--placeholder]
413
+ $ flowcore data-core init [--profile <value>] [-f <value>] [-n <value>] [-o] [-t <value>] [-y]
413
414
 
414
415
  FLAGS
415
- -f, --file=<value> file to apply
416
+ -f, --file=<value> [default: flowcore.yaml] filename it will be created with, defaults to flowcore.yaml
416
417
  -n, --name=<value> name of the data core to generate
417
418
  -o, --overwrite overwrite the existing data core
418
- -t, --tenant=<value> (required) tenant to apply the data core to, this is the org for your organization, it can be
419
- seen in the url when accessing your organization
420
- --placeholder generate a placeholder manifest
419
+ -t, --tenant=<value> tenant to apply the data core to, this is the org for your organization, it can be seen in the
420
+ url when accessing your organization
421
+ -y, --yes skip confirmation
421
422
  --profile=<value> Specify the configuration profile to use
422
423
 
423
424
  DESCRIPTION
424
- Generate a data core manifest
425
+ Initialize a data core manifest
425
426
 
426
427
  EXAMPLES
427
- $ flowcore data-core generate manifest -t flowcore
428
+ $ flowcore data-core init -t flowcore
428
429
 
429
- $ flowcore data-core generate manifest -t flowcore --placeholder
430
+ $ flowcore data-core init -t flowcore --placeholder
430
431
 
431
- $ flowcore data-core generate manifest -t flowcore -f example.yaml
432
+ $ flowcore data-core init -t flowcore -f example.yaml
432
433
 
433
- $ flowcore data-core generate manifest -t flowcore -n data-core-name -f example.yaml
434
+ $ flowcore data-core init -t flowcore -n data-core-name -f example.yaml
434
435
  ```
435
436
 
436
- _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)_
437
+ _See code: [@flowcore/cli-plugin-data-core](https://github.com/flowcore/flowcore-cli-data-core/blob/v3.0.1/src/commands/data-core/init.ts)_
437
438
 
438
439
  ## `flowcore generate nextjs-entity NAME`
439
440
 
@@ -456,7 +457,7 @@ EXAMPLES
456
457
  $ flowcore generate nextjs-entity my-entity
457
458
  ```
458
459
 
459
- _See code: [@flowcore/cli-plugin-generator](https://github.com/flowcore/flowcore-cli-plugin-generator/blob/v1.5.0/src/commands/generate/nextjs-entity.ts)_
460
+ _See code: [@flowcore/cli-plugin-generator](https://github.com/flowcore/flowcore-cli-plugin-generator/blob/v1.6.0/src/commands/generate/nextjs-entity.ts)_
460
461
 
461
462
  ## `flowcore get adapter [ADAPTER]`
462
463
 
@@ -483,7 +484,7 @@ EXAMPLES
483
484
  $ flowcore get adapter adapter-name -t tenant-name -s scenario-name
484
485
  ```
485
486
 
486
- _See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v3.3.1/src/commands/get/adapter.ts)_
487
+ _See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.0.1/src/commands/get/adapter.ts)_
487
488
 
488
489
  ## `flowcore get scenario [SCENARIO]`
489
490
 
@@ -509,7 +510,7 @@ EXAMPLES
509
510
  $ flowcore get scenario scenario-name -t tenant-name
510
511
  ```
511
512
 
512
- _See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v3.3.1/src/commands/get/scenario.ts)_
513
+ _See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.0.1/src/commands/get/scenario.ts)_
513
514
 
514
515
  ## `flowcore get tenant [NAME]`
515
516
 
@@ -538,18 +539,18 @@ EXAMPLES
538
539
  $ flowcore get tenant --tenant=tenant-name --json
539
540
  ```
540
541
 
541
- _See code: [@flowcore/cli-plugin-tenant-management](https://github.com/flowcore-io/tenant-management/blob/v1.0.0/src/commands/get/tenant.ts)_
542
+ _See code: [@flowcore/cli-plugin-tenant-management](https://github.com/flowcore-io/tenant-management/blob/v1.1.0/src/commands/get/tenant.ts)_
542
543
 
543
- ## `flowcore help [COMMANDS]`
544
+ ## `flowcore help [COMMAND]`
544
545
 
545
546
  Display help for flowcore.
546
547
 
547
548
  ```
548
549
  USAGE
549
- $ flowcore help [COMMANDS] [-n]
550
+ $ flowcore help [COMMAND] [-n]
550
551
 
551
552
  ARGUMENTS
552
- COMMANDS Command to show help for.
553
+ COMMAND Command to show help for.
553
554
 
554
555
  FLAGS
555
556
  -n, --nested-commands Include all nested commands in the output.
@@ -558,7 +559,7 @@ DESCRIPTION
558
559
  Display help for flowcore.
559
560
  ```
560
561
 
561
- _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v5.2.20/src/commands/help.ts)_
562
+ _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.2.11/src/commands/help.ts)_
562
563
 
563
564
  ## `flowcore login`
564
565
 
@@ -581,7 +582,7 @@ EXAMPLES
581
582
  $ flowcore login --port 8080
582
583
  ```
583
584
 
584
- _See code: [@flowcore/cli-plugin-config](https://github.com/flowcore/flowcore-cli-plugin-config/blob/v1.1.0/src/commands/login.ts)_
585
+ _See code: [@flowcore/cli-plugin-config](https://github.com/flowcore/flowcore-cli-plugin-config/blob/v2.2.1/src/commands/login.ts)_
585
586
 
586
587
  ## `flowcore logs adapter ADAPTER`
587
588
 
@@ -616,7 +617,7 @@ EXAMPLES
616
617
  $ flowcore logs adapter adapter-name -t tenant-name -s scenario-name --json
617
618
  ```
618
619
 
619
- _See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v3.3.1/src/commands/logs/adapter.ts)_
620
+ _See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.0.1/src/commands/logs/adapter.ts)_
620
621
 
621
622
  ## `flowcore new bun-service NAME`
622
623
 
@@ -642,7 +643,7 @@ EXAMPLES
642
643
  $ flowcore new bun-service my-service --no-flowcore
643
644
  ```
644
645
 
645
- _See code: [@flowcore/cli-plugin-generator](https://github.com/flowcore/flowcore-cli-plugin-generator/blob/v1.5.0/src/commands/new/bun-service.ts)_
646
+ _See code: [@flowcore/cli-plugin-generator](https://github.com/flowcore/flowcore-cli-plugin-generator/blob/v1.6.0/src/commands/new/bun-service.ts)_
646
647
 
647
648
  ## `flowcore new generator NAME`
648
649
 
@@ -665,7 +666,7 @@ EXAMPLES
665
666
  $ flowcore new generator my-generator
666
667
  ```
667
668
 
668
- _See code: [@flowcore/cli-plugin-generator](https://github.com/flowcore/flowcore-cli-plugin-generator/blob/v1.5.0/src/commands/new/generator.ts)_
669
+ _See code: [@flowcore/cli-plugin-generator](https://github.com/flowcore/flowcore-cli-plugin-generator/blob/v1.6.0/src/commands/new/generator.ts)_
669
670
 
670
671
  ## `flowcore new nextjs-app NAME`
671
672
 
@@ -688,7 +689,7 @@ EXAMPLES
688
689
  $ flowcore new nextjs-app my-app
689
690
  ```
690
691
 
691
- _See code: [@flowcore/cli-plugin-generator](https://github.com/flowcore/flowcore-cli-plugin-generator/blob/v1.5.0/src/commands/new/nextjs-app.ts)_
692
+ _See code: [@flowcore/cli-plugin-generator](https://github.com/flowcore/flowcore-cli-plugin-generator/blob/v1.6.0/src/commands/new/nextjs-app.ts)_
692
693
 
693
694
  ## `flowcore new plugin NAME`
694
695
 
@@ -711,7 +712,7 @@ EXAMPLES
711
712
  $ flowcore new plugin my-plugin
712
713
  ```
713
714
 
714
- _See code: [@flowcore/cli-plugin-generator](https://github.com/flowcore/flowcore-cli-plugin-generator/blob/v1.5.0/src/commands/new/plugin.ts)_
715
+ _See code: [@flowcore/cli-plugin-generator](https://github.com/flowcore/flowcore-cli-plugin-generator/blob/v1.6.0/src/commands/new/plugin.ts)_
715
716
 
716
717
  ## `flowcore new transformer NAME`
717
718
 
@@ -737,7 +738,7 @@ EXAMPLES
737
738
  $ flowcore new transformer my-transformer --no-flowcore
738
739
  ```
739
740
 
740
- _See code: [@flowcore/cli-plugin-generator](https://github.com/flowcore/flowcore-cli-plugin-generator/blob/v1.5.0/src/commands/new/transformer.ts)_
741
+ _See code: [@flowcore/cli-plugin-generator](https://github.com/flowcore/flowcore-cli-plugin-generator/blob/v1.6.0/src/commands/new/transformer.ts)_
741
742
 
742
743
  ## `flowcore plugins`
743
744
 
@@ -760,48 +761,53 @@ EXAMPLES
760
761
  $ flowcore plugins
761
762
  ```
762
763
 
763
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v4.2.2/src/commands/plugins/index.ts)_
764
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.7/src/commands/plugins/index.ts)_
764
765
 
765
- ## `flowcore plugins:install PLUGIN...`
766
+ ## `flowcore plugins add PLUGIN`
766
767
 
767
- Installs a plugin into the CLI.
768
+ Installs a plugin into flowcore.
768
769
 
769
770
  ```
770
771
  USAGE
771
- $ flowcore plugins add plugins:install PLUGIN...
772
+ $ flowcore plugins add PLUGIN [--json] [-f] [-h] [-s | -v]
772
773
 
773
774
  ARGUMENTS
774
775
  PLUGIN Plugin to install.
775
776
 
776
777
  FLAGS
777
- -f, --force Run yarn install with force flag.
778
+ -f, --force Force npm to fetch remote resources even if a local copy exists on disk.
778
779
  -h, --help Show CLI help.
779
- -s, --silent Silences yarn output.
780
- -v, --verbose Show verbose yarn output.
780
+ -s, --silent Silences npm output.
781
+ -v, --verbose Show verbose npm output.
781
782
 
782
783
  GLOBAL FLAGS
783
784
  --json Format output as json.
784
785
 
785
786
  DESCRIPTION
786
- Installs a plugin into the CLI.
787
- Can be installed from npm or a git url.
787
+ Installs a plugin into flowcore.
788
788
 
789
- Installation of a user-installed plugin will override a core plugin.
789
+ Uses npm to install plugins.
790
790
 
791
- e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command
792
- will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in
793
- the CLI without the need to patch and update the whole CLI.
791
+ Installation of a user-installed plugin will override a core plugin.
794
792
 
793
+ Use the FLOWCORE_NPM_LOG_LEVEL environment variable to set the npm loglevel.
794
+ Use the FLOWCORE_NPM_REGISTRY environment variable to set the npm registry.
795
795
 
796
796
  ALIASES
797
797
  $ flowcore plugins add
798
798
 
799
799
  EXAMPLES
800
- $ flowcore plugins add myplugin
800
+ Install a plugin from npm registry.
801
+
802
+ $ flowcore plugins add myplugin
801
803
 
802
- $ flowcore plugins add https://github.com/someuser/someplugin
804
+ Install a plugin from a github url.
803
805
 
804
- $ flowcore plugins add someuser/someplugin
806
+ $ flowcore plugins add https://github.com/someuser/someplugin
807
+
808
+ Install a plugin from a github slug.
809
+
810
+ $ flowcore plugins add someuser/someplugin
805
811
  ```
806
812
 
807
813
  ## `flowcore plugins:inspect PLUGIN...`
@@ -829,59 +835,64 @@ EXAMPLES
829
835
  $ flowcore plugins inspect myplugin
830
836
  ```
831
837
 
832
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v4.2.2/src/commands/plugins/inspect.ts)_
838
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.7/src/commands/plugins/inspect.ts)_
833
839
 
834
- ## `flowcore plugins:install PLUGIN...`
840
+ ## `flowcore plugins install PLUGIN`
835
841
 
836
- Installs a plugin into the CLI.
842
+ Installs a plugin into flowcore.
837
843
 
838
844
  ```
839
845
  USAGE
840
- $ flowcore plugins install PLUGIN...
846
+ $ flowcore plugins install PLUGIN [--json] [-f] [-h] [-s | -v]
841
847
 
842
848
  ARGUMENTS
843
849
  PLUGIN Plugin to install.
844
850
 
845
851
  FLAGS
846
- -f, --force Run yarn install with force flag.
852
+ -f, --force Force npm to fetch remote resources even if a local copy exists on disk.
847
853
  -h, --help Show CLI help.
848
- -s, --silent Silences yarn output.
849
- -v, --verbose Show verbose yarn output.
854
+ -s, --silent Silences npm output.
855
+ -v, --verbose Show verbose npm output.
850
856
 
851
857
  GLOBAL FLAGS
852
858
  --json Format output as json.
853
859
 
854
860
  DESCRIPTION
855
- Installs a plugin into the CLI.
856
- Can be installed from npm or a git url.
861
+ Installs a plugin into flowcore.
857
862
 
858
- Installation of a user-installed plugin will override a core plugin.
863
+ Uses npm to install plugins.
859
864
 
860
- e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command
861
- will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in
862
- the CLI without the need to patch and update the whole CLI.
865
+ Installation of a user-installed plugin will override a core plugin.
863
866
 
867
+ Use the FLOWCORE_NPM_LOG_LEVEL environment variable to set the npm loglevel.
868
+ Use the FLOWCORE_NPM_REGISTRY environment variable to set the npm registry.
864
869
 
865
870
  ALIASES
866
871
  $ flowcore plugins add
867
872
 
868
873
  EXAMPLES
869
- $ flowcore plugins install myplugin
874
+ Install a plugin from npm registry.
875
+
876
+ $ flowcore plugins install myplugin
870
877
 
871
- $ flowcore plugins install https://github.com/someuser/someplugin
878
+ Install a plugin from a github url.
872
879
 
873
- $ flowcore plugins install someuser/someplugin
880
+ $ flowcore plugins install https://github.com/someuser/someplugin
881
+
882
+ Install a plugin from a github slug.
883
+
884
+ $ flowcore plugins install someuser/someplugin
874
885
  ```
875
886
 
876
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v4.2.2/src/commands/plugins/install.ts)_
887
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.7/src/commands/plugins/install.ts)_
877
888
 
878
- ## `flowcore plugins:link PLUGIN`
889
+ ## `flowcore plugins link PATH`
879
890
 
880
891
  Links a plugin into the CLI for development.
881
892
 
882
893
  ```
883
894
  USAGE
884
- $ flowcore plugins link PLUGIN
895
+ $ flowcore plugins link PATH [-h] [--install] [-v]
885
896
 
886
897
  ARGUMENTS
887
898
  PATH [default: .] path to plugin
@@ -903,15 +914,15 @@ EXAMPLES
903
914
  $ flowcore plugins link myplugin
904
915
  ```
905
916
 
906
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v4.2.2/src/commands/plugins/link.ts)_
917
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.7/src/commands/plugins/link.ts)_
907
918
 
908
- ## `flowcore plugins:uninstall PLUGIN...`
919
+ ## `flowcore plugins remove [PLUGIN]`
909
920
 
910
921
  Removes a plugin from the CLI.
911
922
 
912
923
  ```
913
924
  USAGE
914
- $ flowcore plugins remove plugins:uninstall PLUGIN...
925
+ $ flowcore plugins remove [PLUGIN] [-h] [-v]
915
926
 
916
927
  ARGUMENTS
917
928
  PLUGIN plugin to uninstall
@@ -944,15 +955,15 @@ FLAGS
944
955
  --reinstall Reinstall all plugins after uninstalling.
945
956
  ```
946
957
 
947
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v4.2.2/src/commands/plugins/reset.ts)_
958
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.7/src/commands/plugins/reset.ts)_
948
959
 
949
- ## `flowcore plugins:uninstall PLUGIN...`
960
+ ## `flowcore plugins uninstall [PLUGIN]`
950
961
 
951
962
  Removes a plugin from the CLI.
952
963
 
953
964
  ```
954
965
  USAGE
955
- $ flowcore plugins uninstall PLUGIN...
966
+ $ flowcore plugins uninstall [PLUGIN] [-h] [-v]
956
967
 
957
968
  ARGUMENTS
958
969
  PLUGIN plugin to uninstall
@@ -972,15 +983,15 @@ EXAMPLES
972
983
  $ flowcore plugins uninstall myplugin
973
984
  ```
974
985
 
975
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v4.2.2/src/commands/plugins/uninstall.ts)_
986
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.7/src/commands/plugins/uninstall.ts)_
976
987
 
977
- ## `flowcore plugins:uninstall PLUGIN...`
988
+ ## `flowcore plugins unlink [PLUGIN]`
978
989
 
979
990
  Removes a plugin from the CLI.
980
991
 
981
992
  ```
982
993
  USAGE
983
- $ flowcore plugins unlink plugins:uninstall PLUGIN...
994
+ $ flowcore plugins unlink [PLUGIN] [-h] [-v]
984
995
 
985
996
  ARGUMENTS
986
997
  PLUGIN plugin to uninstall
@@ -1016,7 +1027,7 @@ DESCRIPTION
1016
1027
  Update installed plugins.
1017
1028
  ```
1018
1029
 
1019
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v4.2.2/src/commands/plugins/update.ts)_
1030
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.7/src/commands/plugins/update.ts)_
1020
1031
 
1021
1032
  ## `flowcore plugins update check`
1022
1033
 
@@ -1061,7 +1072,7 @@ EXAMPLES
1061
1072
  $ flowcore reset adapter adapter-name -t tenant-name -s scenario-name -e 9cb35da2-ba64-4bb5-86d6-ef20ebc62ab7
1062
1073
  ```
1063
1074
 
1064
- _See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v3.3.1/src/commands/reset/adapter.ts)_
1075
+ _See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.0.1/src/commands/reset/adapter.ts)_
1065
1076
 
1066
1077
  ## `flowcore scenario apply`
1067
1078
 
@@ -1091,7 +1102,7 @@ EXAMPLES
1091
1102
  $ cat <<EOF | flowcore scenario apply -f -
1092
1103
  ```
1093
1104
 
1094
- _See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v3.3.1/src/commands/scenario/apply.ts)_
1105
+ _See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.0.1/src/commands/scenario/apply.ts)_
1095
1106
 
1096
1107
  ## `flowcore scenario generate manifest`
1097
1108
 
@@ -1123,7 +1134,7 @@ EXAMPLES
1123
1134
  $ flowcore scenario generate manifest -t flowcore -n scenario-name -f example.yaml
1124
1135
  ```
1125
1136
 
1126
- _See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v3.3.1/src/commands/scenario/generate/manifest.ts)_
1137
+ _See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.0.1/src/commands/scenario/generate/manifest.ts)_
1127
1138
 
1128
1139
  ## `flowcore scenario generate transformer`
1129
1140
 
@@ -1150,7 +1161,39 @@ EXAMPLES
1150
1161
  $ flowcore scenario generate transformer -n flow-type-name -d "description of the transformer" -f example.yaml
1151
1162
  ```
1152
1163
 
1153
- _See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v3.3.1/src/commands/scenario/generate/transformer.ts)_
1164
+ _See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.0.1/src/commands/scenario/generate/transformer.ts)_
1165
+
1166
+ ## `flowcore scenario init`
1167
+
1168
+ Generate a scenario manifest
1169
+
1170
+ ```
1171
+ USAGE
1172
+ $ flowcore scenario init -t <value> [--profile <value>] [-f <value>] [-n <value>] [-o] [--placeholder]
1173
+
1174
+ FLAGS
1175
+ -f, --file=<value> [default: flowcore.yaml] file to apply
1176
+ -n, --name=<value> name of the scenario to generate
1177
+ -o, --overwrite overwrite the existing scenario
1178
+ -t, --tenant=<value> (required) tenant to apply the scenario to, this is the org for your organization, it can be
1179
+ seen in the url when accessing your organization
1180
+ --placeholder generate a placeholder manifest
1181
+ --profile=<value> Specify the configuration profile to use
1182
+
1183
+ DESCRIPTION
1184
+ Generate a scenario manifest
1185
+
1186
+ EXAMPLES
1187
+ $ flowcore scenario init -t flowcore
1188
+
1189
+ $ flowcore scenario init -t flowcore --placeholder
1190
+
1191
+ $ flowcore scenario init -t flowcore -f example.yaml
1192
+
1193
+ $ flowcore scenario init -t flowcore -n scenario-name -f example.yaml
1194
+ ```
1195
+
1196
+ _See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.0.1/src/commands/scenario/init.ts)_
1154
1197
 
1155
1198
  ## `flowcore scenario local`
1156
1199
 
@@ -1182,7 +1225,7 @@ EXAMPLES
1182
1225
  $ cat <<EOF | flowcore scenario local -f -
1183
1226
  ```
1184
1227
 
1185
- _See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v3.3.1/src/commands/scenario/local.ts)_
1228
+ _See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.0.1/src/commands/scenario/local.ts)_
1186
1229
 
1187
1230
  ## `flowcore stream STREAM`
1188
1231
 
@@ -1191,7 +1234,6 @@ Stream events from a datacore running on the Flowcore Platform and output them t
1191
1234
  ```
1192
1235
  USAGE
1193
1236
  $ flowcore stream STREAM [--profile <value>] [-e <value>] [-j] [-l] [-m <value>] [-p] [-c] [-s <value>]
1194
- [-o <value>]
1195
1237
 
1196
1238
  ARGUMENTS
1197
1239
  STREAM stream url to connect to
@@ -1202,7 +1244,6 @@ FLAGS
1202
1244
  -j, --json Output json only
1203
1245
  -l, --[no-]live Change to live mode when reaching last time bucket
1204
1246
  -m, --max=<value> Maximum number of events to send to the destination
1205
- -o, --output=<value> [default: log] Output to send events to (deprecated, use subcommand instead to specify output)
1206
1247
  -p, --payload Only send the event payload to the destination
1207
1248
  -s, --start=<value> Start time bucket to stream from, example: (2024-07-08T12:20:44Z, 1y, 1m, 1w, 1d, 1h, now)
1208
1249
  --profile=<value> Specify the configuration profile to use
@@ -1224,7 +1265,7 @@ EXAMPLES
1224
1265
  $ flowcore stream "https://flowcore.io/<org>/<data core>/<flow type>/[<event type1>,<event type2>,<event type3>].stream" -s 3m
1225
1266
  ```
1226
1267
 
1227
- _See code: [@flowcore/cli-plugin-core](https://github.com/flowcore/flowcore-cli-plugin-core/blob/v2.0.0/src/commands/stream.ts)_
1268
+ _See code: [@flowcore/cli-plugin-core](https://github.com/flowcore/flowcore-cli-plugin-core/blob/v3.2.1/src/commands/stream.ts)_
1228
1269
 
1229
1270
  ## `flowcore stream http STREAM`
1230
1271
 
@@ -1266,7 +1307,7 @@ EXAMPLES
1266
1307
  $ flowcore stream http "https://flowcore.io/<org>/<data core>/<flow type>/[<event type1>,<event type2>,<event type3>].stream" -s 3m -d http://localhost:3000/transform
1267
1308
  ```
1268
1309
 
1269
- _See code: [@flowcore/cli-plugin-core](https://github.com/flowcore/flowcore-cli-plugin-core/blob/v2.0.0/src/commands/stream/http.ts)_
1310
+ _See code: [@flowcore/cli-plugin-core](https://github.com/flowcore/flowcore-cli-plugin-core/blob/v3.2.1/src/commands/stream/http.ts)_
1270
1311
 
1271
1312
  ## `flowcore version`
1272
1313
 
@@ -1286,7 +1327,7 @@ FLAG DESCRIPTIONS
1286
1327
  Additionally shows the architecture, node version, operating system, and versions of plugins that the CLI is using.
1287
1328
  ```
1288
1329
 
1289
- _See code: [@oclif/plugin-version](https://github.com/oclif/plugin-version/blob/v2.0.12/src/commands/version.ts)_
1330
+ _See code: [@oclif/plugin-version](https://github.com/oclif/plugin-version/blob/v2.2.12/src/commands/version.ts)_
1290
1331
 
1291
1332
  ## `flowcore whoami`
1292
1333
 
@@ -1303,5 +1344,5 @@ DESCRIPTION
1303
1344
  Check what user you are logged in as
1304
1345
  ```
1305
1346
 
1306
- _See code: [@flowcore/cli-plugin-config](https://github.com/flowcore/flowcore-cli-plugin-config/blob/v1.1.0/src/commands/whoami.ts)_
1347
+ _See code: [@flowcore/cli-plugin-config](https://github.com/flowcore/flowcore-cli-plugin-config/blob/v2.2.1/src/commands/whoami.ts)_
1307
1348
  <!-- commandsstop -->
@@ -4,8 +4,8 @@ export default class Apply extends BaseCommand<typeof Apply> {
4
4
  static description: string;
5
5
  static examples: string[];
6
6
  static flags: {
7
- file: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string[], import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
8
- yes: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
7
+ file: import("@oclif/core/interfaces").OptionFlag<string[], import("@oclif/core/interfaces").CustomOptions>;
8
+ yes: import("@oclif/core/interfaces").BooleanFlag<boolean>;
9
9
  };
10
10
  run(): Promise<void>;
11
11
  }
@@ -48,5 +48,5 @@
48
48
  ]
49
49
  }
50
50
  },
51
- "version": "3.4.0"
51
+ "version": "4.0.0"
52
52
  }
package/package.json CHANGED
@@ -5,20 +5,20 @@
5
5
  },
6
6
  "dependencies": {
7
7
  "@datastructures-js/queue": "^4.2.3",
8
- "@flowcore/cli-plugin-auth-management": "^1.1.0",
9
- "@flowcore/cli-plugin-config": "^1.1.0",
10
- "@flowcore/cli-plugin-core": "^2.0.0",
11
- "@flowcore/cli-plugin-data-core": "^2.2.2",
12
- "@flowcore/cli-plugin-generator": "^1.5.0",
13
- "@flowcore/cli-plugin-scenario": "^3.3.1",
14
- "@flowcore/cli-plugin-tenant-management": "^1.0.0",
8
+ "@flowcore/cli-plugin-auth-management": "^1.2.0",
9
+ "@flowcore/cli-plugin-config": "^2.2.1",
10
+ "@flowcore/cli-plugin-core": "^3.2.1",
11
+ "@flowcore/cli-plugin-data-core": "^3.0.1",
12
+ "@flowcore/cli-plugin-generator": "^1.6.0",
13
+ "@flowcore/cli-plugin-scenario": "^4.0.1",
14
+ "@flowcore/cli-plugin-tenant-management": "^1.1.0",
15
15
  "@flowcore/time-bucket": "^1.1.0",
16
- "@oclif/core": "^3",
17
- "@oclif/plugin-autocomplete": "^3.0.2",
18
- "@oclif/plugin-help": "^5",
19
- "@oclif/plugin-not-found": "^3.0.4",
20
- "@oclif/plugin-plugins": "^4",
21
- "@oclif/plugin-version": "^2.0.8",
16
+ "@oclif/core": "^4.0.21",
17
+ "@oclif/plugin-autocomplete": "^3.2.3",
18
+ "@oclif/plugin-help": "^6.2.11",
19
+ "@oclif/plugin-not-found": "^3.2.20",
20
+ "@oclif/plugin-plugins": "^5.4.7",
21
+ "@oclif/plugin-version": "^2.2.12",
22
22
  "axios": "^1.6.2",
23
23
  "cassandra-uuid": "^0.1.0",
24
24
  "cross-fetch": "^4.0.0",
@@ -36,7 +36,7 @@
36
36
  "description": "Flowcore CLI for interacting with the Flowcore platform",
37
37
  "devDependencies": {
38
38
  "@oclif/prettier-config": "^0.2.1",
39
- "@oclif/test": "^3",
39
+ "@oclif/test": "^4.0.9",
40
40
  "@types/chai": "^4",
41
41
  "@types/express": "^4.17.21",
42
42
  "@types/lodash": "^4.14.202",
@@ -104,7 +104,7 @@
104
104
  "prestart": "npm run build",
105
105
  "update-schema": "rover graph introspect https://graph.api.staging.flowcore.io/graphql -o schema.gql"
106
106
  },
107
- "version": "3.4.0",
107
+ "version": "4.0.0",
108
108
  "bugs": "https://github.com/flowcore-io/flowcore-cli/issues",
109
109
  "keywords": [
110
110
  "flowcore",