@flowcore/cli 4.0.0 → 4.0.1
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 +7 -0
- package/README.md +20 -53
- package/oclif.manifest.json +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,13 @@
|
|
|
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.1](https://github.com/flowcore-io/flowcore-cli/compare/v4.0.0...v4.0.1) (2024-09-10)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
|
|
18
|
+
* updated core libraries with fixes for streaming ([f6077ce](https://github.com/flowcore-io/flowcore-cli/commit/f6077ce40debe9247080c7f5f473709e2eef7ecf))
|
|
19
|
+
|
|
13
20
|
## [4.0.0](https://github.com/flowcore-io/flowcore-cli/compare/v3.4.0...v4.0.0) (2024-09-09)
|
|
14
21
|
|
|
15
22
|
|
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.0.
|
|
21
|
+
@flowcore/cli/4.0.1 linux-x64 node-v20.17.0
|
|
22
22
|
$ flowcore --help [COMMAND]
|
|
23
23
|
USAGE
|
|
24
24
|
$ flowcore COMMAND
|
|
@@ -66,7 +66,6 @@ USAGE
|
|
|
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
|
-
* [`flowcore scenario generate manifest`](#flowcore-scenario-generate-manifest)
|
|
70
69
|
* [`flowcore scenario generate transformer`](#flowcore-scenario-generate-transformer)
|
|
71
70
|
* [`flowcore scenario init`](#flowcore-scenario-init)
|
|
72
71
|
* [`flowcore scenario local`](#flowcore-scenario-local)
|
|
@@ -95,7 +94,7 @@ EXAMPLES
|
|
|
95
94
|
$ flowcore apply -f ./path/to/manifest.yml
|
|
96
95
|
```
|
|
97
96
|
|
|
98
|
-
_See code: [src/commands/apply.ts](https://github.com/flowcore-io/flowcore-cli/blob/v4.0.
|
|
97
|
+
_See code: [src/commands/apply.ts](https://github.com/flowcore-io/flowcore-cli/blob/v4.0.1/src/commands/apply.ts)_
|
|
99
98
|
|
|
100
99
|
## `flowcore auth delete key API_KEY_NAME`
|
|
101
100
|
|
|
@@ -119,7 +118,7 @@ EXAMPLES
|
|
|
119
118
|
$ flowcore auth delete key --tenant=tenant-id <api-key-name>
|
|
120
119
|
```
|
|
121
120
|
|
|
122
|
-
_See code: [@flowcore/cli-plugin-auth-management](https://github.com/flowcore-io/cli-plugin-auth-management/blob/v1.2.
|
|
121
|
+
_See code: [@flowcore/cli-plugin-auth-management](https://github.com/flowcore-io/cli-plugin-auth-management/blob/v1.2.1/src/commands/auth/delete/key.ts)_
|
|
123
122
|
|
|
124
123
|
## `flowcore auth delete secret SECRET_KEY`
|
|
125
124
|
|
|
@@ -143,7 +142,7 @@ EXAMPLES
|
|
|
143
142
|
$ flowcore auth delete secret --tenant=tenant-id <secret-key>
|
|
144
143
|
```
|
|
145
144
|
|
|
146
|
-
_See code: [@flowcore/cli-plugin-auth-management](https://github.com/flowcore-io/cli-plugin-auth-management/blob/v1.2.
|
|
145
|
+
_See code: [@flowcore/cli-plugin-auth-management](https://github.com/flowcore-io/cli-plugin-auth-management/blob/v1.2.1/src/commands/auth/delete/secret.ts)_
|
|
147
146
|
|
|
148
147
|
## `flowcore auth list key`
|
|
149
148
|
|
|
@@ -165,7 +164,7 @@ EXAMPLES
|
|
|
165
164
|
$ flowcore auth list key --tenant=tenant-id
|
|
166
165
|
```
|
|
167
166
|
|
|
168
|
-
_See code: [@flowcore/cli-plugin-auth-management](https://github.com/flowcore-io/cli-plugin-auth-management/blob/v1.2.
|
|
167
|
+
_See code: [@flowcore/cli-plugin-auth-management](https://github.com/flowcore-io/cli-plugin-auth-management/blob/v1.2.1/src/commands/auth/list/key.ts)_
|
|
169
168
|
|
|
170
169
|
## `flowcore auth list secret`
|
|
171
170
|
|
|
@@ -187,7 +186,7 @@ EXAMPLES
|
|
|
187
186
|
$ flowcore auth list secret --tenant=tenant-id
|
|
188
187
|
```
|
|
189
188
|
|
|
190
|
-
_See code: [@flowcore/cli-plugin-auth-management](https://github.com/flowcore-io/cli-plugin-auth-management/blob/v1.2.
|
|
189
|
+
_See code: [@flowcore/cli-plugin-auth-management](https://github.com/flowcore-io/cli-plugin-auth-management/blob/v1.2.1/src/commands/auth/list/secret.ts)_
|
|
191
190
|
|
|
192
191
|
## `flowcore auth new key NAME`
|
|
193
192
|
|
|
@@ -212,7 +211,7 @@ EXAMPLES
|
|
|
212
211
|
$ flowcore auth new key --tenant=tenant-id --name=key-name
|
|
213
212
|
```
|
|
214
213
|
|
|
215
|
-
_See code: [@flowcore/cli-plugin-auth-management](https://github.com/flowcore-io/cli-plugin-auth-management/blob/v1.2.
|
|
214
|
+
_See code: [@flowcore/cli-plugin-auth-management](https://github.com/flowcore-io/cli-plugin-auth-management/blob/v1.2.1/src/commands/auth/new/key.ts)_
|
|
216
215
|
|
|
217
216
|
## `flowcore auth new secret NAME`
|
|
218
217
|
|
|
@@ -238,7 +237,7 @@ EXAMPLES
|
|
|
238
237
|
$ flowcore auth new secret --tenant=tenant-id --from-literal=value
|
|
239
238
|
```
|
|
240
239
|
|
|
241
|
-
_See code: [@flowcore/cli-plugin-auth-management](https://github.com/flowcore-io/cli-plugin-auth-management/blob/v1.2.
|
|
240
|
+
_See code: [@flowcore/cli-plugin-auth-management](https://github.com/flowcore-io/cli-plugin-auth-management/blob/v1.2.1/src/commands/auth/new/secret.ts)_
|
|
242
241
|
|
|
243
242
|
## `flowcore autocomplete [SHELL]`
|
|
244
243
|
|
|
@@ -484,7 +483,7 @@ EXAMPLES
|
|
|
484
483
|
$ flowcore get adapter adapter-name -t tenant-name -s scenario-name
|
|
485
484
|
```
|
|
486
485
|
|
|
487
|
-
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.0.
|
|
486
|
+
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.0.3/src/commands/get/adapter.ts)_
|
|
488
487
|
|
|
489
488
|
## `flowcore get scenario [SCENARIO]`
|
|
490
489
|
|
|
@@ -510,7 +509,7 @@ EXAMPLES
|
|
|
510
509
|
$ flowcore get scenario scenario-name -t tenant-name
|
|
511
510
|
```
|
|
512
511
|
|
|
513
|
-
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.0.
|
|
512
|
+
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.0.3/src/commands/get/scenario.ts)_
|
|
514
513
|
|
|
515
514
|
## `flowcore get tenant [NAME]`
|
|
516
515
|
|
|
@@ -617,7 +616,7 @@ EXAMPLES
|
|
|
617
616
|
$ flowcore logs adapter adapter-name -t tenant-name -s scenario-name --json
|
|
618
617
|
```
|
|
619
618
|
|
|
620
|
-
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.0.
|
|
619
|
+
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.0.3/src/commands/logs/adapter.ts)_
|
|
621
620
|
|
|
622
621
|
## `flowcore new bun-service NAME`
|
|
623
622
|
|
|
@@ -1072,7 +1071,7 @@ EXAMPLES
|
|
|
1072
1071
|
$ flowcore reset adapter adapter-name -t tenant-name -s scenario-name -e 9cb35da2-ba64-4bb5-86d6-ef20ebc62ab7
|
|
1073
1072
|
```
|
|
1074
1073
|
|
|
1075
|
-
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.0.
|
|
1074
|
+
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.0.3/src/commands/reset/adapter.ts)_
|
|
1076
1075
|
|
|
1077
1076
|
## `flowcore scenario apply`
|
|
1078
1077
|
|
|
@@ -1102,39 +1101,7 @@ EXAMPLES
|
|
|
1102
1101
|
$ cat <<EOF | flowcore scenario apply -f -
|
|
1103
1102
|
```
|
|
1104
1103
|
|
|
1105
|
-
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.0.
|
|
1106
|
-
|
|
1107
|
-
## `flowcore scenario generate manifest`
|
|
1108
|
-
|
|
1109
|
-
Generate a scenario manifest
|
|
1110
|
-
|
|
1111
|
-
```
|
|
1112
|
-
USAGE
|
|
1113
|
-
$ flowcore scenario generate manifest -t <value> [--profile <value>] [-f <value>] [-n <value>] [-o] [--placeholder]
|
|
1114
|
-
|
|
1115
|
-
FLAGS
|
|
1116
|
-
-f, --file=<value> file to apply
|
|
1117
|
-
-n, --name=<value> name of the scenario to generate
|
|
1118
|
-
-o, --overwrite overwrite the existing scenario
|
|
1119
|
-
-t, --tenant=<value> (required) tenant to apply the scenario to, this is the org for your organization, it can be
|
|
1120
|
-
seen in the url when accessing your organization
|
|
1121
|
-
--placeholder generate a placeholder manifest
|
|
1122
|
-
--profile=<value> Specify the configuration profile to use
|
|
1123
|
-
|
|
1124
|
-
DESCRIPTION
|
|
1125
|
-
Generate a scenario manifest
|
|
1126
|
-
|
|
1127
|
-
EXAMPLES
|
|
1128
|
-
$ flowcore scenario generate manifest -t flowcore
|
|
1129
|
-
|
|
1130
|
-
$ flowcore scenario generate manifest -t flowcore --placeholder
|
|
1131
|
-
|
|
1132
|
-
$ flowcore scenario generate manifest -t flowcore -f example.yaml
|
|
1133
|
-
|
|
1134
|
-
$ flowcore scenario generate manifest -t flowcore -n scenario-name -f example.yaml
|
|
1135
|
-
```
|
|
1136
|
-
|
|
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)_
|
|
1104
|
+
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.0.3/src/commands/scenario/apply.ts)_
|
|
1138
1105
|
|
|
1139
1106
|
## `flowcore scenario generate transformer`
|
|
1140
1107
|
|
|
@@ -1161,7 +1128,7 @@ EXAMPLES
|
|
|
1161
1128
|
$ flowcore scenario generate transformer -n flow-type-name -d "description of the transformer" -f example.yaml
|
|
1162
1129
|
```
|
|
1163
1130
|
|
|
1164
|
-
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.0.
|
|
1131
|
+
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.0.3/src/commands/scenario/generate/transformer.ts)_
|
|
1165
1132
|
|
|
1166
1133
|
## `flowcore scenario init`
|
|
1167
1134
|
|
|
@@ -1193,7 +1160,7 @@ EXAMPLES
|
|
|
1193
1160
|
$ flowcore scenario init -t flowcore -n scenario-name -f example.yaml
|
|
1194
1161
|
```
|
|
1195
1162
|
|
|
1196
|
-
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.0.
|
|
1163
|
+
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.0.3/src/commands/scenario/init.ts)_
|
|
1197
1164
|
|
|
1198
1165
|
## `flowcore scenario local`
|
|
1199
1166
|
|
|
@@ -1225,7 +1192,7 @@ EXAMPLES
|
|
|
1225
1192
|
$ cat <<EOF | flowcore scenario local -f -
|
|
1226
1193
|
```
|
|
1227
1194
|
|
|
1228
|
-
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.0.
|
|
1195
|
+
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.0.3/src/commands/scenario/local.ts)_
|
|
1229
1196
|
|
|
1230
1197
|
## `flowcore stream STREAM`
|
|
1231
1198
|
|
|
@@ -1233,7 +1200,7 @@ Stream events from a datacore running on the Flowcore Platform and output them t
|
|
|
1233
1200
|
|
|
1234
1201
|
```
|
|
1235
1202
|
USAGE
|
|
1236
|
-
$ flowcore stream STREAM [
|
|
1203
|
+
$ flowcore stream STREAM [-e <value>] [-j] [-l] [-m <value>] [-p] [-c] [-s <value>] [--profile <value>]
|
|
1237
1204
|
|
|
1238
1205
|
ARGUMENTS
|
|
1239
1206
|
STREAM stream url to connect to
|
|
@@ -1265,7 +1232,7 @@ EXAMPLES
|
|
|
1265
1232
|
$ flowcore stream "https://flowcore.io/<org>/<data core>/<flow type>/[<event type1>,<event type2>,<event type3>].stream" -s 3m
|
|
1266
1233
|
```
|
|
1267
1234
|
|
|
1268
|
-
_See code: [@flowcore/cli-plugin-core](https://github.com/flowcore/flowcore-cli-plugin-core/blob/v3.
|
|
1235
|
+
_See code: [@flowcore/cli-plugin-core](https://github.com/flowcore/flowcore-cli-plugin-core/blob/v3.3.0/src/commands/stream.ts)_
|
|
1269
1236
|
|
|
1270
1237
|
## `flowcore stream http STREAM`
|
|
1271
1238
|
|
|
@@ -1273,7 +1240,7 @@ Stream events from a datacore running on the Flowcore Platform and stream to a h
|
|
|
1273
1240
|
|
|
1274
1241
|
```
|
|
1275
1242
|
USAGE
|
|
1276
|
-
$ flowcore stream http STREAM [
|
|
1243
|
+
$ flowcore stream http STREAM [-e <value>] [-j] [-l] [-m <value>] [-p] [-c] [-s <value>] [--profile <value>]
|
|
1277
1244
|
[-d <value>] [-H <value>] [-t <value>]
|
|
1278
1245
|
|
|
1279
1246
|
ARGUMENTS
|
|
@@ -1307,7 +1274,7 @@ EXAMPLES
|
|
|
1307
1274
|
$ 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
|
|
1308
1275
|
```
|
|
1309
1276
|
|
|
1310
|
-
_See code: [@flowcore/cli-plugin-core](https://github.com/flowcore/flowcore-cli-plugin-core/blob/v3.
|
|
1277
|
+
_See code: [@flowcore/cli-plugin-core](https://github.com/flowcore/flowcore-cli-plugin-core/blob/v3.3.0/src/commands/stream/http.ts)_
|
|
1311
1278
|
|
|
1312
1279
|
## `flowcore version`
|
|
1313
1280
|
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
},
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@datastructures-js/queue": "^4.2.3",
|
|
8
|
-
"@flowcore/cli-plugin-auth-management": "^1.2.
|
|
8
|
+
"@flowcore/cli-plugin-auth-management": "^1.2.1",
|
|
9
9
|
"@flowcore/cli-plugin-config": "^2.2.1",
|
|
10
|
-
"@flowcore/cli-plugin-core": "^3.
|
|
10
|
+
"@flowcore/cli-plugin-core": "^3.3.0",
|
|
11
11
|
"@flowcore/cli-plugin-data-core": "^3.0.1",
|
|
12
12
|
"@flowcore/cli-plugin-generator": "^1.6.0",
|
|
13
|
-
"@flowcore/cli-plugin-scenario": "^4.0.
|
|
13
|
+
"@flowcore/cli-plugin-scenario": "^4.0.3",
|
|
14
14
|
"@flowcore/cli-plugin-tenant-management": "^1.1.0",
|
|
15
15
|
"@flowcore/time-bucket": "^1.1.0",
|
|
16
16
|
"@oclif/core": "^4.0.21",
|
|
@@ -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": "4.0.
|
|
107
|
+
"version": "4.0.1",
|
|
108
108
|
"bugs": "https://github.com/flowcore-io/flowcore-cli/issues",
|
|
109
109
|
"keywords": [
|
|
110
110
|
"flowcore",
|