@contextual-io/cli 0.1.7 → 0.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/README.md CHANGED
@@ -5,8 +5,8 @@ Contextual CLI
5
5
 
6
6
 
7
7
  [![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)
8
- [![Version](https://img.shields.io/npm/v/contextual-cli.svg)](https://npmjs.org/package/contextual-cli)
9
- [![Downloads/week](https://img.shields.io/npm/dw/contextual-cli.svg)](https://npmjs.org/package/contextual-cli)
8
+ [![Version](https://img.shields.io/npm/v/@contextual-io/cli.svg)](https://npmjs.org/package/@contextual-io/cli)
9
+ [![Downloads/week](https://img.shields.io/npm/dw/@contextual-io/cli.svg)](https://npmjs.org/package/@contextual-io/cli)
10
10
 
11
11
 
12
12
  <!-- toc -->
@@ -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.1.7 linux-x64 node-v25.2.1
23
+ @contextual-io/cli/0.2.0 linux-x64 node-v25.2.1
24
24
  $ ctxl --help [COMMAND]
25
25
  USAGE
26
26
  $ ctxl COMMAND
@@ -38,16 +38,6 @@ USAGE
38
38
  * [`ctxl config login`](#ctxl-config-login)
39
39
  * [`ctxl config use CONFIG-ID`](#ctxl-config-use-config-id)
40
40
  * [`ctxl help [COMMAND]`](#ctxl-help-command)
41
- * [`ctxl plugins`](#ctxl-plugins)
42
- * [`ctxl plugins add PLUGIN`](#ctxl-plugins-add-plugin)
43
- * [`ctxl plugins:inspect PLUGIN...`](#ctxl-pluginsinspect-plugin)
44
- * [`ctxl plugins install PLUGIN`](#ctxl-plugins-install-plugin)
45
- * [`ctxl plugins link PATH`](#ctxl-plugins-link-path)
46
- * [`ctxl plugins remove [PLUGIN]`](#ctxl-plugins-remove-plugin)
47
- * [`ctxl plugins reset`](#ctxl-plugins-reset)
48
- * [`ctxl plugins uninstall [PLUGIN]`](#ctxl-plugins-uninstall-plugin)
49
- * [`ctxl plugins unlink [PLUGIN]`](#ctxl-plugins-unlink-plugin)
50
- * [`ctxl plugins update`](#ctxl-plugins-update)
51
41
  * [`ctxl records`](#ctxl-records)
52
42
  * [`ctxl records add [URI]`](#ctxl-records-add-uri)
53
43
  * [`ctxl records create [URI]`](#ctxl-records-create-uri)
@@ -70,7 +60,7 @@ DESCRIPTION
70
60
  manage configs
71
61
  ```
72
62
 
73
- _See code: [src/commands/config/index.ts](https://github.com/ContextualIO/contextual-cli/blob/v0.1.7/src/commands/config/index.ts)_
63
+ _See code: [src/commands/config/index.ts](https://github.com/ContextualIO/contextual-cli/blob/v0.2.0/src/commands/config/index.ts)_
74
64
 
75
65
  ## `ctxl config add CONFIG-ID`
76
66
 
@@ -95,7 +85,7 @@ EXAMPLES
95
85
  $ ctxl config add some-config-id --tenant-id my-tenant
96
86
  ```
97
87
 
98
- _See code: [src/commands/config/add.ts](https://github.com/ContextualIO/contextual-cli/blob/v0.1.7/src/commands/config/add.ts)_
88
+ _See code: [src/commands/config/add.ts](https://github.com/ContextualIO/contextual-cli/blob/v0.2.0/src/commands/config/add.ts)_
99
89
 
100
90
  ## `ctxl config current`
101
91
 
@@ -115,7 +105,7 @@ EXAMPLES
115
105
  $ ctxl config current
116
106
  ```
117
107
 
118
- _See code: [src/commands/config/current.ts](https://github.com/ContextualIO/contextual-cli/blob/v0.1.7/src/commands/config/current.ts)_
108
+ _See code: [src/commands/config/current.ts](https://github.com/ContextualIO/contextual-cli/blob/v0.2.0/src/commands/config/current.ts)_
119
109
 
120
110
  ## `ctxl config delete CONFIG-ID`
121
111
 
@@ -135,7 +125,7 @@ EXAMPLES
135
125
  $ ctxl config delete some-config-id
136
126
  ```
137
127
 
138
- _See code: [src/commands/config/delete.ts](https://github.com/ContextualIO/contextual-cli/blob/v0.1.7/src/commands/config/delete.ts)_
128
+ _See code: [src/commands/config/delete.ts](https://github.com/ContextualIO/contextual-cli/blob/v0.2.0/src/commands/config/delete.ts)_
139
129
 
140
130
  ## `ctxl config get [CONFIG-ID]`
141
131
 
@@ -160,7 +150,7 @@ EXAMPLES
160
150
  $ ctxl config get some-config-id
161
151
  ```
162
152
 
163
- _See code: [src/commands/config/get.ts](https://github.com/ContextualIO/contextual-cli/blob/v0.1.7/src/commands/config/get.ts)_
153
+ _See code: [src/commands/config/get.ts](https://github.com/ContextualIO/contextual-cli/blob/v0.2.0/src/commands/config/get.ts)_
164
154
 
165
155
  ## `ctxl config list`
166
156
 
@@ -180,7 +170,7 @@ EXAMPLES
180
170
  $ ctxl config list
181
171
  ```
182
172
 
183
- _See code: [src/commands/config/list.ts](https://github.com/ContextualIO/contextual-cli/blob/v0.1.7/src/commands/config/list.ts)_
173
+ _See code: [src/commands/config/list.ts](https://github.com/ContextualIO/contextual-cli/blob/v0.2.0/src/commands/config/list.ts)_
184
174
 
185
175
  ## `ctxl config login`
186
176
 
@@ -197,7 +187,7 @@ EXAMPLES
197
187
  $ ctxl config login
198
188
  ```
199
189
 
200
- _See code: [src/commands/config/login.ts](https://github.com/ContextualIO/contextual-cli/blob/v0.1.7/src/commands/config/login.ts)_
190
+ _See code: [src/commands/config/login.ts](https://github.com/ContextualIO/contextual-cli/blob/v0.2.0/src/commands/config/login.ts)_
201
191
 
202
192
  ## `ctxl config use CONFIG-ID`
203
193
 
@@ -217,7 +207,7 @@ EXAMPLES
217
207
  $ ctxl config use some-config-id
218
208
  ```
219
209
 
220
- _See code: [src/commands/config/use.ts](https://github.com/ContextualIO/contextual-cli/blob/v0.1.7/src/commands/config/use.ts)_
210
+ _See code: [src/commands/config/use.ts](https://github.com/ContextualIO/contextual-cli/blob/v0.2.0/src/commands/config/use.ts)_
221
211
 
222
212
  ## `ctxl help [COMMAND]`
223
213
 
@@ -239,296 +229,6 @@ DESCRIPTION
239
229
 
240
230
  _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.2.36/src/commands/help.ts)_
241
231
 
242
- ## `ctxl plugins`
243
-
244
- List installed plugins.
245
-
246
- ```
247
- USAGE
248
- $ ctxl plugins [--json] [--core]
249
-
250
- FLAGS
251
- --core Show core plugins.
252
-
253
- GLOBAL FLAGS
254
- --json Format output as json.
255
-
256
- DESCRIPTION
257
- List installed plugins.
258
-
259
- EXAMPLES
260
- $ ctxl plugins
261
- ```
262
-
263
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.54/src/commands/plugins/index.ts)_
264
-
265
- ## `ctxl plugins add PLUGIN`
266
-
267
- Installs a plugin into ctxl.
268
-
269
- ```
270
- USAGE
271
- $ ctxl plugins add PLUGIN... [--json] [-f] [-h] [-s | -v]
272
-
273
- ARGUMENTS
274
- PLUGIN... Plugin to install.
275
-
276
- FLAGS
277
- -f, --force Force npm to fetch remote resources even if a local copy exists on disk.
278
- -h, --help Show CLI help.
279
- -s, --silent Silences npm output.
280
- -v, --verbose Show verbose npm output.
281
-
282
- GLOBAL FLAGS
283
- --json Format output as json.
284
-
285
- DESCRIPTION
286
- Installs a plugin into ctxl.
287
-
288
- Uses npm to install plugins.
289
-
290
- Installation of a user-installed plugin will override a core plugin.
291
-
292
- Use the CTXL_NPM_LOG_LEVEL environment variable to set the npm loglevel.
293
- Use the CTXL_NPM_REGISTRY environment variable to set the npm registry.
294
-
295
- ALIASES
296
- $ ctxl plugins add
297
-
298
- EXAMPLES
299
- Install a plugin from npm registry.
300
-
301
- $ ctxl plugins add myplugin
302
-
303
- Install a plugin from a github url.
304
-
305
- $ ctxl plugins add https://github.com/someuser/someplugin
306
-
307
- Install a plugin from a github slug.
308
-
309
- $ ctxl plugins add someuser/someplugin
310
- ```
311
-
312
- ## `ctxl plugins:inspect PLUGIN...`
313
-
314
- Displays installation properties of a plugin.
315
-
316
- ```
317
- USAGE
318
- $ ctxl plugins inspect PLUGIN...
319
-
320
- ARGUMENTS
321
- PLUGIN... [default: .] Plugin to inspect.
322
-
323
- FLAGS
324
- -h, --help Show CLI help.
325
- -v, --verbose
326
-
327
- GLOBAL FLAGS
328
- --json Format output as json.
329
-
330
- DESCRIPTION
331
- Displays installation properties of a plugin.
332
-
333
- EXAMPLES
334
- $ ctxl plugins inspect myplugin
335
- ```
336
-
337
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.54/src/commands/plugins/inspect.ts)_
338
-
339
- ## `ctxl plugins install PLUGIN`
340
-
341
- Installs a plugin into ctxl.
342
-
343
- ```
344
- USAGE
345
- $ ctxl plugins install PLUGIN... [--json] [-f] [-h] [-s | -v]
346
-
347
- ARGUMENTS
348
- PLUGIN... Plugin to install.
349
-
350
- FLAGS
351
- -f, --force Force npm to fetch remote resources even if a local copy exists on disk.
352
- -h, --help Show CLI help.
353
- -s, --silent Silences npm output.
354
- -v, --verbose Show verbose npm output.
355
-
356
- GLOBAL FLAGS
357
- --json Format output as json.
358
-
359
- DESCRIPTION
360
- Installs a plugin into ctxl.
361
-
362
- Uses npm to install plugins.
363
-
364
- Installation of a user-installed plugin will override a core plugin.
365
-
366
- Use the CTXL_NPM_LOG_LEVEL environment variable to set the npm loglevel.
367
- Use the CTXL_NPM_REGISTRY environment variable to set the npm registry.
368
-
369
- ALIASES
370
- $ ctxl plugins add
371
-
372
- EXAMPLES
373
- Install a plugin from npm registry.
374
-
375
- $ ctxl plugins install myplugin
376
-
377
- Install a plugin from a github url.
378
-
379
- $ ctxl plugins install https://github.com/someuser/someplugin
380
-
381
- Install a plugin from a github slug.
382
-
383
- $ ctxl plugins install someuser/someplugin
384
- ```
385
-
386
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.54/src/commands/plugins/install.ts)_
387
-
388
- ## `ctxl plugins link PATH`
389
-
390
- Links a plugin into the CLI for development.
391
-
392
- ```
393
- USAGE
394
- $ ctxl plugins link PATH [-h] [--install] [-v]
395
-
396
- ARGUMENTS
397
- PATH [default: .] path to plugin
398
-
399
- FLAGS
400
- -h, --help Show CLI help.
401
- -v, --verbose
402
- --[no-]install Install dependencies after linking the plugin.
403
-
404
- DESCRIPTION
405
- Links a plugin into the CLI for development.
406
-
407
- Installation of a linked plugin will override a user-installed or core plugin.
408
-
409
- e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello'
410
- command will override the user-installed or core plugin implementation. This is useful for development work.
411
-
412
-
413
- EXAMPLES
414
- $ ctxl plugins link myplugin
415
- ```
416
-
417
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.54/src/commands/plugins/link.ts)_
418
-
419
- ## `ctxl plugins remove [PLUGIN]`
420
-
421
- Removes a plugin from the CLI.
422
-
423
- ```
424
- USAGE
425
- $ ctxl plugins remove [PLUGIN...] [-h] [-v]
426
-
427
- ARGUMENTS
428
- [PLUGIN...] plugin to uninstall
429
-
430
- FLAGS
431
- -h, --help Show CLI help.
432
- -v, --verbose
433
-
434
- DESCRIPTION
435
- Removes a plugin from the CLI.
436
-
437
- ALIASES
438
- $ ctxl plugins unlink
439
- $ ctxl plugins remove
440
-
441
- EXAMPLES
442
- $ ctxl plugins remove myplugin
443
- ```
444
-
445
- ## `ctxl plugins reset`
446
-
447
- Remove all user-installed and linked plugins.
448
-
449
- ```
450
- USAGE
451
- $ ctxl plugins reset [--hard] [--reinstall]
452
-
453
- FLAGS
454
- --hard Delete node_modules and package manager related files in addition to uninstalling plugins.
455
- --reinstall Reinstall all plugins after uninstalling.
456
- ```
457
-
458
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.54/src/commands/plugins/reset.ts)_
459
-
460
- ## `ctxl plugins uninstall [PLUGIN]`
461
-
462
- Removes a plugin from the CLI.
463
-
464
- ```
465
- USAGE
466
- $ ctxl plugins uninstall [PLUGIN...] [-h] [-v]
467
-
468
- ARGUMENTS
469
- [PLUGIN...] plugin to uninstall
470
-
471
- FLAGS
472
- -h, --help Show CLI help.
473
- -v, --verbose
474
-
475
- DESCRIPTION
476
- Removes a plugin from the CLI.
477
-
478
- ALIASES
479
- $ ctxl plugins unlink
480
- $ ctxl plugins remove
481
-
482
- EXAMPLES
483
- $ ctxl plugins uninstall myplugin
484
- ```
485
-
486
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.54/src/commands/plugins/uninstall.ts)_
487
-
488
- ## `ctxl plugins unlink [PLUGIN]`
489
-
490
- Removes a plugin from the CLI.
491
-
492
- ```
493
- USAGE
494
- $ ctxl plugins unlink [PLUGIN...] [-h] [-v]
495
-
496
- ARGUMENTS
497
- [PLUGIN...] plugin to uninstall
498
-
499
- FLAGS
500
- -h, --help Show CLI help.
501
- -v, --verbose
502
-
503
- DESCRIPTION
504
- Removes a plugin from the CLI.
505
-
506
- ALIASES
507
- $ ctxl plugins unlink
508
- $ ctxl plugins remove
509
-
510
- EXAMPLES
511
- $ ctxl plugins unlink myplugin
512
- ```
513
-
514
- ## `ctxl plugins update`
515
-
516
- Update installed plugins.
517
-
518
- ```
519
- USAGE
520
- $ ctxl plugins update [-h] [-v]
521
-
522
- FLAGS
523
- -h, --help Show CLI help.
524
- -v, --verbose
525
-
526
- DESCRIPTION
527
- Update installed plugins.
528
- ```
529
-
530
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.54/src/commands/plugins/update.ts)_
531
-
532
232
  ## `ctxl records`
533
233
 
534
234
  manage records
@@ -541,7 +241,7 @@ DESCRIPTION
541
241
  manage records
542
242
  ```
543
243
 
544
- _See code: [src/commands/records/index.ts](https://github.com/ContextualIO/contextual-cli/blob/v0.1.7/src/commands/records/index.ts)_
244
+ _See code: [src/commands/records/index.ts](https://github.com/ContextualIO/contextual-cli/blob/v0.2.0/src/commands/records/index.ts)_
545
245
 
546
246
  ## `ctxl records add [URI]`
547
247
 
@@ -574,7 +274,7 @@ EXAMPLES
574
274
  $ ctxl records add --type my-type --input-file records.json
575
275
  ```
576
276
 
577
- _See code: [src/commands/records/add.ts](https://github.com/ContextualIO/contextual-cli/blob/v0.1.7/src/commands/records/add.ts)_
277
+ _See code: [src/commands/records/add.ts](https://github.com/ContextualIO/contextual-cli/blob/v0.2.0/src/commands/records/add.ts)_
578
278
 
579
279
  ## `ctxl records create [URI]`
580
280
 
@@ -640,7 +340,7 @@ EXAMPLES
640
340
  $ ctxl records delete --type my-type --id instance-1 --id instance-2
641
341
  ```
642
342
 
643
- _See code: [src/commands/records/delete.ts](https://github.com/ContextualIO/contextual-cli/blob/v0.1.7/src/commands/records/delete.ts)_
343
+ _See code: [src/commands/records/delete.ts](https://github.com/ContextualIO/contextual-cli/blob/v0.2.0/src/commands/records/delete.ts)_
644
344
 
645
345
  ## `ctxl records get [URI]`
646
346
 
@@ -675,7 +375,7 @@ EXAMPLES
675
375
  $ ctxl records get --type my-type --id instance-1 --id instance-2
676
376
  ```
677
377
 
678
- _See code: [src/commands/records/get.ts](https://github.com/ContextualIO/contextual-cli/blob/v0.1.7/src/commands/records/get.ts)_
378
+ _See code: [src/commands/records/get.ts](https://github.com/ContextualIO/contextual-cli/blob/v0.2.0/src/commands/records/get.ts)_
679
379
 
680
380
  ## `ctxl records import [URI]`
681
381
 
@@ -749,7 +449,7 @@ EXAMPLES
749
449
  $ ctxl records list --type my-type -s field1=value1 -s field2=value2 --include-total
750
450
  ```
751
451
 
752
- _See code: [src/commands/records/list.ts](https://github.com/ContextualIO/contextual-cli/blob/v0.1.7/src/commands/records/list.ts)_
452
+ _See code: [src/commands/records/list.ts](https://github.com/ContextualIO/contextual-cli/blob/v0.2.0/src/commands/records/list.ts)_
753
453
 
754
454
  ## `ctxl records query [URI]`
755
455
 
@@ -789,7 +489,7 @@ EXAMPLES
789
489
  $ ctxl records query --type my-type --include-total --query-file query.json
790
490
  ```
791
491
 
792
- _See code: [src/commands/records/query.ts](https://github.com/ContextualIO/contextual-cli/blob/v0.1.7/src/commands/records/query.ts)_
492
+ _See code: [src/commands/records/query.ts](https://github.com/ContextualIO/contextual-cli/blob/v0.2.0/src/commands/records/query.ts)_
793
493
 
794
494
  ## `ctxl records replace [URI]`
795
495
 
@@ -821,5 +521,5 @@ EXAMPLES
821
521
  $ ctxl records replace --type my-type --id instance-1 --input-file record.json
822
522
  ```
823
523
 
824
- _See code: [src/commands/records/replace.ts](https://github.com/ContextualIO/contextual-cli/blob/v0.1.7/src/commands/records/replace.ts)_
524
+ _See code: [src/commands/records/replace.ts](https://github.com/ContextualIO/contextual-cli/blob/v0.2.0/src/commands/records/replace.ts)_
825
525
  <!-- commandsstop -->
@@ -753,5 +753,5 @@
753
753
  ]
754
754
  }
755
755
  },
756
- "version": "0.1.7"
756
+ "version": "0.2.0"
757
757
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@contextual-io/cli",
3
3
  "description": "Contextual CLI",
4
- "version": "0.1.7",
4
+ "version": "0.2.0",
5
5
  "author": "Nasser Oloumi",
6
6
  "bin": {
7
7
  "ctxl": "./bin/run.js"
@@ -10,7 +10,6 @@
10
10
  "dependencies": {
11
11
  "@oclif/core": "^4",
12
12
  "@oclif/plugin-help": "^6",
13
- "@oclif/plugin-plugins": "^5",
14
13
  "@oclif/table": "^0.5.1",
15
14
  "chalk": "^5.6.2",
16
15
  "cross-fetch": "^4.1.0",
@@ -58,8 +57,7 @@
58
57
  "dirname": "ctxl",
59
58
  "commands": "./dist/commands",
60
59
  "plugins": [
61
- "@oclif/plugin-help",
62
- "@oclif/plugin-plugins"
60
+ "@oclif/plugin-help"
63
61
  ],
64
62
  "topicSeparator": " ",
65
63
  "topics": {