@flowcore/cli 3.3.1 → 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,24 @@
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
+
24
+ ## [3.4.0](https://github.com/flowcore-io/flowcore-cli/compare/v3.3.1...v3.4.0) (2024-09-05)
25
+
26
+
27
+ ### Features
28
+
29
+ * added new transformer command ([ba69d1f](https://github.com/flowcore-io/flowcore-cli/commit/ba69d1f93c87780e8f4bc0970b6dc712ce0d0c0e))
30
+
13
31
  ## [3.3.1](https://github.com/flowcore-io/flowcore-cli/compare/v3.3.0...v3.3.1) (2024-09-04)
14
32
 
15
33
 
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.3.1 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,33 +40,35 @@ 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)
52
52
  * [`flowcore new generator NAME`](#flowcore-new-generator-name)
53
53
  * [`flowcore new nextjs-app NAME`](#flowcore-new-nextjs-app-name)
54
54
  * [`flowcore new plugin NAME`](#flowcore-new-plugin-name)
55
+ * [`flowcore new transformer NAME`](#flowcore-new-transformer-name)
55
56
  * [`flowcore plugins`](#flowcore-plugins)
56
- * [`flowcore plugins:install PLUGIN...`](#flowcore-pluginsinstall-plugin)
57
+ * [`flowcore plugins add PLUGIN`](#flowcore-plugins-add-plugin)
57
58
  * [`flowcore plugins:inspect PLUGIN...`](#flowcore-pluginsinspect-plugin)
58
- * [`flowcore plugins:install PLUGIN...`](#flowcore-pluginsinstall-plugin-1)
59
- * [`flowcore plugins:link PLUGIN`](#flowcore-pluginslink-plugin)
60
- * [`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)
61
62
  * [`flowcore plugins reset`](#flowcore-plugins-reset)
62
- * [`flowcore plugins:uninstall PLUGIN...`](#flowcore-pluginsuninstall-plugin-1)
63
- * [`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)
64
65
  * [`flowcore plugins update`](#flowcore-plugins-update)
65
66
  * [`flowcore plugins update check`](#flowcore-plugins-update-check)
66
67
  * [`flowcore reset adapter ADAPTER`](#flowcore-reset-adapter-adapter)
67
68
  * [`flowcore scenario apply`](#flowcore-scenario-apply)
68
69
  * [`flowcore scenario generate manifest`](#flowcore-scenario-generate-manifest)
69
70
  * [`flowcore scenario generate transformer`](#flowcore-scenario-generate-transformer)
71
+ * [`flowcore scenario init`](#flowcore-scenario-init)
70
72
  * [`flowcore scenario local`](#flowcore-scenario-local)
71
73
  * [`flowcore stream STREAM`](#flowcore-stream-stream)
72
74
  * [`flowcore stream http STREAM`](#flowcore-stream-http-stream)
@@ -93,7 +95,7 @@ EXAMPLES
93
95
  $ flowcore apply -f ./path/to/manifest.yml
94
96
  ```
95
97
 
96
- _See code: [src/commands/apply.ts](https://github.com/flowcore-io/flowcore-cli/blob/v3.3.1/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)_
97
99
 
98
100
  ## `flowcore auth delete key API_KEY_NAME`
99
101
 
@@ -117,7 +119,7 @@ EXAMPLES
117
119
  $ flowcore auth delete key --tenant=tenant-id <api-key-name>
118
120
  ```
119
121
 
120
- _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)_
121
123
 
122
124
  ## `flowcore auth delete secret SECRET_KEY`
123
125
 
@@ -141,7 +143,7 @@ EXAMPLES
141
143
  $ flowcore auth delete secret --tenant=tenant-id <secret-key>
142
144
  ```
143
145
 
144
- _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)_
145
147
 
146
148
  ## `flowcore auth list key`
147
149
 
@@ -163,7 +165,7 @@ EXAMPLES
163
165
  $ flowcore auth list key --tenant=tenant-id
164
166
  ```
165
167
 
166
- _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)_
167
169
 
168
170
  ## `flowcore auth list secret`
169
171
 
@@ -185,7 +187,7 @@ EXAMPLES
185
187
  $ flowcore auth list secret --tenant=tenant-id
186
188
  ```
187
189
 
188
- _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)_
189
191
 
190
192
  ## `flowcore auth new key NAME`
191
193
 
@@ -210,7 +212,7 @@ EXAMPLES
210
212
  $ flowcore auth new key --tenant=tenant-id --name=key-name
211
213
  ```
212
214
 
213
- _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)_
214
216
 
215
217
  ## `flowcore auth new secret NAME`
216
218
 
@@ -236,7 +238,7 @@ EXAMPLES
236
238
  $ flowcore auth new secret --tenant=tenant-id --from-literal=value
237
239
  ```
238
240
 
239
- _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)_
240
242
 
241
243
  ## `flowcore autocomplete [SHELL]`
242
244
 
@@ -267,7 +269,7 @@ EXAMPLES
267
269
  $ flowcore autocomplete --refresh-cache
268
270
  ```
269
271
 
270
- _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)_
271
273
 
272
274
  ## `flowcore config set`
273
275
 
@@ -297,7 +299,7 @@ EXAMPLES
297
299
  $ flowcore config set -l https://auth.flowcore.io/realms/flowcore/.well-known/openid-configuration -c my-client-id -p
298
300
  ```
299
301
 
300
- _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)_
301
303
 
302
304
  ## `flowcore config show`
303
305
 
@@ -317,7 +319,7 @@ EXAMPLES
317
319
  $ flowcore config show
318
320
  ```
319
321
 
320
- _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)_
321
323
 
322
324
  ## `flowcore data-core apply`
323
325
 
@@ -346,7 +348,7 @@ EXAMPLES
346
348
  $ cat <<EOF | flowcore data-core apply -f -
347
349
  ```
348
350
 
349
- _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)_
350
352
 
351
353
  ## `flowcore data-core generate event-type FLOWTYPE`
352
354
 
@@ -358,7 +360,7 @@ USAGE
358
360
 
359
361
  FLAGS
360
362
  -d, --description=<value> description of the event type
361
- -f, --file=<value> file to modify
363
+ -f, --file=<value> [default: flowcore.yaml] file to modify
362
364
  -n, --name=<value> name of the event type to generate
363
365
  --profile=<value> Specify the configuration profile to use
364
366
 
@@ -373,7 +375,7 @@ EXAMPLES
373
375
  $ flowcore data-core generate event-type flow-type-name -n event-type-name -d "description of the event type" -f example.yaml
374
376
  ```
375
377
 
376
- _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)_
377
379
 
378
380
  ## `flowcore data-core generate flow-type`
379
381
 
@@ -385,7 +387,7 @@ USAGE
385
387
 
386
388
  FLAGS
387
389
  -d, --description=<value> description of the flow type
388
- -f, --file=<value> file to modify
390
+ -f, --file=<value> [default: flowcore.yaml] file to modify
389
391
  -n, --name=<value> name of the flow type to generate
390
392
  --profile=<value> Specify the configuration profile to use
391
393
 
@@ -400,39 +402,39 @@ EXAMPLES
400
402
  $ flowcore data-core generate flow-type -n flow-type-name -d "description of the flow type" -f example.yaml
401
403
  ```
402
404
 
403
- _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)_
404
406
 
405
- ## `flowcore data-core generate manifest`
407
+ ## `flowcore data-core init`
406
408
 
407
- Generate a data core manifest
409
+ Initialize a data core manifest
408
410
 
409
411
  ```
410
412
  USAGE
411
- $ 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]
412
414
 
413
415
  FLAGS
414
- -f, --file=<value> file to apply
416
+ -f, --file=<value> [default: flowcore.yaml] filename it will be created with, defaults to flowcore.yaml
415
417
  -n, --name=<value> name of the data core to generate
416
418
  -o, --overwrite overwrite the existing data core
417
- -t, --tenant=<value> (required) tenant to apply the data core to, this is the org for your organization, it can be
418
- seen in the url when accessing your organization
419
- --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
420
422
  --profile=<value> Specify the configuration profile to use
421
423
 
422
424
  DESCRIPTION
423
- Generate a data core manifest
425
+ Initialize a data core manifest
424
426
 
425
427
  EXAMPLES
426
- $ flowcore data-core generate manifest -t flowcore
428
+ $ flowcore data-core init -t flowcore
427
429
 
428
- $ flowcore data-core generate manifest -t flowcore --placeholder
430
+ $ flowcore data-core init -t flowcore --placeholder
429
431
 
430
- $ flowcore data-core generate manifest -t flowcore -f example.yaml
432
+ $ flowcore data-core init -t flowcore -f example.yaml
431
433
 
432
- $ 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
433
435
  ```
434
436
 
435
- _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)_
436
438
 
437
439
  ## `flowcore generate nextjs-entity NAME`
438
440
 
@@ -455,7 +457,7 @@ EXAMPLES
455
457
  $ flowcore generate nextjs-entity my-entity
456
458
  ```
457
459
 
458
- _See code: [@flowcore/cli-plugin-generator](https://github.com/flowcore/flowcore-cli-plugin-generator/blob/v1.3.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)_
459
461
 
460
462
  ## `flowcore get adapter [ADAPTER]`
461
463
 
@@ -482,7 +484,7 @@ EXAMPLES
482
484
  $ flowcore get adapter adapter-name -t tenant-name -s scenario-name
483
485
  ```
484
486
 
485
- _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)_
486
488
 
487
489
  ## `flowcore get scenario [SCENARIO]`
488
490
 
@@ -508,7 +510,7 @@ EXAMPLES
508
510
  $ flowcore get scenario scenario-name -t tenant-name
509
511
  ```
510
512
 
511
- _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)_
512
514
 
513
515
  ## `flowcore get tenant [NAME]`
514
516
 
@@ -537,18 +539,18 @@ EXAMPLES
537
539
  $ flowcore get tenant --tenant=tenant-name --json
538
540
  ```
539
541
 
540
- _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)_
541
543
 
542
- ## `flowcore help [COMMANDS]`
544
+ ## `flowcore help [COMMAND]`
543
545
 
544
546
  Display help for flowcore.
545
547
 
546
548
  ```
547
549
  USAGE
548
- $ flowcore help [COMMANDS] [-n]
550
+ $ flowcore help [COMMAND] [-n]
549
551
 
550
552
  ARGUMENTS
551
- COMMANDS Command to show help for.
553
+ COMMAND Command to show help for.
552
554
 
553
555
  FLAGS
554
556
  -n, --nested-commands Include all nested commands in the output.
@@ -557,7 +559,7 @@ DESCRIPTION
557
559
  Display help for flowcore.
558
560
  ```
559
561
 
560
- _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)_
561
563
 
562
564
  ## `flowcore login`
563
565
 
@@ -580,7 +582,7 @@ EXAMPLES
580
582
  $ flowcore login --port 8080
581
583
  ```
582
584
 
583
- _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)_
584
586
 
585
587
  ## `flowcore logs adapter ADAPTER`
586
588
 
@@ -615,7 +617,7 @@ EXAMPLES
615
617
  $ flowcore logs adapter adapter-name -t tenant-name -s scenario-name --json
616
618
  ```
617
619
 
618
- _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)_
619
621
 
620
622
  ## `flowcore new bun-service NAME`
621
623
 
@@ -641,7 +643,7 @@ EXAMPLES
641
643
  $ flowcore new bun-service my-service --no-flowcore
642
644
  ```
643
645
 
644
- _See code: [@flowcore/cli-plugin-generator](https://github.com/flowcore/flowcore-cli-plugin-generator/blob/v1.3.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)_
645
647
 
646
648
  ## `flowcore new generator NAME`
647
649
 
@@ -664,7 +666,7 @@ EXAMPLES
664
666
  $ flowcore new generator my-generator
665
667
  ```
666
668
 
667
- _See code: [@flowcore/cli-plugin-generator](https://github.com/flowcore/flowcore-cli-plugin-generator/blob/v1.3.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)_
668
670
 
669
671
  ## `flowcore new nextjs-app NAME`
670
672
 
@@ -687,7 +689,7 @@ EXAMPLES
687
689
  $ flowcore new nextjs-app my-app
688
690
  ```
689
691
 
690
- _See code: [@flowcore/cli-plugin-generator](https://github.com/flowcore/flowcore-cli-plugin-generator/blob/v1.3.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)_
691
693
 
692
694
  ## `flowcore new plugin NAME`
693
695
 
@@ -710,7 +712,33 @@ EXAMPLES
710
712
  $ flowcore new plugin my-plugin
711
713
  ```
712
714
 
713
- _See code: [@flowcore/cli-plugin-generator](https://github.com/flowcore/flowcore-cli-plugin-generator/blob/v1.3.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)_
716
+
717
+ ## `flowcore new transformer NAME`
718
+
719
+ Create a new Bun transformer
720
+
721
+ ```
722
+ USAGE
723
+ $ flowcore new transformer NAME [--profile <value>] [--no-flowcore]
724
+
725
+ ARGUMENTS
726
+ NAME name of the bun transformer
727
+
728
+ FLAGS
729
+ --no-flowcore do not use flowcore
730
+ --profile=<value> Specify the configuration profile to use
731
+
732
+ DESCRIPTION
733
+ Create a new Bun transformer
734
+
735
+ EXAMPLES
736
+ $ flowcore new transformer my-transformer
737
+
738
+ $ flowcore new transformer my-transformer --no-flowcore
739
+ ```
740
+
741
+ _See code: [@flowcore/cli-plugin-generator](https://github.com/flowcore/flowcore-cli-plugin-generator/blob/v1.6.0/src/commands/new/transformer.ts)_
714
742
 
715
743
  ## `flowcore plugins`
716
744
 
@@ -733,48 +761,53 @@ EXAMPLES
733
761
  $ flowcore plugins
734
762
  ```
735
763
 
736
- _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)_
737
765
 
738
- ## `flowcore plugins:install PLUGIN...`
766
+ ## `flowcore plugins add PLUGIN`
739
767
 
740
- Installs a plugin into the CLI.
768
+ Installs a plugin into flowcore.
741
769
 
742
770
  ```
743
771
  USAGE
744
- $ flowcore plugins add plugins:install PLUGIN...
772
+ $ flowcore plugins add PLUGIN [--json] [-f] [-h] [-s | -v]
745
773
 
746
774
  ARGUMENTS
747
775
  PLUGIN Plugin to install.
748
776
 
749
777
  FLAGS
750
- -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.
751
779
  -h, --help Show CLI help.
752
- -s, --silent Silences yarn output.
753
- -v, --verbose Show verbose yarn output.
780
+ -s, --silent Silences npm output.
781
+ -v, --verbose Show verbose npm output.
754
782
 
755
783
  GLOBAL FLAGS
756
784
  --json Format output as json.
757
785
 
758
786
  DESCRIPTION
759
- Installs a plugin into the CLI.
760
- Can be installed from npm or a git url.
787
+ Installs a plugin into flowcore.
761
788
 
762
- Installation of a user-installed plugin will override a core plugin.
789
+ Uses npm to install plugins.
763
790
 
764
- e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command
765
- will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in
766
- the CLI without the need to patch and update the whole CLI.
791
+ Installation of a user-installed plugin will override a core plugin.
767
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.
768
795
 
769
796
  ALIASES
770
797
  $ flowcore plugins add
771
798
 
772
799
  EXAMPLES
773
- $ flowcore plugins add myplugin
800
+ Install a plugin from npm registry.
801
+
802
+ $ flowcore plugins add myplugin
803
+
804
+ Install a plugin from a github url.
774
805
 
775
- $ flowcore plugins add https://github.com/someuser/someplugin
806
+ $ flowcore plugins add https://github.com/someuser/someplugin
776
807
 
777
- $ flowcore plugins add someuser/someplugin
808
+ Install a plugin from a github slug.
809
+
810
+ $ flowcore plugins add someuser/someplugin
778
811
  ```
779
812
 
780
813
  ## `flowcore plugins:inspect PLUGIN...`
@@ -802,59 +835,64 @@ EXAMPLES
802
835
  $ flowcore plugins inspect myplugin
803
836
  ```
804
837
 
805
- _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)_
806
839
 
807
- ## `flowcore plugins:install PLUGIN...`
840
+ ## `flowcore plugins install PLUGIN`
808
841
 
809
- Installs a plugin into the CLI.
842
+ Installs a plugin into flowcore.
810
843
 
811
844
  ```
812
845
  USAGE
813
- $ flowcore plugins install PLUGIN...
846
+ $ flowcore plugins install PLUGIN [--json] [-f] [-h] [-s | -v]
814
847
 
815
848
  ARGUMENTS
816
849
  PLUGIN Plugin to install.
817
850
 
818
851
  FLAGS
819
- -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.
820
853
  -h, --help Show CLI help.
821
- -s, --silent Silences yarn output.
822
- -v, --verbose Show verbose yarn output.
854
+ -s, --silent Silences npm output.
855
+ -v, --verbose Show verbose npm output.
823
856
 
824
857
  GLOBAL FLAGS
825
858
  --json Format output as json.
826
859
 
827
860
  DESCRIPTION
828
- Installs a plugin into the CLI.
829
- Can be installed from npm or a git url.
861
+ Installs a plugin into flowcore.
830
862
 
831
- Installation of a user-installed plugin will override a core plugin.
863
+ Uses npm to install plugins.
832
864
 
833
- e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command
834
- will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in
835
- the CLI without the need to patch and update the whole CLI.
865
+ Installation of a user-installed plugin will override a core plugin.
836
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.
837
869
 
838
870
  ALIASES
839
871
  $ flowcore plugins add
840
872
 
841
873
  EXAMPLES
842
- $ flowcore plugins install myplugin
874
+ Install a plugin from npm registry.
875
+
876
+ $ flowcore plugins install myplugin
843
877
 
844
- $ flowcore plugins install https://github.com/someuser/someplugin
878
+ Install a plugin from a github url.
845
879
 
846
- $ 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
847
885
  ```
848
886
 
849
- _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)_
850
888
 
851
- ## `flowcore plugins:link PLUGIN`
889
+ ## `flowcore plugins link PATH`
852
890
 
853
891
  Links a plugin into the CLI for development.
854
892
 
855
893
  ```
856
894
  USAGE
857
- $ flowcore plugins link PLUGIN
895
+ $ flowcore plugins link PATH [-h] [--install] [-v]
858
896
 
859
897
  ARGUMENTS
860
898
  PATH [default: .] path to plugin
@@ -876,15 +914,15 @@ EXAMPLES
876
914
  $ flowcore plugins link myplugin
877
915
  ```
878
916
 
879
- _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)_
880
918
 
881
- ## `flowcore plugins:uninstall PLUGIN...`
919
+ ## `flowcore plugins remove [PLUGIN]`
882
920
 
883
921
  Removes a plugin from the CLI.
884
922
 
885
923
  ```
886
924
  USAGE
887
- $ flowcore plugins remove plugins:uninstall PLUGIN...
925
+ $ flowcore plugins remove [PLUGIN] [-h] [-v]
888
926
 
889
927
  ARGUMENTS
890
928
  PLUGIN plugin to uninstall
@@ -917,15 +955,15 @@ FLAGS
917
955
  --reinstall Reinstall all plugins after uninstalling.
918
956
  ```
919
957
 
920
- _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)_
921
959
 
922
- ## `flowcore plugins:uninstall PLUGIN...`
960
+ ## `flowcore plugins uninstall [PLUGIN]`
923
961
 
924
962
  Removes a plugin from the CLI.
925
963
 
926
964
  ```
927
965
  USAGE
928
- $ flowcore plugins uninstall PLUGIN...
966
+ $ flowcore plugins uninstall [PLUGIN] [-h] [-v]
929
967
 
930
968
  ARGUMENTS
931
969
  PLUGIN plugin to uninstall
@@ -945,15 +983,15 @@ EXAMPLES
945
983
  $ flowcore plugins uninstall myplugin
946
984
  ```
947
985
 
948
- _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)_
949
987
 
950
- ## `flowcore plugins:uninstall PLUGIN...`
988
+ ## `flowcore plugins unlink [PLUGIN]`
951
989
 
952
990
  Removes a plugin from the CLI.
953
991
 
954
992
  ```
955
993
  USAGE
956
- $ flowcore plugins unlink plugins:uninstall PLUGIN...
994
+ $ flowcore plugins unlink [PLUGIN] [-h] [-v]
957
995
 
958
996
  ARGUMENTS
959
997
  PLUGIN plugin to uninstall
@@ -989,7 +1027,7 @@ DESCRIPTION
989
1027
  Update installed plugins.
990
1028
  ```
991
1029
 
992
- _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)_
993
1031
 
994
1032
  ## `flowcore plugins update check`
995
1033
 
@@ -1034,7 +1072,7 @@ EXAMPLES
1034
1072
  $ flowcore reset adapter adapter-name -t tenant-name -s scenario-name -e 9cb35da2-ba64-4bb5-86d6-ef20ebc62ab7
1035
1073
  ```
1036
1074
 
1037
- _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)_
1038
1076
 
1039
1077
  ## `flowcore scenario apply`
1040
1078
 
@@ -1064,7 +1102,7 @@ EXAMPLES
1064
1102
  $ cat <<EOF | flowcore scenario apply -f -
1065
1103
  ```
1066
1104
 
1067
- _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)_
1068
1106
 
1069
1107
  ## `flowcore scenario generate manifest`
1070
1108
 
@@ -1096,7 +1134,7 @@ EXAMPLES
1096
1134
  $ flowcore scenario generate manifest -t flowcore -n scenario-name -f example.yaml
1097
1135
  ```
1098
1136
 
1099
- _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)_
1100
1138
 
1101
1139
  ## `flowcore scenario generate transformer`
1102
1140
 
@@ -1123,7 +1161,39 @@ EXAMPLES
1123
1161
  $ flowcore scenario generate transformer -n flow-type-name -d "description of the transformer" -f example.yaml
1124
1162
  ```
1125
1163
 
1126
- _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)_
1127
1197
 
1128
1198
  ## `flowcore scenario local`
1129
1199
 
@@ -1155,7 +1225,7 @@ EXAMPLES
1155
1225
  $ cat <<EOF | flowcore scenario local -f -
1156
1226
  ```
1157
1227
 
1158
- _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)_
1159
1229
 
1160
1230
  ## `flowcore stream STREAM`
1161
1231
 
@@ -1164,7 +1234,6 @@ Stream events from a datacore running on the Flowcore Platform and output them t
1164
1234
  ```
1165
1235
  USAGE
1166
1236
  $ flowcore stream STREAM [--profile <value>] [-e <value>] [-j] [-l] [-m <value>] [-p] [-c] [-s <value>]
1167
- [-o <value>]
1168
1237
 
1169
1238
  ARGUMENTS
1170
1239
  STREAM stream url to connect to
@@ -1175,7 +1244,6 @@ FLAGS
1175
1244
  -j, --json Output json only
1176
1245
  -l, --[no-]live Change to live mode when reaching last time bucket
1177
1246
  -m, --max=<value> Maximum number of events to send to the destination
1178
- -o, --output=<value> [default: log] Output to send events to (deprecated, use subcommand instead to specify output)
1179
1247
  -p, --payload Only send the event payload to the destination
1180
1248
  -s, --start=<value> Start time bucket to stream from, example: (2024-07-08T12:20:44Z, 1y, 1m, 1w, 1d, 1h, now)
1181
1249
  --profile=<value> Specify the configuration profile to use
@@ -1197,7 +1265,7 @@ EXAMPLES
1197
1265
  $ flowcore stream "https://flowcore.io/<org>/<data core>/<flow type>/[<event type1>,<event type2>,<event type3>].stream" -s 3m
1198
1266
  ```
1199
1267
 
1200
- _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)_
1201
1269
 
1202
1270
  ## `flowcore stream http STREAM`
1203
1271
 
@@ -1239,7 +1307,7 @@ EXAMPLES
1239
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
1240
1308
  ```
1241
1309
 
1242
- _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)_
1243
1311
 
1244
1312
  ## `flowcore version`
1245
1313
 
@@ -1259,7 +1327,7 @@ FLAG DESCRIPTIONS
1259
1327
  Additionally shows the architecture, node version, operating system, and versions of plugins that the CLI is using.
1260
1328
  ```
1261
1329
 
1262
- _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)_
1263
1331
 
1264
1332
  ## `flowcore whoami`
1265
1333
 
@@ -1276,5 +1344,5 @@ DESCRIPTION
1276
1344
  Check what user you are logged in as
1277
1345
  ```
1278
1346
 
1279
- _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)_
1280
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.3.1"
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.3.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.3.1",
107
+ "version": "4.0.0",
108
108
  "bugs": "https://github.com/flowcore-io/flowcore-cli/issues",
109
109
  "keywords": [
110
110
  "flowcore",