@contextual-io/cli 0.3.1 → 0.5.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.
Files changed (40) hide show
  1. package/README.md +383 -44
  2. package/dist/base.d.ts +5 -1
  3. package/dist/base.js +19 -4
  4. package/dist/commands/config/add.js +2 -1
  5. package/dist/commands/config/current.js +2 -2
  6. package/dist/commands/config/delete.js +1 -1
  7. package/dist/commands/config/get.js +3 -4
  8. package/dist/commands/config/index.js +1 -1
  9. package/dist/commands/config/list.js +6 -6
  10. package/dist/commands/config/login.js +1 -1
  11. package/dist/commands/config/use.js +1 -1
  12. package/dist/commands/records/add.js +1 -1
  13. package/dist/commands/records/delete.js +2 -2
  14. package/dist/commands/records/get.js +2 -2
  15. package/dist/commands/records/index.js +1 -1
  16. package/dist/commands/records/list.d.ts +1 -0
  17. package/dist/commands/records/list.js +2 -1
  18. package/dist/commands/records/patch.d.ts +25 -0
  19. package/dist/commands/records/patch.js +106 -0
  20. package/dist/commands/records/query.js +1 -1
  21. package/dist/commands/records/replace.js +2 -2
  22. package/dist/commands/types/add.d.ts +11 -0
  23. package/dist/commands/types/add.js +57 -0
  24. package/dist/commands/types/delete.d.ts +12 -0
  25. package/dist/commands/types/delete.js +35 -0
  26. package/dist/commands/types/get.d.ts +12 -0
  27. package/dist/commands/types/get.js +33 -0
  28. package/dist/commands/types/index.d.ts +9 -0
  29. package/dist/commands/types/index.js +13 -0
  30. package/dist/commands/types/list.d.ts +20 -0
  31. package/dist/commands/types/list.js +129 -0
  32. package/dist/commands/types/replace.d.ts +13 -0
  33. package/dist/commands/types/replace.js +57 -0
  34. package/dist/models/uri.js +5 -0
  35. package/dist/models/user-config.d.ts +2 -2
  36. package/dist/models/user-config.js +2 -0
  37. package/dist/utils/endpoints.d.ts +1 -0
  38. package/dist/utils/endpoints.js +1 -0
  39. package/oclif.manifest.json +457 -20
  40. package/package.json +1 -1
package/README.md CHANGED
@@ -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.3.1 linux-x64 node-v25.2.1
23
+ @contextual-io/cli/0.5.0 linux-x64 node-v25.2.1
24
24
  $ ctxl --help [COMMAND]
25
25
  USAGE
26
26
  $ ctxl COMMAND
@@ -46,8 +46,19 @@ USAGE
46
46
  * [`ctxl records get [URI]`](#ctxl-records-get-uri)
47
47
  * [`ctxl records import [URI]`](#ctxl-records-import-uri)
48
48
  * [`ctxl records list [URI]`](#ctxl-records-list-uri)
49
+ * [`ctxl records patch [URI]`](#ctxl-records-patch-uri)
49
50
  * [`ctxl records query [URI]`](#ctxl-records-query-uri)
50
51
  * [`ctxl records replace [URI]`](#ctxl-records-replace-uri)
52
+ * [`ctxl records search [URI]`](#ctxl-records-search-uri)
53
+ * [`ctxl types <COMMAND>`](#ctxl-types-command)
54
+ * [`ctxl types add`](#ctxl-types-add)
55
+ * [`ctxl types create`](#ctxl-types-create)
56
+ * [`ctxl types delete [URI]`](#ctxl-types-delete-uri)
57
+ * [`ctxl types get [URI]`](#ctxl-types-get-uri)
58
+ * [`ctxl types import`](#ctxl-types-import)
59
+ * [`ctxl types list`](#ctxl-types-list)
60
+ * [`ctxl types replace [URI]`](#ctxl-types-replace-uri)
61
+ * [`ctxl types search`](#ctxl-types-search)
51
62
 
52
63
  ## `ctxl autocomplete [SHELL]`
53
64
 
@@ -82,34 +93,32 @@ _See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomp
82
93
 
83
94
  ## `ctxl config <COMMAND>`
84
95
 
85
- manage configs
96
+ Manage configs.
86
97
 
87
98
  ```
88
99
  USAGE
89
100
  $ ctxl config <COMMAND>
90
101
 
91
102
  DESCRIPTION
92
- manage configs
103
+ Manage configs.
93
104
  ```
94
105
 
95
106
  ## `ctxl config add CONFIG-ID`
96
107
 
97
- add a new config
108
+ Add a new config.
98
109
 
99
110
  ```
100
111
  USAGE
101
- $ ctxl config add CONFIG-ID [-s prod|qa|dev] [-t <value>]
112
+ $ ctxl config add CONFIG-ID [-t <value>]
102
113
 
103
114
  ARGUMENTS
104
115
  CONFIG-ID id of config
105
116
 
106
117
  FLAGS
107
- -s, --silo=<option> [default: prod] silo
108
- <options: prod|qa|dev>
109
118
  -t, --tenant-id=<value> tenant id (if different from config id)
110
119
 
111
120
  DESCRIPTION
112
- add a new config
121
+ Add a new config.
113
122
 
114
123
  EXAMPLES
115
124
  $ ctxl config add some-config-id --tenant-id my-tenant
@@ -117,7 +126,7 @@ EXAMPLES
117
126
 
118
127
  ## `ctxl config current`
119
128
 
120
- get the current config
129
+ Get the current config.
121
130
 
122
131
  ```
123
132
  USAGE
@@ -127,7 +136,7 @@ GLOBAL FLAGS
127
136
  --json Format output as json.
128
137
 
129
138
  DESCRIPTION
130
- get the current config
139
+ Get the current config.
131
140
 
132
141
  EXAMPLES
133
142
  $ ctxl config current
@@ -135,7 +144,7 @@ EXAMPLES
135
144
 
136
145
  ## `ctxl config delete CONFIG-ID`
137
146
 
138
- delete a config
147
+ Delete a config.
139
148
 
140
149
  ```
141
150
  USAGE
@@ -145,7 +154,7 @@ ARGUMENTS
145
154
  CONFIG-ID id of config
146
155
 
147
156
  DESCRIPTION
148
- delete a config
157
+ Delete a config.
149
158
 
150
159
  EXAMPLES
151
160
  $ ctxl config delete some-config-id
@@ -153,7 +162,7 @@ EXAMPLES
153
162
 
154
163
  ## `ctxl config get [CONFIG-ID]`
155
164
 
156
- get a specific config
165
+ Get a specific config.
157
166
 
158
167
  ```
159
168
  USAGE
@@ -166,7 +175,7 @@ GLOBAL FLAGS
166
175
  --json Format output as json.
167
176
 
168
177
  DESCRIPTION
169
- get a specific config
178
+ Get a specific config.
170
179
 
171
180
  EXAMPLES
172
181
  $ ctxl config get
@@ -176,7 +185,7 @@ EXAMPLES
176
185
 
177
186
  ## `ctxl config list`
178
187
 
179
- list all available configs
188
+ List all available configs.
180
189
 
181
190
  ```
182
191
  USAGE
@@ -186,7 +195,7 @@ GLOBAL FLAGS
186
195
  --json Format output as json.
187
196
 
188
197
  DESCRIPTION
189
- list all available configs
198
+ List all available configs.
190
199
 
191
200
  EXAMPLES
192
201
  $ ctxl config list
@@ -194,14 +203,14 @@ EXAMPLES
194
203
 
195
204
  ## `ctxl config login`
196
205
 
197
- login using the current config
206
+ Login using the current config.
198
207
 
199
208
  ```
200
209
  USAGE
201
210
  $ ctxl config login
202
211
 
203
212
  DESCRIPTION
204
- login using the current config
213
+ Login using the current config.
205
214
 
206
215
  EXAMPLES
207
216
  $ ctxl config login
@@ -209,7 +218,7 @@ EXAMPLES
209
218
 
210
219
  ## `ctxl config use CONFIG-ID`
211
220
 
212
- use a config
221
+ Use a config.
213
222
 
214
223
  ```
215
224
  USAGE
@@ -219,7 +228,7 @@ ARGUMENTS
219
228
  CONFIG-ID id of config
220
229
 
221
230
  DESCRIPTION
222
- use a config
231
+ Use a config.
223
232
 
224
233
  EXAMPLES
225
234
  $ ctxl config use some-config-id
@@ -247,19 +256,19 @@ _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.2.3
247
256
 
248
257
  ## `ctxl records <COMMAND>`
249
258
 
250
- manage records
259
+ Manage records.
251
260
 
252
261
  ```
253
262
  USAGE
254
263
  $ ctxl records <COMMAND>
255
264
 
256
265
  DESCRIPTION
257
- manage records
266
+ Manage records.
258
267
  ```
259
268
 
260
269
  ## `ctxl records add [URI]`
261
270
 
262
- create record(s)
271
+ Create record(s).
263
272
 
264
273
  ```
265
274
  USAGE
@@ -276,7 +285,7 @@ GLOBAL FLAGS
276
285
  -C, --config-id=<value> Specify config id to use for call.
277
286
 
278
287
  DESCRIPTION
279
- create record(s)
288
+ Create record(s).
280
289
 
281
290
  ALIASES
282
291
  $ ctxl records create
@@ -290,7 +299,7 @@ EXAMPLES
290
299
 
291
300
  ## `ctxl records create [URI]`
292
301
 
293
- create record(s)
302
+ Create record(s).
294
303
 
295
304
  ```
296
305
  USAGE
@@ -307,7 +316,7 @@ GLOBAL FLAGS
307
316
  -C, --config-id=<value> Specify config id to use for call.
308
317
 
309
318
  DESCRIPTION
310
- create record(s)
319
+ Create record(s).
311
320
 
312
321
  ALIASES
313
322
  $ ctxl records create
@@ -321,24 +330,24 @@ EXAMPLES
321
330
 
322
331
  ## `ctxl records delete [URI]`
323
332
 
324
- delete record(s)
333
+ Delete record(s).
325
334
 
326
335
  ```
327
336
  USAGE
328
- $ ctxl records delete [URI] [-C <value>] [-i <value>...] [-T <value>]
337
+ $ ctxl records delete [URI] [-C <value>] [-I <value>...] [-T <value>]
329
338
 
330
339
  ARGUMENTS
331
340
  [URI] uri of record
332
341
 
333
342
  FLAGS
343
+ -I, --id=<value>... id(s)
334
344
  -T, --type=<value> type
335
- -i, --id=<value>... id(s)
336
345
 
337
346
  GLOBAL FLAGS
338
347
  -C, --config-id=<value> Specify config id to use for call.
339
348
 
340
349
  DESCRIPTION
341
- delete record(s)
350
+ Delete record(s).
342
351
 
343
352
  EXAMPLES
344
353
  $ ctxl records delete native-object:my-type/instance-1
@@ -354,24 +363,24 @@ EXAMPLES
354
363
 
355
364
  ## `ctxl records get [URI]`
356
365
 
357
- get a record
366
+ Get a record.
358
367
 
359
368
  ```
360
369
  USAGE
361
- $ ctxl records get [URI] [-C <value>] [-i <value>...] [-T <value>]
370
+ $ ctxl records get [URI] [-C <value>] [-I <value>...] [-T <value>]
362
371
 
363
372
  ARGUMENTS
364
373
  [URI] uri of record
365
374
 
366
375
  FLAGS
376
+ -I, --id=<value>... id(s)
367
377
  -T, --type=<value> type
368
- -i, --id=<value>... id(s)
369
378
 
370
379
  GLOBAL FLAGS
371
380
  -C, --config-id=<value> Specify config id to use for call.
372
381
 
373
382
  DESCRIPTION
374
- get a record
383
+ Get a record.
375
384
 
376
385
  EXAMPLES
377
386
  $ ctxl records get native-object:my-type/instance-1
@@ -387,7 +396,7 @@ EXAMPLES
387
396
 
388
397
  ## `ctxl records import [URI]`
389
398
 
390
- create record(s)
399
+ Create record(s).
391
400
 
392
401
  ```
393
402
  USAGE
@@ -404,7 +413,7 @@ GLOBAL FLAGS
404
413
  -C, --config-id=<value> Specify config id to use for call.
405
414
 
406
415
  DESCRIPTION
407
- create record(s)
416
+ Create record(s).
408
417
 
409
418
  ALIASES
410
419
  $ ctxl records create
@@ -418,7 +427,7 @@ EXAMPLES
418
427
 
419
428
  ## `ctxl records list [URI]`
420
429
 
421
- list records
430
+ List records.
422
431
 
423
432
  ```
424
433
  USAGE
@@ -445,7 +454,10 @@ GLOBAL FLAGS
445
454
  -C, --config-id=<value> Specify config id to use for call.
446
455
 
447
456
  DESCRIPTION
448
- list records
457
+ List records.
458
+
459
+ ALIASES
460
+ $ ctxl records search
449
461
 
450
462
  EXAMPLES
451
463
  $ ctxl records list native-object:my-type
@@ -457,9 +469,44 @@ EXAMPLES
457
469
  $ ctxl records list --type my-type -s field1=value1 -s field2=value2 --include-total
458
470
  ```
459
471
 
472
+ ## `ctxl records patch [URI]`
473
+
474
+ Patch a record.
475
+
476
+ ```
477
+ USAGE
478
+ $ ctxl records patch [URI] [-C <value>] [-a <value>...] [-I <value>] [-i <value>...] [-d <value>...] [-r
479
+ <value>...] [-s <value>...] [-T <value>]
480
+
481
+ ARGUMENTS
482
+ [URI] uri of record
483
+
484
+ FLAGS
485
+ -I, --id=<value> id
486
+ -T, --type=<value> type
487
+ -a, --add=<value>... add field
488
+ -d, --remove=<value>... remove field
489
+ -i, --increment=<value>... increment field
490
+ -r, --replace=<value>... replace field
491
+ -s, --set=<value>... set field
492
+
493
+ GLOBAL FLAGS
494
+ -C, --config-id=<value> Specify config id to use for call.
495
+
496
+ DESCRIPTION
497
+ Patch a record.
498
+
499
+ EXAMPLES
500
+ $ ctxl records patch native-object:my-type/instance-1 --set field1=value1
501
+
502
+ $ ctxl records patch native-object:my-type --id instance-1 --remove field2
503
+
504
+ $ ctxl records patch --type my-type --id instance-1 --increment field3=2
505
+ ```
506
+
460
507
  ## `ctxl records query [URI]`
461
508
 
462
- query records
509
+ Query records.
463
510
 
464
511
  ```
465
512
  USAGE
@@ -483,7 +530,7 @@ GLOBAL FLAGS
483
530
  -C, --config-id=<value> Specify config id to use for call.
484
531
 
485
532
  DESCRIPTION
486
- query records
533
+ Query records.
487
534
 
488
535
  EXAMPLES
489
536
  $ ctxl records query native-object:my-type
@@ -497,25 +544,25 @@ EXAMPLES
497
544
 
498
545
  ## `ctxl records replace [URI]`
499
546
 
500
- replace a record
547
+ Replace a record.
501
548
 
502
549
  ```
503
550
  USAGE
504
- $ ctxl records replace [URI] [-C <value>] [-i <value>] [-i <value>] [-T <value>]
551
+ $ ctxl records replace [URI] [-C <value>] [-I <value>] [-i <value>] [-T <value>]
505
552
 
506
553
  ARGUMENTS
507
554
  [URI] uri of record
508
555
 
509
556
  FLAGS
557
+ -I, --id=<value> id
510
558
  -T, --type=<value> type
511
- -i, --id=<value> id
512
559
  -i, --input-file=<value> [default: -] file to read. can read stdin if value is '-'
513
560
 
514
561
  GLOBAL FLAGS
515
562
  -C, --config-id=<value> Specify config id to use for call.
516
563
 
517
564
  DESCRIPTION
518
- replace a record
565
+ Replace a record.
519
566
 
520
567
  EXAMPLES
521
568
  $ ctxl records replace native-object:my-type/instance-1 --input-file record.json
@@ -524,4 +571,296 @@ EXAMPLES
524
571
 
525
572
  $ ctxl records replace --type my-type --id instance-1 --input-file record.json
526
573
  ```
574
+
575
+ ## `ctxl records search [URI]`
576
+
577
+ List records.
578
+
579
+ ```
580
+ USAGE
581
+ $ ctxl records search [URI] [-C <value>] [-S <value>...] [-e] [-f <value>...] [--include-total] [-o <value>...]
582
+ [--page-size <value>] [--page-token <value>] [-p] [-s <value>...] [-t <value>...] [-T <value>]
583
+
584
+ ARGUMENTS
585
+ [URI] uri of type
586
+
587
+ FLAGS
588
+ -S, --exact-search=<value>... search fields exactly
589
+ -T, --type=<value> type
590
+ -e, --export export data as JSONL
591
+ -f, --from=<value>... search from
592
+ -o, --order-by=<value>... order fields
593
+ -p, --progress show progress during export
594
+ -s, --search=<value>... search fields
595
+ -t, --to=<value>... search to
596
+ --include-total include total count
597
+ --page-size=<value> number of records per page
598
+ --page-token=<value> page token to fetch
599
+
600
+ GLOBAL FLAGS
601
+ -C, --config-id=<value> Specify config id to use for call.
602
+
603
+ DESCRIPTION
604
+ List records.
605
+
606
+ ALIASES
607
+ $ ctxl records search
608
+
609
+ EXAMPLES
610
+ $ ctxl records search native-object:my-type
611
+
612
+ $ ctxl records search --type my-type
613
+
614
+ $ ctxl records search --type my-type --order-by field1:desc
615
+
616
+ $ ctxl records search --type my-type -s field1=value1 -s field2=value2 --include-total
617
+ ```
618
+
619
+ ## `ctxl types <COMMAND>`
620
+
621
+ Manage types.
622
+
623
+ ```
624
+ USAGE
625
+ $ ctxl types <COMMAND>
626
+
627
+ DESCRIPTION
628
+ Manage types.
629
+ ```
630
+
631
+ ## `ctxl types add`
632
+
633
+ Create type(s).
634
+
635
+ ```
636
+ USAGE
637
+ $ ctxl types add [-C <value>] [-i <value>]
638
+
639
+ FLAGS
640
+ -i, --input-file=<value> [default: -] file to read. can read stdin if value is '-'
641
+
642
+ GLOBAL FLAGS
643
+ -C, --config-id=<value> Specify config id to use for call.
644
+
645
+ DESCRIPTION
646
+ Create type(s).
647
+
648
+ ALIASES
649
+ $ ctxl types create
650
+ $ ctxl types import
651
+
652
+ EXAMPLES
653
+ $ ctxl types add
654
+
655
+ $ ctxl types add --input-file types.json
656
+ ```
657
+
658
+ ## `ctxl types create`
659
+
660
+ Create type(s).
661
+
662
+ ```
663
+ USAGE
664
+ $ ctxl types create [-C <value>] [-i <value>]
665
+
666
+ FLAGS
667
+ -i, --input-file=<value> [default: -] file to read. can read stdin if value is '-'
668
+
669
+ GLOBAL FLAGS
670
+ -C, --config-id=<value> Specify config id to use for call.
671
+
672
+ DESCRIPTION
673
+ Create type(s).
674
+
675
+ ALIASES
676
+ $ ctxl types create
677
+ $ ctxl types import
678
+
679
+ EXAMPLES
680
+ $ ctxl types create
681
+
682
+ $ ctxl types create --input-file types.json
683
+ ```
684
+
685
+ ## `ctxl types delete [URI]`
686
+
687
+ Delete a type.
688
+
689
+ ```
690
+ USAGE
691
+ $ ctxl types delete [URI] [-C <value>] [-T <value>]
692
+
693
+ ARGUMENTS
694
+ [URI] uri of type
695
+
696
+ FLAGS
697
+ -T, --type=<value> type
698
+
699
+ GLOBAL FLAGS
700
+ -C, --config-id=<value> Specify config id to use for call.
701
+
702
+ DESCRIPTION
703
+ Delete a type.
704
+
705
+ EXAMPLES
706
+ $ ctxl types delete native-object:my-type
707
+
708
+ $ ctxl types delete --type my-type
709
+ ```
710
+
711
+ ## `ctxl types get [URI]`
712
+
713
+ Get a type.
714
+
715
+ ```
716
+ USAGE
717
+ $ ctxl types get [URI] [-C <value>] [-T <value>]
718
+
719
+ ARGUMENTS
720
+ [URI] uri of type
721
+
722
+ FLAGS
723
+ -T, --type=<value> type
724
+
725
+ GLOBAL FLAGS
726
+ -C, --config-id=<value> Specify config id to use for call.
727
+
728
+ DESCRIPTION
729
+ Get a type.
730
+
731
+ EXAMPLES
732
+ $ ctxl types get native-object:my-type
733
+
734
+ $ ctxl types get --type my-type
735
+ ```
736
+
737
+ ## `ctxl types import`
738
+
739
+ Create type(s).
740
+
741
+ ```
742
+ USAGE
743
+ $ ctxl types import [-C <value>] [-i <value>]
744
+
745
+ FLAGS
746
+ -i, --input-file=<value> [default: -] file to read. can read stdin if value is '-'
747
+
748
+ GLOBAL FLAGS
749
+ -C, --config-id=<value> Specify config id to use for call.
750
+
751
+ DESCRIPTION
752
+ Create type(s).
753
+
754
+ ALIASES
755
+ $ ctxl types create
756
+ $ ctxl types import
757
+
758
+ EXAMPLES
759
+ $ ctxl types import
760
+
761
+ $ ctxl types import --input-file types.json
762
+ ```
763
+
764
+ ## `ctxl types list`
765
+
766
+ List types.
767
+
768
+ ```
769
+ USAGE
770
+ $ ctxl types list [-C <value>] [-S <value>...] [-e] [-f <value>...] [--include-total] [-o <value>...]
771
+ [--page-size <value>] [--page-token <value>] [-p] [-s <value>...] [-t <value>...]
772
+
773
+ FLAGS
774
+ -S, --exact-search=<value>... search fields exactly
775
+ -e, --export export data as JSONL
776
+ -f, --from=<value>... search from
777
+ -o, --order-by=<value>... order fields
778
+ -p, --progress show progress during export
779
+ -s, --search=<value>... search fields
780
+ -t, --to=<value>... search to
781
+ --include-total include total count
782
+ --page-size=<value> number of types per page
783
+ --page-token=<value> page token to fetch
784
+
785
+ GLOBAL FLAGS
786
+ -C, --config-id=<value> Specify config id to use for call.
787
+
788
+ DESCRIPTION
789
+ List types.
790
+
791
+ ALIASES
792
+ $ ctxl types search
793
+
794
+ EXAMPLES
795
+ $ ctxl types list
796
+
797
+ $ ctxl types list --order-by field1:desc
798
+
799
+ $ ctxl types list -s field1=value1 -s field2=value2 --include-total
800
+ ```
801
+
802
+ ## `ctxl types replace [URI]`
803
+
804
+ Replace a type.
805
+
806
+ ```
807
+ USAGE
808
+ $ ctxl types replace [URI] [-C <value>] [-i <value>] [-T <value>]
809
+
810
+ ARGUMENTS
811
+ [URI] uri of type
812
+
813
+ FLAGS
814
+ -T, --type=<value> type
815
+ -i, --input-file=<value> [default: -] file to read. can read stdin if value is '-'
816
+
817
+ GLOBAL FLAGS
818
+ -C, --config-id=<value> Specify config id to use for call.
819
+
820
+ DESCRIPTION
821
+ Replace a type.
822
+
823
+ EXAMPLES
824
+ $ ctxl types replace native-object:my-type --input-file record.json
825
+
826
+ $ ctxl types replace --type my-type --input-file record.json
827
+ ```
828
+
829
+ ## `ctxl types search`
830
+
831
+ List types.
832
+
833
+ ```
834
+ USAGE
835
+ $ ctxl types search [-C <value>] [-S <value>...] [-e] [-f <value>...] [--include-total] [-o <value>...]
836
+ [--page-size <value>] [--page-token <value>] [-p] [-s <value>...] [-t <value>...]
837
+
838
+ FLAGS
839
+ -S, --exact-search=<value>... search fields exactly
840
+ -e, --export export data as JSONL
841
+ -f, --from=<value>... search from
842
+ -o, --order-by=<value>... order fields
843
+ -p, --progress show progress during export
844
+ -s, --search=<value>... search fields
845
+ -t, --to=<value>... search to
846
+ --include-total include total count
847
+ --page-size=<value> number of types per page
848
+ --page-token=<value> page token to fetch
849
+
850
+ GLOBAL FLAGS
851
+ -C, --config-id=<value> Specify config id to use for call.
852
+
853
+ DESCRIPTION
854
+ List types.
855
+
856
+ ALIASES
857
+ $ ctxl types search
858
+
859
+ EXAMPLES
860
+ $ ctxl types search
861
+
862
+ $ ctxl types search --order-by field1:desc
863
+
864
+ $ ctxl types search -s field1=value1 -s field2=value2 --include-total
865
+ ```
527
866
  <!-- commandsstop -->
package/dist/base.d.ts CHANGED
@@ -7,7 +7,11 @@ export type Args<T extends typeof Command> = Interfaces.InferredArgs<T["args"]>;
7
7
  declare class CommandConfig {
8
8
  private readonly configDir;
9
9
  constructor(configDir: string);
10
- clean(configId: UrlSafeId, { silo, tenantId }: Config): CleanConfig;
10
+ cleanJson(configId: UrlSafeId, { silo, tenantId }: Config): CleanConfig;
11
+ cleanTable(configId: UrlSafeId, config: Config): {
12
+ tenantId: string;
13
+ configId: string;
14
+ };
11
15
  get(configId?: UrlSafeId): Promise<{
12
16
  config: Config;
13
17
  lookup: string;