@contextual-io/cli 0.2.0 → 0.2.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/README.md +2 -32
- package/oclif.manifest.json +1 -1
- package/package.json +2 -4
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
contextual-cli
|
|
1
|
+
@contextual-io/cli
|
|
2
2
|
=================
|
|
3
3
|
|
|
4
4
|
Contextual CLI
|
|
@@ -20,7 +20,7 @@ $ npm install -g @contextual-io/cli
|
|
|
20
20
|
$ ctxl COMMAND
|
|
21
21
|
running command...
|
|
22
22
|
$ ctxl (--version)
|
|
23
|
-
@contextual-io/cli/0.2.
|
|
23
|
+
@contextual-io/cli/0.2.1 linux-x64 node-v25.2.1
|
|
24
24
|
$ ctxl --help [COMMAND]
|
|
25
25
|
USAGE
|
|
26
26
|
$ ctxl COMMAND
|
|
@@ -60,8 +60,6 @@ DESCRIPTION
|
|
|
60
60
|
manage configs
|
|
61
61
|
```
|
|
62
62
|
|
|
63
|
-
_See code: [src/commands/config/index.ts](https://github.com/ContextualIO/contextual-cli/blob/v0.2.0/src/commands/config/index.ts)_
|
|
64
|
-
|
|
65
63
|
## `ctxl config add CONFIG-ID`
|
|
66
64
|
|
|
67
65
|
add a new config
|
|
@@ -85,8 +83,6 @@ EXAMPLES
|
|
|
85
83
|
$ ctxl config add some-config-id --tenant-id my-tenant
|
|
86
84
|
```
|
|
87
85
|
|
|
88
|
-
_See code: [src/commands/config/add.ts](https://github.com/ContextualIO/contextual-cli/blob/v0.2.0/src/commands/config/add.ts)_
|
|
89
|
-
|
|
90
86
|
## `ctxl config current`
|
|
91
87
|
|
|
92
88
|
get the current config
|
|
@@ -105,8 +101,6 @@ EXAMPLES
|
|
|
105
101
|
$ ctxl config current
|
|
106
102
|
```
|
|
107
103
|
|
|
108
|
-
_See code: [src/commands/config/current.ts](https://github.com/ContextualIO/contextual-cli/blob/v0.2.0/src/commands/config/current.ts)_
|
|
109
|
-
|
|
110
104
|
## `ctxl config delete CONFIG-ID`
|
|
111
105
|
|
|
112
106
|
delete a config
|
|
@@ -125,8 +119,6 @@ EXAMPLES
|
|
|
125
119
|
$ ctxl config delete some-config-id
|
|
126
120
|
```
|
|
127
121
|
|
|
128
|
-
_See code: [src/commands/config/delete.ts](https://github.com/ContextualIO/contextual-cli/blob/v0.2.0/src/commands/config/delete.ts)_
|
|
129
|
-
|
|
130
122
|
## `ctxl config get [CONFIG-ID]`
|
|
131
123
|
|
|
132
124
|
get a specific config
|
|
@@ -150,8 +142,6 @@ EXAMPLES
|
|
|
150
142
|
$ ctxl config get some-config-id
|
|
151
143
|
```
|
|
152
144
|
|
|
153
|
-
_See code: [src/commands/config/get.ts](https://github.com/ContextualIO/contextual-cli/blob/v0.2.0/src/commands/config/get.ts)_
|
|
154
|
-
|
|
155
145
|
## `ctxl config list`
|
|
156
146
|
|
|
157
147
|
list all available configs
|
|
@@ -170,8 +160,6 @@ EXAMPLES
|
|
|
170
160
|
$ ctxl config list
|
|
171
161
|
```
|
|
172
162
|
|
|
173
|
-
_See code: [src/commands/config/list.ts](https://github.com/ContextualIO/contextual-cli/blob/v0.2.0/src/commands/config/list.ts)_
|
|
174
|
-
|
|
175
163
|
## `ctxl config login`
|
|
176
164
|
|
|
177
165
|
login using the current config
|
|
@@ -187,8 +175,6 @@ EXAMPLES
|
|
|
187
175
|
$ ctxl config login
|
|
188
176
|
```
|
|
189
177
|
|
|
190
|
-
_See code: [src/commands/config/login.ts](https://github.com/ContextualIO/contextual-cli/blob/v0.2.0/src/commands/config/login.ts)_
|
|
191
|
-
|
|
192
178
|
## `ctxl config use CONFIG-ID`
|
|
193
179
|
|
|
194
180
|
use a config
|
|
@@ -207,8 +193,6 @@ EXAMPLES
|
|
|
207
193
|
$ ctxl config use some-config-id
|
|
208
194
|
```
|
|
209
195
|
|
|
210
|
-
_See code: [src/commands/config/use.ts](https://github.com/ContextualIO/contextual-cli/blob/v0.2.0/src/commands/config/use.ts)_
|
|
211
|
-
|
|
212
196
|
## `ctxl help [COMMAND]`
|
|
213
197
|
|
|
214
198
|
Display help for ctxl.
|
|
@@ -241,8 +225,6 @@ DESCRIPTION
|
|
|
241
225
|
manage records
|
|
242
226
|
```
|
|
243
227
|
|
|
244
|
-
_See code: [src/commands/records/index.ts](https://github.com/ContextualIO/contextual-cli/blob/v0.2.0/src/commands/records/index.ts)_
|
|
245
|
-
|
|
246
228
|
## `ctxl records add [URI]`
|
|
247
229
|
|
|
248
230
|
create record(s)
|
|
@@ -274,8 +256,6 @@ EXAMPLES
|
|
|
274
256
|
$ ctxl records add --type my-type --input-file records.json
|
|
275
257
|
```
|
|
276
258
|
|
|
277
|
-
_See code: [src/commands/records/add.ts](https://github.com/ContextualIO/contextual-cli/blob/v0.2.0/src/commands/records/add.ts)_
|
|
278
|
-
|
|
279
259
|
## `ctxl records create [URI]`
|
|
280
260
|
|
|
281
261
|
create record(s)
|
|
@@ -340,8 +320,6 @@ EXAMPLES
|
|
|
340
320
|
$ ctxl records delete --type my-type --id instance-1 --id instance-2
|
|
341
321
|
```
|
|
342
322
|
|
|
343
|
-
_See code: [src/commands/records/delete.ts](https://github.com/ContextualIO/contextual-cli/blob/v0.2.0/src/commands/records/delete.ts)_
|
|
344
|
-
|
|
345
323
|
## `ctxl records get [URI]`
|
|
346
324
|
|
|
347
325
|
get a record
|
|
@@ -375,8 +353,6 @@ EXAMPLES
|
|
|
375
353
|
$ ctxl records get --type my-type --id instance-1 --id instance-2
|
|
376
354
|
```
|
|
377
355
|
|
|
378
|
-
_See code: [src/commands/records/get.ts](https://github.com/ContextualIO/contextual-cli/blob/v0.2.0/src/commands/records/get.ts)_
|
|
379
|
-
|
|
380
356
|
## `ctxl records import [URI]`
|
|
381
357
|
|
|
382
358
|
create record(s)
|
|
@@ -449,8 +425,6 @@ EXAMPLES
|
|
|
449
425
|
$ ctxl records list --type my-type -s field1=value1 -s field2=value2 --include-total
|
|
450
426
|
```
|
|
451
427
|
|
|
452
|
-
_See code: [src/commands/records/list.ts](https://github.com/ContextualIO/contextual-cli/blob/v0.2.0/src/commands/records/list.ts)_
|
|
453
|
-
|
|
454
428
|
## `ctxl records query [URI]`
|
|
455
429
|
|
|
456
430
|
query records
|
|
@@ -489,8 +463,6 @@ EXAMPLES
|
|
|
489
463
|
$ ctxl records query --type my-type --include-total --query-file query.json
|
|
490
464
|
```
|
|
491
465
|
|
|
492
|
-
_See code: [src/commands/records/query.ts](https://github.com/ContextualIO/contextual-cli/blob/v0.2.0/src/commands/records/query.ts)_
|
|
493
|
-
|
|
494
466
|
## `ctxl records replace [URI]`
|
|
495
467
|
|
|
496
468
|
replace a record
|
|
@@ -520,6 +492,4 @@ EXAMPLES
|
|
|
520
492
|
|
|
521
493
|
$ ctxl records replace --type my-type --id instance-1 --input-file record.json
|
|
522
494
|
```
|
|
523
|
-
|
|
524
|
-
_See code: [src/commands/records/replace.ts](https://github.com/ContextualIO/contextual-cli/blob/v0.2.0/src/commands/records/replace.ts)_
|
|
525
495
|
<!-- commandsstop -->
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contextual-io/cli",
|
|
3
3
|
"description": "Contextual CLI",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.1",
|
|
5
5
|
"author": "Nasser Oloumi",
|
|
6
6
|
"bin": {
|
|
7
7
|
"ctxl": "./bin/run.js"
|
|
8
8
|
},
|
|
9
|
-
"bugs": "https://github.com/ContextualIO/contextual-cli/issues",
|
|
10
9
|
"dependencies": {
|
|
11
10
|
"@oclif/core": "^4",
|
|
12
11
|
"@oclif/plugin-help": "^6",
|
|
@@ -45,7 +44,7 @@
|
|
|
45
44
|
"./dist",
|
|
46
45
|
"./oclif.manifest.json"
|
|
47
46
|
],
|
|
48
|
-
"homepage": "https://
|
|
47
|
+
"homepage": "https://www.contextual.io/",
|
|
49
48
|
"keywords": [
|
|
50
49
|
"oclif"
|
|
51
50
|
],
|
|
@@ -66,7 +65,6 @@
|
|
|
66
65
|
}
|
|
67
66
|
}
|
|
68
67
|
},
|
|
69
|
-
"repository": "ContextualIO/contextual-cli",
|
|
70
68
|
"scripts": {
|
|
71
69
|
"build": "shx rm -rf dist && tsc -b",
|
|
72
70
|
"lint": "eslint",
|