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