@flowcore/cli 4.13.2 → 4.13.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/README.md +48 -45
- package/oclif.manifest.json +1 -1
- package/package.json +5 -4
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,20 @@
|
|
|
10
10
|
|
|
11
11
|
* added description to start that includes week ([58687a7](https://github.com/flowcore-io/flowcore-cli/commit/58687a7bbb66aaa5d6da26af88e555cbb1e72467))
|
|
12
12
|
|
|
13
|
+
## [4.13.4](https://github.com/flowcore-io/flowcore-cli/compare/v4.13.3...v4.13.4) (2025-05-14)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
|
|
18
|
+
* **package:** :arrow_up: update @flowcore/cli-plugin-scenario to version 4.2.0 and @flowcore/sdk to version 1.49.0 ([c1b717d](https://github.com/flowcore-io/flowcore-cli/commit/c1b717db94de2f3bf54b8ef03e79eff2c6636589))
|
|
19
|
+
|
|
20
|
+
## [4.13.3](https://github.com/flowcore-io/flowcore-cli/compare/v4.13.2...v4.13.3) (2025-05-01)
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### Bug Fixes
|
|
24
|
+
|
|
25
|
+
* **package:** :arrow_up: update @flowcore/cli-plugin-iam to version 1.7.0 ([7bfd4d8](https://github.com/flowcore-io/flowcore-cli/commit/7bfd4d8e6490678edc690448f9e6befd503a60d5))
|
|
26
|
+
|
|
13
27
|
## [4.13.2](https://github.com/flowcore-io/flowcore-cli/compare/v4.13.1...v4.13.2) (2025-04-29)
|
|
14
28
|
|
|
15
29
|
|
package/README.md
CHANGED
|
@@ -18,7 +18,7 @@ $ npm install -g @flowcore/cli
|
|
|
18
18
|
$ flowcore COMMAND
|
|
19
19
|
running command...
|
|
20
20
|
$ flowcore (--version)
|
|
21
|
-
@flowcore/cli/4.13.
|
|
21
|
+
@flowcore/cli/4.13.4 linux-x64 node-v20.16.0
|
|
22
22
|
$ flowcore --help [COMMAND]
|
|
23
23
|
USAGE
|
|
24
24
|
$ flowcore COMMAND
|
|
@@ -108,7 +108,7 @@ EXAMPLES
|
|
|
108
108
|
$ flowcore apply -f ./path/to/manifest.yml
|
|
109
109
|
```
|
|
110
110
|
|
|
111
|
-
_See code: [src/commands/apply.ts](https://github.com/flowcore-io/flowcore-cli/blob/v4.13.
|
|
111
|
+
_See code: [src/commands/apply.ts](https://github.com/flowcore-io/flowcore-cli/blob/v4.13.4/src/commands/apply.ts)_
|
|
112
112
|
|
|
113
113
|
## `flowcore auth delete key API_KEY_NAME`
|
|
114
114
|
|
|
@@ -561,7 +561,7 @@ EXAMPLES
|
|
|
561
561
|
cat ./path/to/manifest.yml | flowcore delete -f -
|
|
562
562
|
```
|
|
563
563
|
|
|
564
|
-
_See code: [src/commands/delete.ts](https://github.com/flowcore-io/flowcore-cli/blob/v4.13.
|
|
564
|
+
_See code: [src/commands/delete.ts](https://github.com/flowcore-io/flowcore-cli/blob/v4.13.4/src/commands/delete.ts)_
|
|
565
565
|
|
|
566
566
|
## `flowcore delete policy NAME`
|
|
567
567
|
|
|
@@ -584,7 +584,7 @@ DESCRIPTION
|
|
|
584
584
|
Delete a policy
|
|
585
585
|
```
|
|
586
586
|
|
|
587
|
-
_See code: [@flowcore/cli-plugin-iam](https://github.com/flowcore-io/cli-plugin-iam/blob/v1.
|
|
587
|
+
_See code: [@flowcore/cli-plugin-iam](https://github.com/flowcore-io/cli-plugin-iam/blob/v1.7.0/src/commands/delete/policy.ts)_
|
|
588
588
|
|
|
589
589
|
## `flowcore delete role NAME`
|
|
590
590
|
|
|
@@ -607,7 +607,7 @@ DESCRIPTION
|
|
|
607
607
|
Delete a role
|
|
608
608
|
```
|
|
609
609
|
|
|
610
|
-
_See code: [@flowcore/cli-plugin-iam](https://github.com/flowcore-io/cli-plugin-iam/blob/v1.
|
|
610
|
+
_See code: [@flowcore/cli-plugin-iam](https://github.com/flowcore-io/cli-plugin-iam/blob/v1.7.0/src/commands/delete/role.ts)_
|
|
611
611
|
|
|
612
612
|
## `flowcore diff`
|
|
613
613
|
|
|
@@ -628,7 +628,7 @@ EXAMPLES
|
|
|
628
628
|
$ flowcore diff -f ./path/to/manifest.yml
|
|
629
629
|
```
|
|
630
630
|
|
|
631
|
-
_See code: [src/commands/diff.ts](https://github.com/flowcore-io/flowcore-cli/blob/v4.13.
|
|
631
|
+
_See code: [src/commands/diff.ts](https://github.com/flowcore-io/flowcore-cli/blob/v4.13.4/src/commands/diff.ts)_
|
|
632
632
|
|
|
633
633
|
## `flowcore edit policy NAME`
|
|
634
634
|
|
|
@@ -654,7 +654,7 @@ EXAMPLES
|
|
|
654
654
|
$ FC_EDITOR=code flowcore iam edit policy my-policy -t my-tenant
|
|
655
655
|
```
|
|
656
656
|
|
|
657
|
-
_See code: [@flowcore/cli-plugin-iam](https://github.com/flowcore-io/cli-plugin-iam/blob/v1.
|
|
657
|
+
_See code: [@flowcore/cli-plugin-iam](https://github.com/flowcore-io/cli-plugin-iam/blob/v1.7.0/src/commands/edit/policy.ts)_
|
|
658
658
|
|
|
659
659
|
## `flowcore edit role NAME`
|
|
660
660
|
|
|
@@ -680,7 +680,7 @@ EXAMPLES
|
|
|
680
680
|
$ FC_EDITOR=code flowcore iam edit role my-role -t my-tenant
|
|
681
681
|
```
|
|
682
682
|
|
|
683
|
-
_See code: [@flowcore/cli-plugin-iam](https://github.com/flowcore-io/cli-plugin-iam/blob/v1.
|
|
683
|
+
_See code: [@flowcore/cli-plugin-iam](https://github.com/flowcore-io/cli-plugin-iam/blob/v1.7.0/src/commands/edit/role.ts)_
|
|
684
684
|
|
|
685
685
|
## `flowcore generate nextjs-entity NAME`
|
|
686
686
|
|
|
@@ -730,7 +730,7 @@ EXAMPLES
|
|
|
730
730
|
$ flowcore get adapter adapter-name -t tenant-name -s scenario-name
|
|
731
731
|
```
|
|
732
732
|
|
|
733
|
-
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.
|
|
733
|
+
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.2.0/src/commands/get/adapter.ts)_
|
|
734
734
|
|
|
735
735
|
## `flowcore get policy [NAME]`
|
|
736
736
|
|
|
@@ -753,7 +753,7 @@ DESCRIPTION
|
|
|
753
753
|
Get a policy
|
|
754
754
|
```
|
|
755
755
|
|
|
756
|
-
_See code: [@flowcore/cli-plugin-iam](https://github.com/flowcore-io/cli-plugin-iam/blob/v1.
|
|
756
|
+
_See code: [@flowcore/cli-plugin-iam](https://github.com/flowcore-io/cli-plugin-iam/blob/v1.7.0/src/commands/get/policy.ts)_
|
|
757
757
|
|
|
758
758
|
## `flowcore get role [NAME]`
|
|
759
759
|
|
|
@@ -776,7 +776,7 @@ DESCRIPTION
|
|
|
776
776
|
Get a role
|
|
777
777
|
```
|
|
778
778
|
|
|
779
|
-
_See code: [@flowcore/cli-plugin-iam](https://github.com/flowcore-io/cli-plugin-iam/blob/v1.
|
|
779
|
+
_See code: [@flowcore/cli-plugin-iam](https://github.com/flowcore-io/cli-plugin-iam/blob/v1.7.0/src/commands/get/role.ts)_
|
|
780
780
|
|
|
781
781
|
## `flowcore get scenario [SCENARIO]`
|
|
782
782
|
|
|
@@ -784,7 +784,7 @@ Get scenario
|
|
|
784
784
|
|
|
785
785
|
```
|
|
786
786
|
USAGE
|
|
787
|
-
$ flowcore get scenario [SCENARIO] -t <value> [--profile <value>]
|
|
787
|
+
$ flowcore get scenario [SCENARIO] -t <value> [--profile <value>] [--v2]
|
|
788
788
|
|
|
789
789
|
ARGUMENTS
|
|
790
790
|
SCENARIO scenario name
|
|
@@ -792,6 +792,7 @@ ARGUMENTS
|
|
|
792
792
|
FLAGS
|
|
793
793
|
-t, --tenant=<value> (required) tenant
|
|
794
794
|
--profile=<value> Specify the configuration profile to use
|
|
795
|
+
--v2 use v2 api
|
|
795
796
|
|
|
796
797
|
DESCRIPTION
|
|
797
798
|
Get scenario
|
|
@@ -802,7 +803,7 @@ EXAMPLES
|
|
|
802
803
|
$ flowcore get scenario scenario-name -t tenant-name
|
|
803
804
|
```
|
|
804
805
|
|
|
805
|
-
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.
|
|
806
|
+
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.2.0/src/commands/get/scenario.ts)_
|
|
806
807
|
|
|
807
808
|
## `flowcore get tenant [NAME]`
|
|
808
809
|
|
|
@@ -871,7 +872,7 @@ EXAMPLES
|
|
|
871
872
|
$ flowcore info
|
|
872
873
|
```
|
|
873
874
|
|
|
874
|
-
_See code: [src/commands/info.ts](https://github.com/flowcore-io/flowcore-cli/blob/v4.13.
|
|
875
|
+
_See code: [src/commands/info.ts](https://github.com/flowcore-io/flowcore-cli/blob/v4.13.4/src/commands/info.ts)_
|
|
875
876
|
|
|
876
877
|
## `flowcore login`
|
|
877
878
|
|
|
@@ -928,7 +929,7 @@ EXAMPLES
|
|
|
928
929
|
$ flowcore logs adapter adapter-name -t tenant-name -s scenario-name --json
|
|
929
930
|
```
|
|
930
931
|
|
|
931
|
-
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.
|
|
932
|
+
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.2.0/src/commands/logs/adapter.ts)_
|
|
932
933
|
|
|
933
934
|
## `flowcore new bun-service NAME`
|
|
934
935
|
|
|
@@ -1383,7 +1384,7 @@ EXAMPLES
|
|
|
1383
1384
|
$ flowcore reset adapter adapter-name -t tenant-name -s scenario-name -e 9cb35da2-ba64-4bb5-86d6-ef20ebc62ab7
|
|
1384
1385
|
```
|
|
1385
1386
|
|
|
1386
|
-
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.
|
|
1387
|
+
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.2.0/src/commands/reset/adapter.ts)_
|
|
1387
1388
|
|
|
1388
1389
|
## `flowcore scenario apply`
|
|
1389
1390
|
|
|
@@ -1413,7 +1414,7 @@ EXAMPLES
|
|
|
1413
1414
|
$ cat <<EOF | flowcore scenario apply -f -
|
|
1414
1415
|
```
|
|
1415
1416
|
|
|
1416
|
-
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.
|
|
1417
|
+
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.2.0/src/commands/scenario/apply.ts)_
|
|
1417
1418
|
|
|
1418
1419
|
## `flowcore scenario generate transformer`
|
|
1419
1420
|
|
|
@@ -1440,7 +1441,7 @@ EXAMPLES
|
|
|
1440
1441
|
$ flowcore scenario generate transformer -n flow-type-name -d "description of the transformer" -f example.yaml
|
|
1441
1442
|
```
|
|
1442
1443
|
|
|
1443
|
-
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.
|
|
1444
|
+
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.2.0/src/commands/scenario/generate/transformer.ts)_
|
|
1444
1445
|
|
|
1445
1446
|
## `flowcore scenario init`
|
|
1446
1447
|
|
|
@@ -1472,7 +1473,7 @@ EXAMPLES
|
|
|
1472
1473
|
$ flowcore scenario init -t flowcore -n scenario-name -f example.yaml
|
|
1473
1474
|
```
|
|
1474
1475
|
|
|
1475
|
-
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.
|
|
1476
|
+
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.2.0/src/commands/scenario/init.ts)_
|
|
1476
1477
|
|
|
1477
1478
|
## `flowcore scenario local`
|
|
1478
1479
|
|
|
@@ -1505,7 +1506,7 @@ EXAMPLES
|
|
|
1505
1506
|
$ cat <<EOF | flowcore scenario local -f -
|
|
1506
1507
|
```
|
|
1507
1508
|
|
|
1508
|
-
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.
|
|
1509
|
+
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.2.0/src/commands/scenario/local.ts)_
|
|
1509
1510
|
|
|
1510
1511
|
## `flowcore stream STREAM`
|
|
1511
1512
|
|
|
@@ -1513,22 +1514,23 @@ Stream events from a datacore running on the Flowcore Platform and output them t
|
|
|
1513
1514
|
|
|
1514
1515
|
```
|
|
1515
1516
|
USAGE
|
|
1516
|
-
$ flowcore stream STREAM [-e <value>] [-j] [-l] [-m <value>] [-p] [-c] [-s <value>] [-z <value>]
|
|
1517
|
+
$ flowcore stream STREAM [-e <value>] [-j] [-l] [-m <value>] [-p] [-c] [-s <value>] [-z <value>] [-i]
|
|
1517
1518
|
[--profile <value>]
|
|
1518
1519
|
|
|
1519
1520
|
ARGUMENTS
|
|
1520
1521
|
STREAM stream url to connect to
|
|
1521
1522
|
|
|
1522
1523
|
FLAGS
|
|
1523
|
-
-c, --scan
|
|
1524
|
-
-e, --end=<value>
|
|
1525
|
-
-
|
|
1526
|
-
-
|
|
1527
|
-
-
|
|
1528
|
-
-
|
|
1529
|
-
-
|
|
1530
|
-
-
|
|
1531
|
-
|
|
1524
|
+
-c, --scan Scan the full time range
|
|
1525
|
+
-e, --end=<value> End time to stream to, example: 2024-07-08T12:20:44Z, 1y, 1m, 1w, 1d, 1h, now
|
|
1526
|
+
-i, --includeSensitiveData Include sensitive data in the output
|
|
1527
|
+
-j, --json Output json only
|
|
1528
|
+
-l, --[no-]live Change to live mode when reaching last time bucket
|
|
1529
|
+
-m, --max=<value> Maximum number of events to send to the destination
|
|
1530
|
+
-p, --payload Only send the event payload to the destination
|
|
1531
|
+
-s, --start=<value> Start time bucket to stream from, example: (2024-07-08T12:20:44Z, 1y, 1m, 1w, 1d, 1h, now)
|
|
1532
|
+
-z, --pageSize=<value> [default: 10000] Number of events to fetch per page
|
|
1533
|
+
--profile=<value> Specify the configuration profile to use
|
|
1532
1534
|
|
|
1533
1535
|
DESCRIPTION
|
|
1534
1536
|
Stream events from a datacore running on the Flowcore Platform and output them to the console
|
|
@@ -1547,7 +1549,7 @@ EXAMPLES
|
|
|
1547
1549
|
$ flowcore stream "https://flowcore.io/<org>/<data core>/<flow type>/[<event type1>,<event type2>,<event type3>].stream" -s 3m
|
|
1548
1550
|
```
|
|
1549
1551
|
|
|
1550
|
-
_See code: [@flowcore/cli-plugin-core](https://github.com/flowcore/flowcore-cli-plugin-core/blob/v5.
|
|
1552
|
+
_See code: [@flowcore/cli-plugin-core](https://github.com/flowcore/flowcore-cli-plugin-core/blob/v5.4.0/src/commands/stream.ts)_
|
|
1551
1553
|
|
|
1552
1554
|
## `flowcore stream http STREAM`
|
|
1553
1555
|
|
|
@@ -1555,25 +1557,26 @@ Stream events from a datacore running on the Flowcore Platform and stream to a h
|
|
|
1555
1557
|
|
|
1556
1558
|
```
|
|
1557
1559
|
USAGE
|
|
1558
|
-
$ flowcore stream http STREAM [-e <value>] [-j] [-l] [-m <value>] [-p] [-c] [-s <value>] [-z <value>]
|
|
1560
|
+
$ flowcore stream http STREAM [-e <value>] [-j] [-l] [-m <value>] [-p] [-c] [-s <value>] [-z <value>] [-i]
|
|
1559
1561
|
[--profile <value>] [-d <value>] [-H <value>] [-t <value>]
|
|
1560
1562
|
|
|
1561
1563
|
ARGUMENTS
|
|
1562
1564
|
STREAM stream url to connect to
|
|
1563
1565
|
|
|
1564
1566
|
FLAGS
|
|
1565
|
-
-H, --header=<value>...
|
|
1566
|
-
-c, --scan
|
|
1567
|
-
-d, --destination=<value>
|
|
1568
|
-
-e, --end=<value>
|
|
1569
|
-
-
|
|
1570
|
-
-
|
|
1571
|
-
-
|
|
1572
|
-
-
|
|
1573
|
-
-
|
|
1574
|
-
-
|
|
1575
|
-
-
|
|
1576
|
-
|
|
1567
|
+
-H, --header=<value>... [default: ] header to send with the request, example: (-H 'Authorization: Bearer TOKEN')
|
|
1568
|
+
-c, --scan Scan the full time range
|
|
1569
|
+
-d, --destination=<value> [default: http://localhost:3000/transform] Destination to send events to
|
|
1570
|
+
-e, --end=<value> End time to stream to, example: 2024-07-08T12:20:44Z, 1y, 1m, 1w, 1d, 1h, now
|
|
1571
|
+
-i, --includeSensitiveData Include sensitive data in the output
|
|
1572
|
+
-j, --json Output json only
|
|
1573
|
+
-l, --[no-]live Change to live mode when reaching last time bucket
|
|
1574
|
+
-m, --max=<value> Maximum number of events to send to the destination
|
|
1575
|
+
-p, --payload Only send the event payload to the destination
|
|
1576
|
+
-s, --start=<value> Start time bucket to stream from, example: (2024-07-08T12:20:44Z, 1y, 1m, 1w, 1d, 1h, now)
|
|
1577
|
+
-t, --timeout=<value> [default: 5000] Timeout in milliseconds to wait for a response from the destination
|
|
1578
|
+
-z, --pageSize=<value> [default: 10000] Number of events to fetch per page
|
|
1579
|
+
--profile=<value> Specify the configuration profile to use
|
|
1577
1580
|
|
|
1578
1581
|
DESCRIPTION
|
|
1579
1582
|
Stream events from a datacore running on the Flowcore Platform and stream to a http endpoint
|
|
@@ -1590,7 +1593,7 @@ EXAMPLES
|
|
|
1590
1593
|
$ 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
|
|
1591
1594
|
```
|
|
1592
1595
|
|
|
1593
|
-
_See code: [@flowcore/cli-plugin-core](https://github.com/flowcore/flowcore-cli-plugin-core/blob/v5.
|
|
1596
|
+
_See code: [@flowcore/cli-plugin-core](https://github.com/flowcore/flowcore-cli-plugin-core/blob/v5.4.0/src/commands/stream/http.ts)_
|
|
1594
1597
|
|
|
1595
1598
|
## `flowcore version`
|
|
1596
1599
|
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -8,12 +8,13 @@
|
|
|
8
8
|
"@flowcore/cli-plugin-ai": "^1.1.2",
|
|
9
9
|
"@flowcore/cli-plugin-auth-management": "^1.4.0",
|
|
10
10
|
"@flowcore/cli-plugin-config": "^2.5.0",
|
|
11
|
-
"@flowcore/cli-plugin-core": "^5.
|
|
11
|
+
"@flowcore/cli-plugin-core": "^5.4.0",
|
|
12
12
|
"@flowcore/cli-plugin-data-core": "^3.3.0",
|
|
13
13
|
"@flowcore/cli-plugin-generator": "^1.6.0",
|
|
14
|
-
"@flowcore/cli-plugin-iam": "^1.
|
|
15
|
-
"@flowcore/cli-plugin-scenario": "^4.
|
|
14
|
+
"@flowcore/cli-plugin-iam": "^1.7.0",
|
|
15
|
+
"@flowcore/cli-plugin-scenario": "^4.2.0",
|
|
16
16
|
"@flowcore/cli-plugin-tenant-management": "^1.1.1",
|
|
17
|
+
"@flowcore/sdk": "^1.39.0",
|
|
17
18
|
"@flowcore/time-bucket": "^1.1.0",
|
|
18
19
|
"@oclif/core": "^4.0.21",
|
|
19
20
|
"@oclif/plugin-autocomplete": "^3.2.3",
|
|
@@ -114,7 +115,7 @@
|
|
|
114
115
|
"prestart": "npm run build",
|
|
115
116
|
"update-schema": "rover graph introspect https://graph.api.staging.flowcore.io/graphql -o schema.gql"
|
|
116
117
|
},
|
|
117
|
-
"version": "4.13.
|
|
118
|
+
"version": "4.13.4",
|
|
118
119
|
"bugs": "https://github.com/flowcore-io/flowcore-cli/issues",
|
|
119
120
|
"keywords": [
|
|
120
121
|
"flowcore",
|