@flowcore/cli 3.1.1 → 3.3.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,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
+ ## [3.3.0](https://github.com/flowcore-io/flowcore-cli/compare/v3.2.0...v3.3.0) (2024-09-03)
14
+
15
+
16
+ ### Features
17
+
18
+ * added functionality to manage secrets and support github pat token ([53f6c93](https://github.com/flowcore-io/flowcore-cli/commit/53f6c931e61528694b7de35b765555310290035b))
19
+ * bumped flowcore scenario to latest shell version ([597462b](https://github.com/flowcore-io/flowcore-cli/commit/597462bc833de42ece7219ad4bb49476d32504d7))
20
+ * updated to scenario plugin with private repo pat blueprint configuration ([e3dae25](https://github.com/flowcore-io/flowcore-cli/commit/e3dae259457061e4277aba3690db0e55a33ae1b6))
21
+
22
+ ## [3.2.0](https://github.com/flowcore-io/flowcore-cli/compare/v3.1.1...v3.2.0) (2024-08-30)
23
+
24
+
25
+ ### Features
26
+
27
+ * added get tenant resources ([c800ba7](https://github.com/flowcore-io/flowcore-cli/commit/c800ba740153098b229361a86d1449d71ebdf8e9))
28
+
13
29
  ## [3.1.1](https://github.com/flowcore-io/flowcore-cli/compare/v3.1.0...v3.1.1) (2024-08-30)
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/3.1.1 linux-x64 node-v20.17.0
21
+ @flowcore/cli/3.3.0 linux-x64 node-v20.17.0
22
22
  $ flowcore --help [COMMAND]
23
23
  USAGE
24
24
  $ flowcore COMMAND
@@ -29,8 +29,11 @@ USAGE
29
29
  <!-- commands -->
30
30
  * [`flowcore apply`](#flowcore-apply)
31
31
  * [`flowcore auth delete key API_KEY_NAME`](#flowcore-auth-delete-key-api_key_name)
32
+ * [`flowcore auth delete secret SECRET_KEY`](#flowcore-auth-delete-secret-secret_key)
32
33
  * [`flowcore auth list key`](#flowcore-auth-list-key)
34
+ * [`flowcore auth list secret`](#flowcore-auth-list-secret)
33
35
  * [`flowcore auth new key NAME`](#flowcore-auth-new-key-name)
36
+ * [`flowcore auth new secret NAME`](#flowcore-auth-new-secret-name)
34
37
  * [`flowcore autocomplete [SHELL]`](#flowcore-autocomplete-shell)
35
38
  * [`flowcore config set`](#flowcore-config-set)
36
39
  * [`flowcore config show`](#flowcore-config-show)
@@ -41,6 +44,7 @@ USAGE
41
44
  * [`flowcore generate nextjs-entity NAME`](#flowcore-generate-nextjs-entity-name)
42
45
  * [`flowcore get adapter [ADAPTER]`](#flowcore-get-adapter-adapter)
43
46
  * [`flowcore get scenario [SCENARIO]`](#flowcore-get-scenario-scenario)
47
+ * [`flowcore get tenant [NAME]`](#flowcore-get-tenant-name)
44
48
  * [`flowcore help [COMMANDS]`](#flowcore-help-commands)
45
49
  * [`flowcore login`](#flowcore-login)
46
50
  * [`flowcore logs adapter ADAPTER`](#flowcore-logs-adapter-adapter)
@@ -89,7 +93,7 @@ EXAMPLES
89
93
  $ flowcore apply -f ./path/to/manifest.yml
90
94
  ```
91
95
 
92
- _See code: [src/commands/apply.ts](https://github.com/flowcore-io/flowcore-cli/blob/v3.1.1/src/commands/apply.ts)_
96
+ _See code: [src/commands/apply.ts](https://github.com/flowcore-io/flowcore-cli/blob/v3.3.0/src/commands/apply.ts)_
93
97
 
94
98
  ## `flowcore auth delete key API_KEY_NAME`
95
99
 
@@ -113,7 +117,31 @@ EXAMPLES
113
117
  $ flowcore auth delete key --tenant=tenant-id <api-key-name>
114
118
  ```
115
119
 
116
- _See code: [@flowcore/cli-plugin-auth-management](https://github.com/flowcore-io/cli-plugin-auth-management/blob/v1.0.1/src/commands/auth/delete/key.ts)_
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)_
121
+
122
+ ## `flowcore auth delete secret SECRET_KEY`
123
+
124
+ Delete an organization secret
125
+
126
+ ```
127
+ USAGE
128
+ $ flowcore auth delete secret SECRET_KEY -t <value> [--profile <value>]
129
+
130
+ ARGUMENTS
131
+ SECRET_KEY Key of the secret to delete
132
+
133
+ FLAGS
134
+ -t, --tenant=<value> (required) tenant where the secret should be deleted
135
+ --profile=<value> Specify the configuration profile to use
136
+
137
+ DESCRIPTION
138
+ Delete an organization secret
139
+
140
+ EXAMPLES
141
+ $ flowcore auth delete secret --tenant=tenant-id <secret-key>
142
+ ```
143
+
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)_
117
145
 
118
146
  ## `flowcore auth list key`
119
147
 
@@ -135,7 +163,29 @@ EXAMPLES
135
163
  $ flowcore auth list key --tenant=tenant-id
136
164
  ```
137
165
 
138
- _See code: [@flowcore/cli-plugin-auth-management](https://github.com/flowcore-io/cli-plugin-auth-management/blob/v1.0.1/src/commands/auth/list/key.ts)_
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)_
167
+
168
+ ## `flowcore auth list secret`
169
+
170
+ List all organization secrets
171
+
172
+ ```
173
+ USAGE
174
+ $ flowcore auth list secret -t <value> [--profile <value>] [-j]
175
+
176
+ FLAGS
177
+ -j, --json output the secrets in JSON format
178
+ -t, --tenant=<value> (required) tenant where the secrets should be listed
179
+ --profile=<value> Specify the configuration profile to use
180
+
181
+ DESCRIPTION
182
+ List all organization secrets
183
+
184
+ EXAMPLES
185
+ $ flowcore auth list secret --tenant=tenant-id
186
+ ```
187
+
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)_
139
189
 
140
190
  ## `flowcore auth new key NAME`
141
191
 
@@ -160,7 +210,33 @@ EXAMPLES
160
210
  $ flowcore auth new key --tenant=tenant-id --name=key-name
161
211
  ```
162
212
 
163
- _See code: [@flowcore/cli-plugin-auth-management](https://github.com/flowcore-io/cli-plugin-auth-management/blob/v1.0.1/src/commands/auth/new/key.ts)_
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)_
214
+
215
+ ## `flowcore auth new secret NAME`
216
+
217
+ Create a new secret for the tenant
218
+
219
+ ```
220
+ USAGE
221
+ $ flowcore auth new secret NAME -t <value> [--profile <value>] [--from-file <value>] [--from-literal <value>]
222
+
223
+ ARGUMENTS
224
+ NAME name of the secret
225
+
226
+ FLAGS
227
+ -t, --tenant=<value> (required) tenant where the secret should be created
228
+ --from-file=<value> read value from a file
229
+ --from-literal=<value> use literal value instead of reading from stdin
230
+ --profile=<value> Specify the configuration profile to use
231
+
232
+ DESCRIPTION
233
+ Create a new secret for the tenant
234
+
235
+ EXAMPLES
236
+ $ flowcore auth new secret --tenant=tenant-id --from-literal=value
237
+ ```
238
+
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)_
164
240
 
165
241
  ## `flowcore autocomplete [SHELL]`
166
242
 
@@ -406,7 +482,7 @@ EXAMPLES
406
482
  $ flowcore get adapter adapter-name -t tenant-name -s scenario-name
407
483
  ```
408
484
 
409
- _See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v3.0.1/src/commands/get/adapter.ts)_
485
+ _See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v3.3.0/src/commands/get/adapter.ts)_
410
486
 
411
487
  ## `flowcore get scenario [SCENARIO]`
412
488
 
@@ -432,7 +508,36 @@ EXAMPLES
432
508
  $ flowcore get scenario scenario-name -t tenant-name
433
509
  ```
434
510
 
435
- _See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v3.0.1/src/commands/get/scenario.ts)_
511
+ _See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v3.3.0/src/commands/get/scenario.ts)_
512
+
513
+ ## `flowcore get tenant [NAME]`
514
+
515
+ Get tenant
516
+
517
+ ```
518
+ USAGE
519
+ $ flowcore get tenant [NAME] [--profile <value>] [-j] [-t <value>]
520
+
521
+ ARGUMENTS
522
+ NAME name
523
+
524
+ FLAGS
525
+ -j, --json output in json
526
+ -t, --tenant=<value> tenant
527
+ --profile=<value> Specify the configuration profile to use
528
+
529
+ DESCRIPTION
530
+ Get tenant
531
+
532
+ EXAMPLES
533
+ $ flowcore get tenant
534
+
535
+ $ flowcore get tenant --tenant=tenant-name
536
+
537
+ $ flowcore get tenant --tenant=tenant-name --json
538
+ ```
539
+
540
+ _See code: [@flowcore/cli-plugin-tenant-management](https://github.com/flowcore-io/tenant-management/blob/v1.0.0/src/commands/get/tenant.ts)_
436
541
 
437
542
  ## `flowcore help [COMMANDS]`
438
543
 
@@ -510,7 +615,7 @@ EXAMPLES
510
615
  $ flowcore logs adapter adapter-name -t tenant-name -s scenario-name --json
511
616
  ```
512
617
 
513
- _See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v3.0.1/src/commands/logs/adapter.ts)_
618
+ _See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v3.3.0/src/commands/logs/adapter.ts)_
514
619
 
515
620
  ## `flowcore new bun-service NAME`
516
621
 
@@ -929,7 +1034,7 @@ EXAMPLES
929
1034
  $ flowcore reset adapter adapter-name -t tenant-name -s scenario-name -e 9cb35da2-ba64-4bb5-86d6-ef20ebc62ab7
930
1035
  ```
931
1036
 
932
- _See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v3.0.1/src/commands/reset/adapter.ts)_
1037
+ _See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v3.3.0/src/commands/reset/adapter.ts)_
933
1038
 
934
1039
  ## `flowcore scenario apply`
935
1040
 
@@ -959,7 +1064,7 @@ EXAMPLES
959
1064
  $ cat <<EOF | flowcore scenario apply -f -
960
1065
  ```
961
1066
 
962
- _See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v3.0.1/src/commands/scenario/apply.ts)_
1067
+ _See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v3.3.0/src/commands/scenario/apply.ts)_
963
1068
 
964
1069
  ## `flowcore scenario generate manifest`
965
1070
 
@@ -991,7 +1096,7 @@ EXAMPLES
991
1096
  $ flowcore scenario generate manifest -t flowcore -n scenario-name -f example.yaml
992
1097
  ```
993
1098
 
994
- _See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v3.0.1/src/commands/scenario/generate/manifest.ts)_
1099
+ _See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v3.3.0/src/commands/scenario/generate/manifest.ts)_
995
1100
 
996
1101
  ## `flowcore scenario generate transformer`
997
1102
 
@@ -1018,7 +1123,7 @@ EXAMPLES
1018
1123
  $ flowcore scenario generate transformer -n flow-type-name -d "description of the transformer" -f example.yaml
1019
1124
  ```
1020
1125
 
1021
- _See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v3.0.1/src/commands/scenario/generate/transformer.ts)_
1126
+ _See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v3.3.0/src/commands/scenario/generate/transformer.ts)_
1022
1127
 
1023
1128
  ## `flowcore scenario local`
1024
1129
 
@@ -1050,7 +1155,7 @@ EXAMPLES
1050
1155
  $ cat <<EOF | flowcore scenario local -f -
1051
1156
  ```
1052
1157
 
1053
- _See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v3.0.1/src/commands/scenario/local.ts)_
1158
+ _See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v3.3.0/src/commands/scenario/local.ts)_
1054
1159
 
1055
1160
  ## `flowcore stream STREAM`
1056
1161
 
@@ -48,5 +48,5 @@
48
48
  ]
49
49
  }
50
50
  },
51
- "version": "3.1.1"
51
+ "version": "3.3.0"
52
52
  }
package/package.json CHANGED
@@ -5,12 +5,13 @@
5
5
  },
6
6
  "dependencies": {
7
7
  "@datastructures-js/queue": "^4.2.3",
8
- "@flowcore/cli-plugin-auth-management": "^1.0.1",
8
+ "@flowcore/cli-plugin-auth-management": "^1.1.0",
9
9
  "@flowcore/cli-plugin-config": "^1.1.0",
10
10
  "@flowcore/cli-plugin-core": "^2.0.0",
11
11
  "@flowcore/cli-plugin-data-core": "^2.2.2",
12
12
  "@flowcore/cli-plugin-generator": "^1.3.0",
13
- "@flowcore/cli-plugin-scenario": "^3.0.1",
13
+ "@flowcore/cli-plugin-scenario": "^3.3.0",
14
+ "@flowcore/cli-plugin-tenant-management": "^1.0.0",
14
15
  "@flowcore/time-bucket": "^1.1.0",
15
16
  "@oclif/core": "^3",
16
17
  "@oclif/plugin-autocomplete": "^3.0.2",
@@ -81,7 +82,8 @@
81
82
  "@flowcore/cli-plugin-scenario",
82
83
  "@flowcore/cli-plugin-core",
83
84
  "@flowcore/cli-plugin-generator",
84
- "@flowcore/cli-plugin-auth-management"
85
+ "@flowcore/cli-plugin-auth-management",
86
+ "@flowcore/cli-plugin-tenant-management"
85
87
  ],
86
88
  "warnIfUpdateAvailable": {
87
89
  "timeoutInDays": 2
@@ -102,7 +104,7 @@
102
104
  "prestart": "npm run build",
103
105
  "update-schema": "rover graph introspect https://graph.api.staging.flowcore.io/graphql -o schema.gql"
104
106
  },
105
- "version": "3.1.1",
107
+ "version": "3.3.0",
106
108
  "bugs": "https://github.com/flowcore-io/flowcore-cli/issues",
107
109
  "keywords": [
108
110
  "flowcore",