@flowcore/cli 3.1.0 → 3.2.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 +10 -2
- package/README.md +106 -2
- package/oclif.manifest.json +1 -1
- package/package.json +118 -115
package/CHANGELOG.md
CHANGED
|
@@ -10,12 +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
|
-
## [3.
|
|
13
|
+
## [3.2.0](https://github.com/flowcore-io/flowcore-cli/compare/v3.1.1...v3.2.0) (2024-08-30)
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
### Features
|
|
17
17
|
|
|
18
|
-
* added
|
|
18
|
+
* added get tenant resources ([c800ba7](https://github.com/flowcore-io/flowcore-cli/commit/c800ba740153098b229361a86d1449d71ebdf8e9))
|
|
19
|
+
|
|
20
|
+
## [3.1.1](https://github.com/flowcore-io/flowcore-cli/compare/v3.1.0...v3.1.1) (2024-08-30)
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### Bug Fixes
|
|
24
|
+
|
|
25
|
+
* added flowcore auth management as default plugin ([659585d](https://github.com/flowcore-io/flowcore-cli/commit/659585d6f78970e9aad025f2d3c030f07d3b6401))
|
|
26
|
+
* character typo ([7bd332f](https://github.com/flowcore-io/flowcore-cli/commit/7bd332f3bb62941649675d9c8c4a3f277399912b))
|
|
19
27
|
|
|
20
28
|
## [3.0.1](https://github.com/flowcore-io/flowcore-cli/compare/v3.0.0...v3.0.1) (2024-08-29)
|
|
21
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/3.
|
|
21
|
+
@flowcore/cli/3.2.0 linux-x64 node-v20.17.0
|
|
22
22
|
$ flowcore --help [COMMAND]
|
|
23
23
|
USAGE
|
|
24
24
|
$ flowcore COMMAND
|
|
@@ -28,6 +28,9 @@ USAGE
|
|
|
28
28
|
# Commands
|
|
29
29
|
<!-- commands -->
|
|
30
30
|
* [`flowcore apply`](#flowcore-apply)
|
|
31
|
+
* [`flowcore auth delete key API_KEY_NAME`](#flowcore-auth-delete-key-api_key_name)
|
|
32
|
+
* [`flowcore auth list key`](#flowcore-auth-list-key)
|
|
33
|
+
* [`flowcore auth new key NAME`](#flowcore-auth-new-key-name)
|
|
31
34
|
* [`flowcore autocomplete [SHELL]`](#flowcore-autocomplete-shell)
|
|
32
35
|
* [`flowcore config set`](#flowcore-config-set)
|
|
33
36
|
* [`flowcore config show`](#flowcore-config-show)
|
|
@@ -38,6 +41,7 @@ USAGE
|
|
|
38
41
|
* [`flowcore generate nextjs-entity NAME`](#flowcore-generate-nextjs-entity-name)
|
|
39
42
|
* [`flowcore get adapter [ADAPTER]`](#flowcore-get-adapter-adapter)
|
|
40
43
|
* [`flowcore get scenario [SCENARIO]`](#flowcore-get-scenario-scenario)
|
|
44
|
+
* [`flowcore get tenant [NAME]`](#flowcore-get-tenant-name)
|
|
41
45
|
* [`flowcore help [COMMANDS]`](#flowcore-help-commands)
|
|
42
46
|
* [`flowcore login`](#flowcore-login)
|
|
43
47
|
* [`flowcore logs adapter ADAPTER`](#flowcore-logs-adapter-adapter)
|
|
@@ -86,7 +90,78 @@ EXAMPLES
|
|
|
86
90
|
$ flowcore apply -f ./path/to/manifest.yml
|
|
87
91
|
```
|
|
88
92
|
|
|
89
|
-
_See code: [src/commands/apply.ts](https://github.com/flowcore-io/flowcore-cli/blob/v3.
|
|
93
|
+
_See code: [src/commands/apply.ts](https://github.com/flowcore-io/flowcore-cli/blob/v3.2.0/src/commands/apply.ts)_
|
|
94
|
+
|
|
95
|
+
## `flowcore auth delete key API_KEY_NAME`
|
|
96
|
+
|
|
97
|
+
Delete an API key
|
|
98
|
+
|
|
99
|
+
```
|
|
100
|
+
USAGE
|
|
101
|
+
$ flowcore auth delete key API_KEY_NAME -t <value> [--profile <value>]
|
|
102
|
+
|
|
103
|
+
ARGUMENTS
|
|
104
|
+
API_KEY_NAME Name of the API key to delete
|
|
105
|
+
|
|
106
|
+
FLAGS
|
|
107
|
+
-t, --tenant=<value> (required) tenant where the API keys should be listed
|
|
108
|
+
--profile=<value> Specify the configuration profile to use
|
|
109
|
+
|
|
110
|
+
DESCRIPTION
|
|
111
|
+
Delete an API key
|
|
112
|
+
|
|
113
|
+
EXAMPLES
|
|
114
|
+
$ flowcore auth delete key --tenant=tenant-id <api-key-name>
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
_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)_
|
|
118
|
+
|
|
119
|
+
## `flowcore auth list key`
|
|
120
|
+
|
|
121
|
+
List all API keys
|
|
122
|
+
|
|
123
|
+
```
|
|
124
|
+
USAGE
|
|
125
|
+
$ flowcore auth list key -t <value> [--profile <value>] [-j]
|
|
126
|
+
|
|
127
|
+
FLAGS
|
|
128
|
+
-j, --json output the API key in JSON format
|
|
129
|
+
-t, --tenant=<value> (required) tenant where the API keys should be listed
|
|
130
|
+
--profile=<value> Specify the configuration profile to use
|
|
131
|
+
|
|
132
|
+
DESCRIPTION
|
|
133
|
+
List all API keys
|
|
134
|
+
|
|
135
|
+
EXAMPLES
|
|
136
|
+
$ flowcore auth list key --tenant=tenant-id
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
_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)_
|
|
140
|
+
|
|
141
|
+
## `flowcore auth new key NAME`
|
|
142
|
+
|
|
143
|
+
Create a new API key
|
|
144
|
+
|
|
145
|
+
```
|
|
146
|
+
USAGE
|
|
147
|
+
$ flowcore auth new key NAME -t <value> [--profile <value>] [-j]
|
|
148
|
+
|
|
149
|
+
ARGUMENTS
|
|
150
|
+
NAME name of the API key
|
|
151
|
+
|
|
152
|
+
FLAGS
|
|
153
|
+
-j, --json output the API key in JSON format
|
|
154
|
+
-t, --tenant=<value> (required) tenant where the API key should be created
|
|
155
|
+
--profile=<value> Specify the configuration profile to use
|
|
156
|
+
|
|
157
|
+
DESCRIPTION
|
|
158
|
+
Create a new API key
|
|
159
|
+
|
|
160
|
+
EXAMPLES
|
|
161
|
+
$ flowcore auth new key --tenant=tenant-id --name=key-name
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
_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)_
|
|
90
165
|
|
|
91
166
|
## `flowcore autocomplete [SHELL]`
|
|
92
167
|
|
|
@@ -360,6 +435,35 @@ EXAMPLES
|
|
|
360
435
|
|
|
361
436
|
_See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v3.0.1/src/commands/get/scenario.ts)_
|
|
362
437
|
|
|
438
|
+
## `flowcore get tenant [NAME]`
|
|
439
|
+
|
|
440
|
+
Get tenant
|
|
441
|
+
|
|
442
|
+
```
|
|
443
|
+
USAGE
|
|
444
|
+
$ flowcore get tenant [NAME] [--profile <value>] [-j] [-t <value>]
|
|
445
|
+
|
|
446
|
+
ARGUMENTS
|
|
447
|
+
NAME name
|
|
448
|
+
|
|
449
|
+
FLAGS
|
|
450
|
+
-j, --json output in json
|
|
451
|
+
-t, --tenant=<value> tenant
|
|
452
|
+
--profile=<value> Specify the configuration profile to use
|
|
453
|
+
|
|
454
|
+
DESCRIPTION
|
|
455
|
+
Get tenant
|
|
456
|
+
|
|
457
|
+
EXAMPLES
|
|
458
|
+
$ flowcore get tenant
|
|
459
|
+
|
|
460
|
+
$ flowcore get tenant --tenant=tenant-name
|
|
461
|
+
|
|
462
|
+
$ flowcore get tenant --tenant=tenant-name --json
|
|
463
|
+
```
|
|
464
|
+
|
|
465
|
+
_See code: [@flowcore/cli-plugin-tenant-management](https://github.com/flowcore-io/tenant-management/blob/v1.0.0/src/commands/get/tenant.ts)_
|
|
466
|
+
|
|
363
467
|
## `flowcore help [COMMANDS]`
|
|
364
468
|
|
|
365
469
|
Display help for flowcore.
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,117 +1,120 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
2
|
+
"author": "Flowcore",
|
|
3
|
+
"bin": {
|
|
4
|
+
"flowcore": "./bin/run.js"
|
|
5
|
+
},
|
|
6
|
+
"dependencies": {
|
|
7
|
+
"@datastructures-js/queue": "^4.2.3",
|
|
8
|
+
"@flowcore/cli-plugin-auth-management": "^1.0.1",
|
|
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.0.1",
|
|
14
|
+
"@flowcore/cli-plugin-tenant-management": "^1.0.0",
|
|
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",
|
|
22
|
+
"axios": "^1.6.2",
|
|
23
|
+
"cassandra-uuid": "^0.1.0",
|
|
24
|
+
"cross-fetch": "^4.0.0",
|
|
25
|
+
"dayjs": "^1.11.10",
|
|
26
|
+
"enquirer": "^2.4.1",
|
|
27
|
+
"graphql": "^16.8.1",
|
|
28
|
+
"graphql-request": "^6.1.0",
|
|
29
|
+
"jwt-decode": "^4.0.0",
|
|
30
|
+
"lodash": "^4.17.21",
|
|
31
|
+
"merge": "^2.1.1",
|
|
32
|
+
"oclif-plugin-update-notifier": "^1.5.84",
|
|
33
|
+
"rxjs": "^7.8.1",
|
|
34
|
+
"session": "^0.1.0"
|
|
35
|
+
},
|
|
36
|
+
"description": "Flowcore CLI for interacting with the Flowcore platform",
|
|
37
|
+
"devDependencies": {
|
|
38
|
+
"@oclif/prettier-config": "^0.2.1",
|
|
39
|
+
"@oclif/test": "^3",
|
|
40
|
+
"@types/chai": "^4",
|
|
41
|
+
"@types/express": "^4.17.21",
|
|
42
|
+
"@types/lodash": "^4.14.202",
|
|
43
|
+
"@types/mocha": "^10",
|
|
44
|
+
"@types/node": "^18",
|
|
45
|
+
"chai": "^4",
|
|
46
|
+
"eslint": "^8",
|
|
47
|
+
"eslint-config-oclif": "^5",
|
|
48
|
+
"eslint-config-oclif-typescript": "^3",
|
|
49
|
+
"eslint-config-prettier": "^9.0.0",
|
|
50
|
+
"mocha": "^10",
|
|
51
|
+
"oclif": "^4.0.4",
|
|
52
|
+
"shx": "^0.3.4",
|
|
53
|
+
"ts-node": "^10.9.1",
|
|
54
|
+
"typescript": "^5"
|
|
55
|
+
},
|
|
56
|
+
"engines": {
|
|
57
|
+
"node": ">=18.0.0"
|
|
58
|
+
},
|
|
59
|
+
"files": [
|
|
60
|
+
"/bin",
|
|
61
|
+
"/dist",
|
|
62
|
+
"/oclif.manifest.json"
|
|
63
|
+
],
|
|
64
|
+
"homepage": "https://github.com/flowcore-io/flowcore-cli",
|
|
65
|
+
"license": "MIT",
|
|
66
|
+
"main": "",
|
|
67
|
+
"name": "@flowcore/cli",
|
|
68
|
+
"oclif": {
|
|
69
|
+
"bin": "flowcore",
|
|
70
|
+
"dirname": "flowcore",
|
|
71
|
+
"commands": "./dist/commands",
|
|
72
|
+
"plugins": [
|
|
73
|
+
"@oclif/plugin-help",
|
|
74
|
+
"@oclif/plugin-warn-if-update-available",
|
|
75
|
+
"@oclif/plugin-version",
|
|
76
|
+
"@oclif/plugin-plugins",
|
|
77
|
+
"@oclif/plugin-autocomplete",
|
|
78
|
+
"@oclif/plugin-not-found",
|
|
79
|
+
"oclif-plugin-update-notifier",
|
|
80
|
+
"@flowcore/cli-plugin-config",
|
|
81
|
+
"@flowcore/cli-plugin-data-core",
|
|
82
|
+
"@flowcore/cli-plugin-scenario",
|
|
83
|
+
"@flowcore/cli-plugin-core",
|
|
84
|
+
"@flowcore/cli-plugin-generator",
|
|
85
|
+
"@flowcore/cli-plugin-auth-management",
|
|
86
|
+
"@flowcore/cli-plugin-tenant-management"
|
|
87
|
+
],
|
|
88
|
+
"warnIfUpdateAvailable": {
|
|
89
|
+
"timeoutInDays": 2
|
|
90
|
+
},
|
|
91
|
+
"topicSeparator": " "
|
|
92
|
+
},
|
|
93
|
+
"repository": "flowcore-io/flowcore-cli",
|
|
94
|
+
"scripts": {
|
|
95
|
+
"build": "shx rm -rf dist && tsc -b",
|
|
96
|
+
"lint": "eslint . --ext .ts",
|
|
97
|
+
"postpack": "shx rm -f oclif.manifest.json",
|
|
98
|
+
"posttest": "npm run lint",
|
|
99
|
+
"prepack": "npm run build && oclif manifest && oclif readme",
|
|
100
|
+
"prepare": "npm run build",
|
|
101
|
+
"test": "mocha --forbid-only \"test/**/*.test.ts\"",
|
|
102
|
+
"version": "oclif readme && git add README.md",
|
|
103
|
+
"start": "./bin/run.js",
|
|
104
|
+
"prestart": "npm run build",
|
|
105
|
+
"update-schema": "rover graph introspect https://graph.api.staging.flowcore.io/graphql -o schema.gql"
|
|
106
|
+
},
|
|
107
|
+
"version": "3.2.0",
|
|
108
|
+
"bugs": "https://github.com/flowcore-io/flowcore-cli/issues",
|
|
109
|
+
"keywords": [
|
|
110
|
+
"flowcore",
|
|
111
|
+
"cli",
|
|
112
|
+
"flowcore-cli",
|
|
113
|
+
"streaming",
|
|
114
|
+
"events",
|
|
115
|
+
"data"
|
|
116
|
+
],
|
|
117
|
+
"types": "dist/index.d.ts",
|
|
118
|
+
"exports": "./lib/index.js",
|
|
119
|
+
"type": "module"
|
|
117
120
|
}
|