@contextual-io/cli 0.1.8 → 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 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.1.8 linux-x64 node-v25.2.1
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
@@ -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,8 +60,6 @@ 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.8/src/commands/config/index.ts)_
74
-
75
63
  ## `ctxl config add CONFIG-ID`
76
64
 
77
65
  add a new config
@@ -95,8 +83,6 @@ EXAMPLES
95
83
  $ ctxl config add some-config-id --tenant-id my-tenant
96
84
  ```
97
85
 
98
- _See code: [src/commands/config/add.ts](https://github.com/ContextualIO/contextual-cli/blob/v0.1.8/src/commands/config/add.ts)_
99
-
100
86
  ## `ctxl config current`
101
87
 
102
88
  get the current config
@@ -115,8 +101,6 @@ EXAMPLES
115
101
  $ ctxl config current
116
102
  ```
117
103
 
118
- _See code: [src/commands/config/current.ts](https://github.com/ContextualIO/contextual-cli/blob/v0.1.8/src/commands/config/current.ts)_
119
-
120
104
  ## `ctxl config delete CONFIG-ID`
121
105
 
122
106
  delete a config
@@ -135,8 +119,6 @@ EXAMPLES
135
119
  $ ctxl config delete some-config-id
136
120
  ```
137
121
 
138
- _See code: [src/commands/config/delete.ts](https://github.com/ContextualIO/contextual-cli/blob/v0.1.8/src/commands/config/delete.ts)_
139
-
140
122
  ## `ctxl config get [CONFIG-ID]`
141
123
 
142
124
  get a specific config
@@ -160,8 +142,6 @@ EXAMPLES
160
142
  $ ctxl config get some-config-id
161
143
  ```
162
144
 
163
- _See code: [src/commands/config/get.ts](https://github.com/ContextualIO/contextual-cli/blob/v0.1.8/src/commands/config/get.ts)_
164
-
165
145
  ## `ctxl config list`
166
146
 
167
147
  list all available configs
@@ -180,8 +160,6 @@ EXAMPLES
180
160
  $ ctxl config list
181
161
  ```
182
162
 
183
- _See code: [src/commands/config/list.ts](https://github.com/ContextualIO/contextual-cli/blob/v0.1.8/src/commands/config/list.ts)_
184
-
185
163
  ## `ctxl config login`
186
164
 
187
165
  login using the current config
@@ -197,8 +175,6 @@ EXAMPLES
197
175
  $ ctxl config login
198
176
  ```
199
177
 
200
- _See code: [src/commands/config/login.ts](https://github.com/ContextualIO/contextual-cli/blob/v0.1.8/src/commands/config/login.ts)_
201
-
202
178
  ## `ctxl config use CONFIG-ID`
203
179
 
204
180
  use a config
@@ -217,8 +193,6 @@ EXAMPLES
217
193
  $ ctxl config use some-config-id
218
194
  ```
219
195
 
220
- _See code: [src/commands/config/use.ts](https://github.com/ContextualIO/contextual-cli/blob/v0.1.8/src/commands/config/use.ts)_
221
-
222
196
  ## `ctxl help [COMMAND]`
223
197
 
224
198
  Display help for ctxl.
@@ -239,296 +213,6 @@ DESCRIPTION
239
213
 
240
214
  _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.2.36/src/commands/help.ts)_
241
215
 
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
216
  ## `ctxl records`
533
217
 
534
218
  manage records
@@ -541,8 +225,6 @@ DESCRIPTION
541
225
  manage records
542
226
  ```
543
227
 
544
- _See code: [src/commands/records/index.ts](https://github.com/ContextualIO/contextual-cli/blob/v0.1.8/src/commands/records/index.ts)_
545
-
546
228
  ## `ctxl records add [URI]`
547
229
 
548
230
  create record(s)
@@ -574,8 +256,6 @@ EXAMPLES
574
256
  $ ctxl records add --type my-type --input-file records.json
575
257
  ```
576
258
 
577
- _See code: [src/commands/records/add.ts](https://github.com/ContextualIO/contextual-cli/blob/v0.1.8/src/commands/records/add.ts)_
578
-
579
259
  ## `ctxl records create [URI]`
580
260
 
581
261
  create record(s)
@@ -640,8 +320,6 @@ EXAMPLES
640
320
  $ ctxl records delete --type my-type --id instance-1 --id instance-2
641
321
  ```
642
322
 
643
- _See code: [src/commands/records/delete.ts](https://github.com/ContextualIO/contextual-cli/blob/v0.1.8/src/commands/records/delete.ts)_
644
-
645
323
  ## `ctxl records get [URI]`
646
324
 
647
325
  get a record
@@ -675,8 +353,6 @@ EXAMPLES
675
353
  $ ctxl records get --type my-type --id instance-1 --id instance-2
676
354
  ```
677
355
 
678
- _See code: [src/commands/records/get.ts](https://github.com/ContextualIO/contextual-cli/blob/v0.1.8/src/commands/records/get.ts)_
679
-
680
356
  ## `ctxl records import [URI]`
681
357
 
682
358
  create record(s)
@@ -749,8 +425,6 @@ EXAMPLES
749
425
  $ ctxl records list --type my-type -s field1=value1 -s field2=value2 --include-total
750
426
  ```
751
427
 
752
- _See code: [src/commands/records/list.ts](https://github.com/ContextualIO/contextual-cli/blob/v0.1.8/src/commands/records/list.ts)_
753
-
754
428
  ## `ctxl records query [URI]`
755
429
 
756
430
  query records
@@ -789,8 +463,6 @@ EXAMPLES
789
463
  $ ctxl records query --type my-type --include-total --query-file query.json
790
464
  ```
791
465
 
792
- _See code: [src/commands/records/query.ts](https://github.com/ContextualIO/contextual-cli/blob/v0.1.8/src/commands/records/query.ts)_
793
-
794
466
  ## `ctxl records replace [URI]`
795
467
 
796
468
  replace a record
@@ -820,6 +492,4 @@ EXAMPLES
820
492
 
821
493
  $ ctxl records replace --type my-type --id instance-1 --input-file record.json
822
494
  ```
823
-
824
- _See code: [src/commands/records/replace.ts](https://github.com/ContextualIO/contextual-cli/blob/v0.1.8/src/commands/records/replace.ts)_
825
495
  <!-- commandsstop -->
@@ -753,5 +753,5 @@
753
753
  ]
754
754
  }
755
755
  },
756
- "version": "0.1.8"
756
+ "version": "0.2.1"
757
757
  }
package/package.json CHANGED
@@ -1,16 +1,14 @@
1
1
  {
2
2
  "name": "@contextual-io/cli",
3
3
  "description": "Contextual CLI",
4
- "version": "0.1.8",
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",
13
- "@oclif/plugin-plugins": "^5",
14
12
  "@oclif/table": "^0.5.1",
15
13
  "chalk": "^5.6.2",
16
14
  "cross-fetch": "^4.1.0",
@@ -46,7 +44,7 @@
46
44
  "./dist",
47
45
  "./oclif.manifest.json"
48
46
  ],
49
- "homepage": "https://github.com/ContextualIO/contextual-cli",
47
+ "homepage": "https://www.contextual.io/",
50
48
  "keywords": [
51
49
  "oclif"
52
50
  ],
@@ -58,8 +56,7 @@
58
56
  "dirname": "ctxl",
59
57
  "commands": "./dist/commands",
60
58
  "plugins": [
61
- "@oclif/plugin-help",
62
- "@oclif/plugin-plugins"
59
+ "@oclif/plugin-help"
63
60
  ],
64
61
  "topicSeparator": " ",
65
62
  "topics": {
@@ -68,7 +65,6 @@
68
65
  }
69
66
  }
70
67
  },
71
- "repository": "ContextualIO/contextual-cli",
72
68
  "scripts": {
73
69
  "build": "shx rm -rf dist && tsc -b",
74
70
  "lint": "eslint",