@flowcore/cli 4.12.4 → 4.12.6
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 +16 -0
- package/README.md +166 -15
- package/oclif.manifest.json +1 -1
- package/package.json +4 -3
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,22 @@
|
|
|
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.12.6](https://github.com/flowcore-io/flowcore-cli/compare/v4.12.5...v4.12.6) (2025-03-06)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
|
|
18
|
+
* update scenario plugin to version 4.1.5 ([0ed9ddf](https://github.com/flowcore-io/flowcore-cli/commit/0ed9ddf811d738d7ef190854f6903c49ce39a365))
|
|
19
|
+
|
|
20
|
+
## [4.12.5](https://github.com/flowcore-io/flowcore-cli/compare/v4.12.4...v4.12.5) (2025-02-16)
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### Bug Fixes
|
|
24
|
+
|
|
25
|
+
* update GitHub workflow runners to blacksmith instance ([d830b63](https://github.com/flowcore-io/flowcore-cli/commit/d830b63b5349eecf1357df5c097927cab40b1ef0))
|
|
26
|
+
* updated IAM CLI plugin ([782b8a0](https://github.com/flowcore-io/flowcore-cli/commit/782b8a033105ee89cfcbaafab8a78cc7fb6fe682))
|
|
27
|
+
* upgrade @flowcore/cli-plugin-iam to version 1.6.0 ([bc7520b](https://github.com/flowcore-io/flowcore-cli/commit/bc7520bca9797036f5f51ec47326eaeb708b6a1d))
|
|
28
|
+
|
|
13
29
|
## [4.12.4](https://github.com/flowcore-io/flowcore-cli/compare/v4.12.3...v4.12.4) (2025-02-13)
|
|
14
30
|
|
|
15
31
|
|
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/4.12.
|
|
21
|
+
@flowcore/cli/4.12.6 linux-x64 node-v20.16.0
|
|
22
22
|
$ flowcore --help [COMMAND]
|
|
23
23
|
USAGE
|
|
24
24
|
$ flowcore COMMAND
|
|
@@ -43,9 +43,15 @@ USAGE
|
|
|
43
43
|
* [`flowcore data-core generate flow-type`](#flowcore-data-core-generate-flow-type)
|
|
44
44
|
* [`flowcore data-core init`](#flowcore-data-core-init)
|
|
45
45
|
* [`flowcore delete`](#flowcore-delete)
|
|
46
|
+
* [`flowcore delete policy NAME`](#flowcore-delete-policy-name)
|
|
47
|
+
* [`flowcore delete role NAME`](#flowcore-delete-role-name)
|
|
46
48
|
* [`flowcore diff`](#flowcore-diff)
|
|
49
|
+
* [`flowcore edit policy NAME`](#flowcore-edit-policy-name)
|
|
50
|
+
* [`flowcore edit role NAME`](#flowcore-edit-role-name)
|
|
47
51
|
* [`flowcore generate nextjs-entity NAME`](#flowcore-generate-nextjs-entity-name)
|
|
48
52
|
* [`flowcore get adapter [ADAPTER]`](#flowcore-get-adapter-adapter)
|
|
53
|
+
* [`flowcore get policy [NAME]`](#flowcore-get-policy-name)
|
|
54
|
+
* [`flowcore get role [NAME]`](#flowcore-get-role-name)
|
|
49
55
|
* [`flowcore get scenario [SCENARIO]`](#flowcore-get-scenario-scenario)
|
|
50
56
|
* [`flowcore get tenant [NAME]`](#flowcore-get-tenant-name)
|
|
51
57
|
* [`flowcore help [COMMAND]`](#flowcore-help-command)
|
|
@@ -99,7 +105,7 @@ EXAMPLES
|
|
|
99
105
|
$ flowcore apply -f ./path/to/manifest.yml
|
|
100
106
|
```
|
|
101
107
|
|
|
102
|
-
_See code: [src/commands/apply.ts](https://github.com/flowcore-io/flowcore-cli/blob/v4.12.
|
|
108
|
+
_See code: [src/commands/apply.ts](https://github.com/flowcore-io/flowcore-cli/blob/v4.12.6/src/commands/apply.ts)_
|
|
103
109
|
|
|
104
110
|
## `flowcore auth delete key API_KEY_NAME`
|
|
105
111
|
|
|
@@ -483,7 +489,53 @@ EXAMPLES
|
|
|
483
489
|
cat ./path/to/manifest.yml | flowcore delete -f -
|
|
484
490
|
```
|
|
485
491
|
|
|
486
|
-
_See code: [src/commands/delete.ts](https://github.com/flowcore-io/flowcore-cli/blob/v4.12.
|
|
492
|
+
_See code: [src/commands/delete.ts](https://github.com/flowcore-io/flowcore-cli/blob/v4.12.6/src/commands/delete.ts)_
|
|
493
|
+
|
|
494
|
+
## `flowcore delete policy NAME`
|
|
495
|
+
|
|
496
|
+
Delete a policy
|
|
497
|
+
|
|
498
|
+
```
|
|
499
|
+
USAGE
|
|
500
|
+
$ flowcore delete policy NAME -t <value> [--profile <value>] [-j] [-y]
|
|
501
|
+
|
|
502
|
+
ARGUMENTS
|
|
503
|
+
NAME name
|
|
504
|
+
|
|
505
|
+
FLAGS
|
|
506
|
+
-j, --json json output
|
|
507
|
+
-t, --tenant=<value> (required) tenant
|
|
508
|
+
-y, --yes yes to all
|
|
509
|
+
--profile=<value> Specify the configuration profile to use
|
|
510
|
+
|
|
511
|
+
DESCRIPTION
|
|
512
|
+
Delete a policy
|
|
513
|
+
```
|
|
514
|
+
|
|
515
|
+
_See code: [@flowcore/cli-plugin-iam](https://github.com/flowcore-io/cli-plugin-iam/blob/v1.6.0/src/commands/delete/policy.ts)_
|
|
516
|
+
|
|
517
|
+
## `flowcore delete role NAME`
|
|
518
|
+
|
|
519
|
+
Delete a role
|
|
520
|
+
|
|
521
|
+
```
|
|
522
|
+
USAGE
|
|
523
|
+
$ flowcore delete role NAME -t <value> [--profile <value>] [-j] [-y]
|
|
524
|
+
|
|
525
|
+
ARGUMENTS
|
|
526
|
+
NAME name
|
|
527
|
+
|
|
528
|
+
FLAGS
|
|
529
|
+
-j, --json json output
|
|
530
|
+
-t, --tenant=<value> (required) tenant
|
|
531
|
+
-y, --yes yes to all
|
|
532
|
+
--profile=<value> Specify the configuration profile to use
|
|
533
|
+
|
|
534
|
+
DESCRIPTION
|
|
535
|
+
Delete a role
|
|
536
|
+
```
|
|
537
|
+
|
|
538
|
+
_See code: [@flowcore/cli-plugin-iam](https://github.com/flowcore-io/cli-plugin-iam/blob/v1.6.0/src/commands/delete/role.ts)_
|
|
487
539
|
|
|
488
540
|
## `flowcore diff`
|
|
489
541
|
|
|
@@ -504,7 +556,59 @@ EXAMPLES
|
|
|
504
556
|
$ flowcore diff -f ./path/to/manifest.yml
|
|
505
557
|
```
|
|
506
558
|
|
|
507
|
-
_See code: [src/commands/diff.ts](https://github.com/flowcore-io/flowcore-cli/blob/v4.12.
|
|
559
|
+
_See code: [src/commands/diff.ts](https://github.com/flowcore-io/flowcore-cli/blob/v4.12.6/src/commands/diff.ts)_
|
|
560
|
+
|
|
561
|
+
## `flowcore edit policy NAME`
|
|
562
|
+
|
|
563
|
+
Edit a policy in your preferred editor
|
|
564
|
+
|
|
565
|
+
```
|
|
566
|
+
USAGE
|
|
567
|
+
$ flowcore edit policy NAME -t <value> [--profile <value>]
|
|
568
|
+
|
|
569
|
+
ARGUMENTS
|
|
570
|
+
NAME name
|
|
571
|
+
|
|
572
|
+
FLAGS
|
|
573
|
+
-t, --tenant=<value> (required) tenant
|
|
574
|
+
--profile=<value> Specify the configuration profile to use
|
|
575
|
+
|
|
576
|
+
DESCRIPTION
|
|
577
|
+
Edit a policy in your preferred editor
|
|
578
|
+
|
|
579
|
+
EXAMPLES
|
|
580
|
+
$ flowcore iam edit policy my-policy -t my-tenant
|
|
581
|
+
|
|
582
|
+
$ FC_EDITOR=code flowcore iam edit policy my-policy -t my-tenant
|
|
583
|
+
```
|
|
584
|
+
|
|
585
|
+
_See code: [@flowcore/cli-plugin-iam](https://github.com/flowcore-io/cli-plugin-iam/blob/v1.6.0/src/commands/edit/policy.ts)_
|
|
586
|
+
|
|
587
|
+
## `flowcore edit role NAME`
|
|
588
|
+
|
|
589
|
+
Edit a role in your preferred editor
|
|
590
|
+
|
|
591
|
+
```
|
|
592
|
+
USAGE
|
|
593
|
+
$ flowcore edit role NAME -t <value> [--profile <value>]
|
|
594
|
+
|
|
595
|
+
ARGUMENTS
|
|
596
|
+
NAME name
|
|
597
|
+
|
|
598
|
+
FLAGS
|
|
599
|
+
-t, --tenant=<value> (required) tenant
|
|
600
|
+
--profile=<value> Specify the configuration profile to use
|
|
601
|
+
|
|
602
|
+
DESCRIPTION
|
|
603
|
+
Edit a role in your preferred editor
|
|
604
|
+
|
|
605
|
+
EXAMPLES
|
|
606
|
+
$ flowcore iam edit role my-role -t my-tenant
|
|
607
|
+
|
|
608
|
+
$ FC_EDITOR=code flowcore iam edit role my-role -t my-tenant
|
|
609
|
+
```
|
|
610
|
+
|
|
611
|
+
_See code: [@flowcore/cli-plugin-iam](https://github.com/flowcore-io/cli-plugin-iam/blob/v1.6.0/src/commands/edit/role.ts)_
|
|
508
612
|
|
|
509
613
|
## `flowcore generate nextjs-entity NAME`
|
|
510
614
|
|
|
@@ -554,7 +658,53 @@ EXAMPLES
|
|
|
554
658
|
$ flowcore get adapter adapter-name -t tenant-name -s scenario-name
|
|
555
659
|
```
|
|
556
660
|
|
|
557
|
-
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.1.
|
|
661
|
+
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.1.6/src/commands/get/adapter.ts)_
|
|
662
|
+
|
|
663
|
+
## `flowcore get policy [NAME]`
|
|
664
|
+
|
|
665
|
+
Get a policy
|
|
666
|
+
|
|
667
|
+
```
|
|
668
|
+
USAGE
|
|
669
|
+
$ flowcore get policy [NAME] [--profile <value>] [-j] [-t <value>] [-w]
|
|
670
|
+
|
|
671
|
+
ARGUMENTS
|
|
672
|
+
NAME name
|
|
673
|
+
|
|
674
|
+
FLAGS
|
|
675
|
+
-j, --json json output
|
|
676
|
+
-t, --tenant=<value> tenant
|
|
677
|
+
-w, --wide wide output
|
|
678
|
+
--profile=<value> Specify the configuration profile to use
|
|
679
|
+
|
|
680
|
+
DESCRIPTION
|
|
681
|
+
Get a policy
|
|
682
|
+
```
|
|
683
|
+
|
|
684
|
+
_See code: [@flowcore/cli-plugin-iam](https://github.com/flowcore-io/cli-plugin-iam/blob/v1.6.0/src/commands/get/policy.ts)_
|
|
685
|
+
|
|
686
|
+
## `flowcore get role [NAME]`
|
|
687
|
+
|
|
688
|
+
Get a role
|
|
689
|
+
|
|
690
|
+
```
|
|
691
|
+
USAGE
|
|
692
|
+
$ flowcore get role [NAME] [--profile <value>] [-j] [-t <value>] [-w]
|
|
693
|
+
|
|
694
|
+
ARGUMENTS
|
|
695
|
+
NAME name
|
|
696
|
+
|
|
697
|
+
FLAGS
|
|
698
|
+
-j, --json json output
|
|
699
|
+
-t, --tenant=<value> tenant
|
|
700
|
+
-w, --wide wide output
|
|
701
|
+
--profile=<value> Specify the configuration profile to use
|
|
702
|
+
|
|
703
|
+
DESCRIPTION
|
|
704
|
+
Get a role
|
|
705
|
+
```
|
|
706
|
+
|
|
707
|
+
_See code: [@flowcore/cli-plugin-iam](https://github.com/flowcore-io/cli-plugin-iam/blob/v1.6.0/src/commands/get/role.ts)_
|
|
558
708
|
|
|
559
709
|
## `flowcore get scenario [SCENARIO]`
|
|
560
710
|
|
|
@@ -580,7 +730,7 @@ EXAMPLES
|
|
|
580
730
|
$ flowcore get scenario scenario-name -t tenant-name
|
|
581
731
|
```
|
|
582
732
|
|
|
583
|
-
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.1.
|
|
733
|
+
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.1.6/src/commands/get/scenario.ts)_
|
|
584
734
|
|
|
585
735
|
## `flowcore get tenant [NAME]`
|
|
586
736
|
|
|
@@ -649,7 +799,7 @@ EXAMPLES
|
|
|
649
799
|
$ flowcore info
|
|
650
800
|
```
|
|
651
801
|
|
|
652
|
-
_See code: [src/commands/info.ts](https://github.com/flowcore-io/flowcore-cli/blob/v4.12.
|
|
802
|
+
_See code: [src/commands/info.ts](https://github.com/flowcore-io/flowcore-cli/blob/v4.12.6/src/commands/info.ts)_
|
|
653
803
|
|
|
654
804
|
## `flowcore login`
|
|
655
805
|
|
|
@@ -706,7 +856,7 @@ EXAMPLES
|
|
|
706
856
|
$ flowcore logs adapter adapter-name -t tenant-name -s scenario-name --json
|
|
707
857
|
```
|
|
708
858
|
|
|
709
|
-
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.1.
|
|
859
|
+
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.1.6/src/commands/logs/adapter.ts)_
|
|
710
860
|
|
|
711
861
|
## `flowcore new bun-service NAME`
|
|
712
862
|
|
|
@@ -1161,7 +1311,7 @@ EXAMPLES
|
|
|
1161
1311
|
$ flowcore reset adapter adapter-name -t tenant-name -s scenario-name -e 9cb35da2-ba64-4bb5-86d6-ef20ebc62ab7
|
|
1162
1312
|
```
|
|
1163
1313
|
|
|
1164
|
-
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.1.
|
|
1314
|
+
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.1.6/src/commands/reset/adapter.ts)_
|
|
1165
1315
|
|
|
1166
1316
|
## `flowcore scenario apply`
|
|
1167
1317
|
|
|
@@ -1191,7 +1341,7 @@ EXAMPLES
|
|
|
1191
1341
|
$ cat <<EOF | flowcore scenario apply -f -
|
|
1192
1342
|
```
|
|
1193
1343
|
|
|
1194
|
-
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.1.
|
|
1344
|
+
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.1.6/src/commands/scenario/apply.ts)_
|
|
1195
1345
|
|
|
1196
1346
|
## `flowcore scenario generate transformer`
|
|
1197
1347
|
|
|
@@ -1218,7 +1368,7 @@ EXAMPLES
|
|
|
1218
1368
|
$ flowcore scenario generate transformer -n flow-type-name -d "description of the transformer" -f example.yaml
|
|
1219
1369
|
```
|
|
1220
1370
|
|
|
1221
|
-
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.1.
|
|
1371
|
+
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.1.6/src/commands/scenario/generate/transformer.ts)_
|
|
1222
1372
|
|
|
1223
1373
|
## `flowcore scenario init`
|
|
1224
1374
|
|
|
@@ -1250,7 +1400,7 @@ EXAMPLES
|
|
|
1250
1400
|
$ flowcore scenario init -t flowcore -n scenario-name -f example.yaml
|
|
1251
1401
|
```
|
|
1252
1402
|
|
|
1253
|
-
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.1.
|
|
1403
|
+
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.1.6/src/commands/scenario/init.ts)_
|
|
1254
1404
|
|
|
1255
1405
|
## `flowcore scenario local`
|
|
1256
1406
|
|
|
@@ -1258,8 +1408,8 @@ Spin up local stream threads based on a scenario manifest
|
|
|
1258
1408
|
|
|
1259
1409
|
```
|
|
1260
1410
|
USAGE
|
|
1261
|
-
$ flowcore scenario local -e <value> -f <value> [--profile <value>] [-H <value>] [-m http] [-
|
|
1262
|
-
<value>] [-y]
|
|
1411
|
+
$ flowcore scenario local -e <value> -f <value> [--profile <value>] [-H <value>] [-m http] [-z <value>] [-c] [-s
|
|
1412
|
+
<value>] [-t <value>] [-y]
|
|
1263
1413
|
|
|
1264
1414
|
FLAGS
|
|
1265
1415
|
-H, --header=<value>... [default: ] header to send with the request, example: (-H 'Authorization: Bearer TOKEN')
|
|
@@ -1271,6 +1421,7 @@ FLAGS
|
|
|
1271
1421
|
-s, --start=<value> Start time bucket to stream from, example: (1y, 1m, 1w, 1d, 1h, now)
|
|
1272
1422
|
-t, --timeout=<value> [default: 5000] Timeout in milliseconds to wait for a response from the destination
|
|
1273
1423
|
-y, --yes skip confirmation
|
|
1424
|
+
-z, --pageSize=<value> [default: 10000] Page size for the stream
|
|
1274
1425
|
--profile=<value> Specify the configuration profile to use
|
|
1275
1426
|
|
|
1276
1427
|
DESCRIPTION
|
|
@@ -1282,7 +1433,7 @@ EXAMPLES
|
|
|
1282
1433
|
$ cat <<EOF | flowcore scenario local -f -
|
|
1283
1434
|
```
|
|
1284
1435
|
|
|
1285
|
-
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.1.
|
|
1436
|
+
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.1.6/src/commands/scenario/local.ts)_
|
|
1286
1437
|
|
|
1287
1438
|
## `flowcore stream STREAM`
|
|
1288
1439
|
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
"@flowcore/cli-plugin-core": "^5.1.6",
|
|
12
12
|
"@flowcore/cli-plugin-data-core": "^3.2.2",
|
|
13
13
|
"@flowcore/cli-plugin-generator": "^1.6.0",
|
|
14
|
-
"@flowcore/cli-plugin-
|
|
14
|
+
"@flowcore/cli-plugin-iam": "^1.6.0",
|
|
15
|
+
"@flowcore/cli-plugin-scenario": "^4.1.5",
|
|
15
16
|
"@flowcore/cli-plugin-tenant-management": "^1.1.1",
|
|
16
17
|
"@flowcore/time-bucket": "^1.1.0",
|
|
17
18
|
"@oclif/core": "^4.0.21",
|
|
@@ -113,7 +114,7 @@
|
|
|
113
114
|
"prestart": "npm run build",
|
|
114
115
|
"update-schema": "rover graph introspect https://graph.api.staging.flowcore.io/graphql -o schema.gql"
|
|
115
116
|
},
|
|
116
|
-
"version": "4.12.
|
|
117
|
+
"version": "4.12.6",
|
|
117
118
|
"bugs": "https://github.com/flowcore-io/flowcore-cli/issues",
|
|
118
119
|
"keywords": [
|
|
119
120
|
"flowcore",
|
|
@@ -127,4 +128,4 @@
|
|
|
127
128
|
"exports": "./lib/index.js",
|
|
128
129
|
"type": "module",
|
|
129
130
|
"packageManager": "yarn@1.22.22+sha1.ac34549e6aa8e7ead463a7407e1c7390f61a6610"
|
|
130
|
-
}
|
|
131
|
+
}
|