@wavyx/pdcli 0.1.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 (46) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/LICENSE +21 -0
  3. package/README.md +32 -0
  4. package/bin/run.js +20 -0
  5. package/oclif.manifest.json +2308 -0
  6. package/package.json +128 -0
  7. package/src/base-command.js +99 -0
  8. package/src/commands/activity/get.js +41 -0
  9. package/src/commands/activity/list.js +61 -0
  10. package/src/commands/api.js +60 -0
  11. package/src/commands/auth/login.js +79 -0
  12. package/src/commands/auth/logout.js +24 -0
  13. package/src/commands/auth/status.js +62 -0
  14. package/src/commands/config/get.js +30 -0
  15. package/src/commands/config/list.js +25 -0
  16. package/src/commands/config/set.js +29 -0
  17. package/src/commands/deal/get.js +43 -0
  18. package/src/commands/deal/list.js +62 -0
  19. package/src/commands/doctor.js +123 -0
  20. package/src/commands/field/get.js +58 -0
  21. package/src/commands/field/list.js +41 -0
  22. package/src/commands/org/get.js +41 -0
  23. package/src/commands/org/list.js +40 -0
  24. package/src/commands/person/get.js +41 -0
  25. package/src/commands/person/list.js +49 -0
  26. package/src/commands/profile/current.js +16 -0
  27. package/src/commands/profile/list.js +36 -0
  28. package/src/commands/profile/use.js +26 -0
  29. package/src/commands/search.js +67 -0
  30. package/src/commands/user/me.js +26 -0
  31. package/src/commands/version.js +24 -0
  32. package/src/hooks/command-not-found.js +15 -0
  33. package/src/hooks/init.js +7 -0
  34. package/src/hooks/prerun.js +7 -0
  35. package/src/lib/auth.js +95 -0
  36. package/src/lib/body.js +26 -0
  37. package/src/lib/client.js +184 -0
  38. package/src/lib/config.js +71 -0
  39. package/src/lib/errors.js +118 -0
  40. package/src/lib/fields.js +120 -0
  41. package/src/lib/keychain.js +69 -0
  42. package/src/lib/output/index.js +22 -0
  43. package/src/lib/output/json.js +7 -0
  44. package/src/lib/output/record.js +27 -0
  45. package/src/lib/output/table.js +40 -0
  46. package/src/lib/pagination.js +14 -0
@@ -0,0 +1,2308 @@
1
+ {
2
+ "commands": {
3
+ "api": {
4
+ "aliases": [],
5
+ "args": {
6
+ "method": {
7
+ "description": "HTTP method",
8
+ "name": "method",
9
+ "options": [
10
+ "GET",
11
+ "POST",
12
+ "PUT",
13
+ "PATCH",
14
+ "DELETE"
15
+ ],
16
+ "required": true
17
+ },
18
+ "path": {
19
+ "description": "API path (e.g. /api/v2/deals — v1 and v2 both work)",
20
+ "name": "path",
21
+ "required": true
22
+ }
23
+ },
24
+ "description": "Make a raw API request (host-locked to your Pipedrive company domain)",
25
+ "examples": [
26
+ "<%= config.bin %> api GET /api/v2/deals",
27
+ "<%= config.bin %> api GET /api/v1/currencies",
28
+ "<%= config.bin %> api POST /api/v2/deals --body '{\"title\":\"New deal\"}'",
29
+ "<%= config.bin %> api DELETE /api/v1/webhooks/1"
30
+ ],
31
+ "flags": {
32
+ "output": {
33
+ "char": "o",
34
+ "description": "Output format",
35
+ "helpGroup": "GLOBAL",
36
+ "name": "output",
37
+ "hasDynamicHelp": false,
38
+ "multiple": false,
39
+ "options": [
40
+ "table",
41
+ "json"
42
+ ],
43
+ "type": "option"
44
+ },
45
+ "profile": {
46
+ "description": "Named auth profile to use",
47
+ "env": "PDCLI_PROFILE",
48
+ "helpGroup": "GLOBAL",
49
+ "name": "profile",
50
+ "hasDynamicHelp": false,
51
+ "multiple": false,
52
+ "type": "option"
53
+ },
54
+ "no-color": {
55
+ "description": "Disable color output",
56
+ "helpGroup": "GLOBAL",
57
+ "name": "no-color",
58
+ "allowNo": false,
59
+ "type": "boolean"
60
+ },
61
+ "verbose": {
62
+ "description": "Show detailed API request/response on errors",
63
+ "helpGroup": "GLOBAL",
64
+ "name": "verbose",
65
+ "allowNo": false,
66
+ "type": "boolean"
67
+ },
68
+ "no-retry": {
69
+ "description": "Disable automatic retry on rate limits and 5xx errors",
70
+ "helpGroup": "GLOBAL",
71
+ "name": "no-retry",
72
+ "allowNo": false,
73
+ "type": "boolean"
74
+ },
75
+ "timeout": {
76
+ "description": "Request timeout in milliseconds",
77
+ "helpGroup": "GLOBAL",
78
+ "name": "timeout",
79
+ "hasDynamicHelp": false,
80
+ "multiple": false,
81
+ "type": "option"
82
+ },
83
+ "limit": {
84
+ "description": "Maximum number of items to return (lists)",
85
+ "helpGroup": "GLOBAL",
86
+ "name": "limit",
87
+ "hasDynamicHelp": false,
88
+ "multiple": false,
89
+ "type": "option"
90
+ },
91
+ "body": {
92
+ "description": "Request body (JSON string, @file, or pipe stdin)",
93
+ "name": "body",
94
+ "hasDynamicHelp": false,
95
+ "multiple": false,
96
+ "type": "option"
97
+ }
98
+ },
99
+ "hasDynamicHelp": false,
100
+ "hiddenAliases": [],
101
+ "id": "api",
102
+ "pluginAlias": "@wavyx/pdcli",
103
+ "pluginName": "@wavyx/pdcli",
104
+ "pluginType": "core",
105
+ "strict": true,
106
+ "enableJsonFlag": false,
107
+ "isESM": true,
108
+ "relativePath": [
109
+ "src",
110
+ "commands",
111
+ "api.js"
112
+ ]
113
+ },
114
+ "doctor": {
115
+ "aliases": [],
116
+ "args": {},
117
+ "description": "Run diagnostic checks on the CLI environment",
118
+ "examples": [
119
+ "<%= config.bin %> doctor"
120
+ ],
121
+ "flags": {
122
+ "output": {
123
+ "char": "o",
124
+ "description": "Output format",
125
+ "helpGroup": "GLOBAL",
126
+ "name": "output",
127
+ "hasDynamicHelp": false,
128
+ "multiple": false,
129
+ "options": [
130
+ "table",
131
+ "json"
132
+ ],
133
+ "type": "option"
134
+ },
135
+ "profile": {
136
+ "description": "Named auth profile to use",
137
+ "env": "PDCLI_PROFILE",
138
+ "helpGroup": "GLOBAL",
139
+ "name": "profile",
140
+ "hasDynamicHelp": false,
141
+ "multiple": false,
142
+ "type": "option"
143
+ },
144
+ "no-color": {
145
+ "description": "Disable color output",
146
+ "helpGroup": "GLOBAL",
147
+ "name": "no-color",
148
+ "allowNo": false,
149
+ "type": "boolean"
150
+ },
151
+ "verbose": {
152
+ "description": "Show detailed API request/response on errors",
153
+ "helpGroup": "GLOBAL",
154
+ "name": "verbose",
155
+ "allowNo": false,
156
+ "type": "boolean"
157
+ },
158
+ "no-retry": {
159
+ "description": "Disable automatic retry on rate limits and 5xx errors",
160
+ "helpGroup": "GLOBAL",
161
+ "name": "no-retry",
162
+ "allowNo": false,
163
+ "type": "boolean"
164
+ },
165
+ "timeout": {
166
+ "description": "Request timeout in milliseconds",
167
+ "helpGroup": "GLOBAL",
168
+ "name": "timeout",
169
+ "hasDynamicHelp": false,
170
+ "multiple": false,
171
+ "type": "option"
172
+ },
173
+ "limit": {
174
+ "description": "Maximum number of items to return (lists)",
175
+ "helpGroup": "GLOBAL",
176
+ "name": "limit",
177
+ "hasDynamicHelp": false,
178
+ "multiple": false,
179
+ "type": "option"
180
+ }
181
+ },
182
+ "hasDynamicHelp": false,
183
+ "hiddenAliases": [],
184
+ "id": "doctor",
185
+ "pluginAlias": "@wavyx/pdcli",
186
+ "pluginName": "@wavyx/pdcli",
187
+ "pluginType": "core",
188
+ "strict": true,
189
+ "enableJsonFlag": false,
190
+ "skipAuth": true,
191
+ "isESM": true,
192
+ "relativePath": [
193
+ "src",
194
+ "commands",
195
+ "doctor.js"
196
+ ]
197
+ },
198
+ "search": {
199
+ "aliases": [],
200
+ "args": {
201
+ "term": {
202
+ "description": "Search term",
203
+ "name": "term",
204
+ "required": true
205
+ }
206
+ },
207
+ "description": "Search across deals, persons, organizations, products, leads, files, and projects",
208
+ "examples": [
209
+ "<%= config.bin %> search \"acme\"",
210
+ "<%= config.bin %> search \"acme\" --item-types deal,person --output json"
211
+ ],
212
+ "flags": {
213
+ "output": {
214
+ "char": "o",
215
+ "description": "Output format",
216
+ "helpGroup": "GLOBAL",
217
+ "name": "output",
218
+ "hasDynamicHelp": false,
219
+ "multiple": false,
220
+ "options": [
221
+ "table",
222
+ "json"
223
+ ],
224
+ "type": "option"
225
+ },
226
+ "profile": {
227
+ "description": "Named auth profile to use",
228
+ "env": "PDCLI_PROFILE",
229
+ "helpGroup": "GLOBAL",
230
+ "name": "profile",
231
+ "hasDynamicHelp": false,
232
+ "multiple": false,
233
+ "type": "option"
234
+ },
235
+ "no-color": {
236
+ "description": "Disable color output",
237
+ "helpGroup": "GLOBAL",
238
+ "name": "no-color",
239
+ "allowNo": false,
240
+ "type": "boolean"
241
+ },
242
+ "verbose": {
243
+ "description": "Show detailed API request/response on errors",
244
+ "helpGroup": "GLOBAL",
245
+ "name": "verbose",
246
+ "allowNo": false,
247
+ "type": "boolean"
248
+ },
249
+ "no-retry": {
250
+ "description": "Disable automatic retry on rate limits and 5xx errors",
251
+ "helpGroup": "GLOBAL",
252
+ "name": "no-retry",
253
+ "allowNo": false,
254
+ "type": "boolean"
255
+ },
256
+ "timeout": {
257
+ "description": "Request timeout in milliseconds",
258
+ "helpGroup": "GLOBAL",
259
+ "name": "timeout",
260
+ "hasDynamicHelp": false,
261
+ "multiple": false,
262
+ "type": "option"
263
+ },
264
+ "limit": {
265
+ "description": "Maximum number of items to return (lists)",
266
+ "helpGroup": "GLOBAL",
267
+ "name": "limit",
268
+ "hasDynamicHelp": false,
269
+ "multiple": false,
270
+ "type": "option"
271
+ },
272
+ "item-types": {
273
+ "description": "Comma-separated item types (deal,person,organization,product,lead,file,mail_attachment,project)",
274
+ "name": "item-types",
275
+ "hasDynamicHelp": false,
276
+ "multiple": false,
277
+ "type": "option"
278
+ },
279
+ "exact": {
280
+ "description": "Exact match (allows 1-character terms)",
281
+ "name": "exact",
282
+ "allowNo": false,
283
+ "type": "boolean"
284
+ }
285
+ },
286
+ "hasDynamicHelp": false,
287
+ "hiddenAliases": [],
288
+ "id": "search",
289
+ "pluginAlias": "@wavyx/pdcli",
290
+ "pluginName": "@wavyx/pdcli",
291
+ "pluginType": "core",
292
+ "strict": true,
293
+ "enableJsonFlag": false,
294
+ "isESM": true,
295
+ "relativePath": [
296
+ "src",
297
+ "commands",
298
+ "search.js"
299
+ ]
300
+ },
301
+ "version": {
302
+ "aliases": [],
303
+ "args": {},
304
+ "description": "Show CLI version and environment info",
305
+ "examples": [
306
+ "<%= config.bin %> version"
307
+ ],
308
+ "flags": {
309
+ "output": {
310
+ "char": "o",
311
+ "description": "Output format",
312
+ "helpGroup": "GLOBAL",
313
+ "name": "output",
314
+ "hasDynamicHelp": false,
315
+ "multiple": false,
316
+ "options": [
317
+ "table",
318
+ "json"
319
+ ],
320
+ "type": "option"
321
+ },
322
+ "profile": {
323
+ "description": "Named auth profile to use",
324
+ "env": "PDCLI_PROFILE",
325
+ "helpGroup": "GLOBAL",
326
+ "name": "profile",
327
+ "hasDynamicHelp": false,
328
+ "multiple": false,
329
+ "type": "option"
330
+ },
331
+ "no-color": {
332
+ "description": "Disable color output",
333
+ "helpGroup": "GLOBAL",
334
+ "name": "no-color",
335
+ "allowNo": false,
336
+ "type": "boolean"
337
+ },
338
+ "verbose": {
339
+ "description": "Show detailed API request/response on errors",
340
+ "helpGroup": "GLOBAL",
341
+ "name": "verbose",
342
+ "allowNo": false,
343
+ "type": "boolean"
344
+ },
345
+ "no-retry": {
346
+ "description": "Disable automatic retry on rate limits and 5xx errors",
347
+ "helpGroup": "GLOBAL",
348
+ "name": "no-retry",
349
+ "allowNo": false,
350
+ "type": "boolean"
351
+ },
352
+ "timeout": {
353
+ "description": "Request timeout in milliseconds",
354
+ "helpGroup": "GLOBAL",
355
+ "name": "timeout",
356
+ "hasDynamicHelp": false,
357
+ "multiple": false,
358
+ "type": "option"
359
+ },
360
+ "limit": {
361
+ "description": "Maximum number of items to return (lists)",
362
+ "helpGroup": "GLOBAL",
363
+ "name": "limit",
364
+ "hasDynamicHelp": false,
365
+ "multiple": false,
366
+ "type": "option"
367
+ }
368
+ },
369
+ "hasDynamicHelp": false,
370
+ "hiddenAliases": [],
371
+ "id": "version",
372
+ "pluginAlias": "@wavyx/pdcli",
373
+ "pluginName": "@wavyx/pdcli",
374
+ "pluginType": "core",
375
+ "strict": true,
376
+ "enableJsonFlag": false,
377
+ "skipAuth": true,
378
+ "isESM": true,
379
+ "relativePath": [
380
+ "src",
381
+ "commands",
382
+ "version.js"
383
+ ]
384
+ },
385
+ "activity:get": {
386
+ "aliases": [],
387
+ "args": {
388
+ "id": {
389
+ "description": "Activity ID",
390
+ "name": "id",
391
+ "required": true
392
+ }
393
+ },
394
+ "description": "Get an activity by ID",
395
+ "examples": [
396
+ "<%= config.bin %> activity get 9",
397
+ "<%= config.bin %> activity get 9 --output json"
398
+ ],
399
+ "flags": {
400
+ "output": {
401
+ "char": "o",
402
+ "description": "Output format",
403
+ "helpGroup": "GLOBAL",
404
+ "name": "output",
405
+ "hasDynamicHelp": false,
406
+ "multiple": false,
407
+ "options": [
408
+ "table",
409
+ "json"
410
+ ],
411
+ "type": "option"
412
+ },
413
+ "profile": {
414
+ "description": "Named auth profile to use",
415
+ "env": "PDCLI_PROFILE",
416
+ "helpGroup": "GLOBAL",
417
+ "name": "profile",
418
+ "hasDynamicHelp": false,
419
+ "multiple": false,
420
+ "type": "option"
421
+ },
422
+ "no-color": {
423
+ "description": "Disable color output",
424
+ "helpGroup": "GLOBAL",
425
+ "name": "no-color",
426
+ "allowNo": false,
427
+ "type": "boolean"
428
+ },
429
+ "verbose": {
430
+ "description": "Show detailed API request/response on errors",
431
+ "helpGroup": "GLOBAL",
432
+ "name": "verbose",
433
+ "allowNo": false,
434
+ "type": "boolean"
435
+ },
436
+ "no-retry": {
437
+ "description": "Disable automatic retry on rate limits and 5xx errors",
438
+ "helpGroup": "GLOBAL",
439
+ "name": "no-retry",
440
+ "allowNo": false,
441
+ "type": "boolean"
442
+ },
443
+ "timeout": {
444
+ "description": "Request timeout in milliseconds",
445
+ "helpGroup": "GLOBAL",
446
+ "name": "timeout",
447
+ "hasDynamicHelp": false,
448
+ "multiple": false,
449
+ "type": "option"
450
+ },
451
+ "limit": {
452
+ "description": "Maximum number of items to return (lists)",
453
+ "helpGroup": "GLOBAL",
454
+ "name": "limit",
455
+ "hasDynamicHelp": false,
456
+ "multiple": false,
457
+ "type": "option"
458
+ }
459
+ },
460
+ "hasDynamicHelp": false,
461
+ "hiddenAliases": [],
462
+ "id": "activity:get",
463
+ "pluginAlias": "@wavyx/pdcli",
464
+ "pluginName": "@wavyx/pdcli",
465
+ "pluginType": "core",
466
+ "strict": true,
467
+ "enableJsonFlag": false,
468
+ "isESM": true,
469
+ "relativePath": [
470
+ "src",
471
+ "commands",
472
+ "activity",
473
+ "get.js"
474
+ ]
475
+ },
476
+ "activity:list": {
477
+ "aliases": [],
478
+ "args": {},
479
+ "description": "List activities",
480
+ "examples": [
481
+ "<%= config.bin %> activity list",
482
+ "<%= config.bin %> activity list --todo --deal 42",
483
+ "<%= config.bin %> activity list --type call --output json"
484
+ ],
485
+ "flags": {
486
+ "output": {
487
+ "char": "o",
488
+ "description": "Output format",
489
+ "helpGroup": "GLOBAL",
490
+ "name": "output",
491
+ "hasDynamicHelp": false,
492
+ "multiple": false,
493
+ "options": [
494
+ "table",
495
+ "json"
496
+ ],
497
+ "type": "option"
498
+ },
499
+ "profile": {
500
+ "description": "Named auth profile to use",
501
+ "env": "PDCLI_PROFILE",
502
+ "helpGroup": "GLOBAL",
503
+ "name": "profile",
504
+ "hasDynamicHelp": false,
505
+ "multiple": false,
506
+ "type": "option"
507
+ },
508
+ "no-color": {
509
+ "description": "Disable color output",
510
+ "helpGroup": "GLOBAL",
511
+ "name": "no-color",
512
+ "allowNo": false,
513
+ "type": "boolean"
514
+ },
515
+ "verbose": {
516
+ "description": "Show detailed API request/response on errors",
517
+ "helpGroup": "GLOBAL",
518
+ "name": "verbose",
519
+ "allowNo": false,
520
+ "type": "boolean"
521
+ },
522
+ "no-retry": {
523
+ "description": "Disable automatic retry on rate limits and 5xx errors",
524
+ "helpGroup": "GLOBAL",
525
+ "name": "no-retry",
526
+ "allowNo": false,
527
+ "type": "boolean"
528
+ },
529
+ "timeout": {
530
+ "description": "Request timeout in milliseconds",
531
+ "helpGroup": "GLOBAL",
532
+ "name": "timeout",
533
+ "hasDynamicHelp": false,
534
+ "multiple": false,
535
+ "type": "option"
536
+ },
537
+ "limit": {
538
+ "description": "Maximum number of items to return (lists)",
539
+ "helpGroup": "GLOBAL",
540
+ "name": "limit",
541
+ "hasDynamicHelp": false,
542
+ "multiple": false,
543
+ "type": "option"
544
+ },
545
+ "owner": {
546
+ "description": "Filter by owner (user) ID",
547
+ "name": "owner",
548
+ "hasDynamicHelp": false,
549
+ "multiple": false,
550
+ "type": "option"
551
+ },
552
+ "deal": {
553
+ "description": "Filter by deal ID",
554
+ "name": "deal",
555
+ "hasDynamicHelp": false,
556
+ "multiple": false,
557
+ "type": "option"
558
+ },
559
+ "person": {
560
+ "description": "Filter by person ID",
561
+ "name": "person",
562
+ "hasDynamicHelp": false,
563
+ "multiple": false,
564
+ "type": "option"
565
+ },
566
+ "org": {
567
+ "description": "Filter by organization ID",
568
+ "name": "org",
569
+ "hasDynamicHelp": false,
570
+ "multiple": false,
571
+ "type": "option"
572
+ },
573
+ "type": {
574
+ "description": "Filter by activity type key",
575
+ "name": "type",
576
+ "hasDynamicHelp": false,
577
+ "multiple": false,
578
+ "type": "option"
579
+ },
580
+ "done": {
581
+ "description": "Only completed activities",
582
+ "exclusive": [
583
+ "todo"
584
+ ],
585
+ "name": "done",
586
+ "allowNo": false,
587
+ "type": "boolean"
588
+ },
589
+ "todo": {
590
+ "description": "Only open (not done) activities",
591
+ "exclusive": [
592
+ "done"
593
+ ],
594
+ "name": "todo",
595
+ "allowNo": false,
596
+ "type": "boolean"
597
+ }
598
+ },
599
+ "hasDynamicHelp": false,
600
+ "hiddenAliases": [],
601
+ "id": "activity:list",
602
+ "pluginAlias": "@wavyx/pdcli",
603
+ "pluginName": "@wavyx/pdcli",
604
+ "pluginType": "core",
605
+ "strict": true,
606
+ "enableJsonFlag": false,
607
+ "isESM": true,
608
+ "relativePath": [
609
+ "src",
610
+ "commands",
611
+ "activity",
612
+ "list.js"
613
+ ]
614
+ },
615
+ "auth:login": {
616
+ "aliases": [],
617
+ "args": {},
618
+ "description": "Authenticate with Pipedrive using your personal API token",
619
+ "examples": [
620
+ "<%= config.bin %> auth login",
621
+ "<%= config.bin %> auth login --company acme --api-token <token>",
622
+ "<%= config.bin %> auth login --profile work"
623
+ ],
624
+ "flags": {
625
+ "output": {
626
+ "char": "o",
627
+ "description": "Output format",
628
+ "helpGroup": "GLOBAL",
629
+ "name": "output",
630
+ "hasDynamicHelp": false,
631
+ "multiple": false,
632
+ "options": [
633
+ "table",
634
+ "json"
635
+ ],
636
+ "type": "option"
637
+ },
638
+ "profile": {
639
+ "description": "Named auth profile to use",
640
+ "env": "PDCLI_PROFILE",
641
+ "helpGroup": "GLOBAL",
642
+ "name": "profile",
643
+ "hasDynamicHelp": false,
644
+ "multiple": false,
645
+ "type": "option"
646
+ },
647
+ "no-color": {
648
+ "description": "Disable color output",
649
+ "helpGroup": "GLOBAL",
650
+ "name": "no-color",
651
+ "allowNo": false,
652
+ "type": "boolean"
653
+ },
654
+ "verbose": {
655
+ "description": "Show detailed API request/response on errors",
656
+ "helpGroup": "GLOBAL",
657
+ "name": "verbose",
658
+ "allowNo": false,
659
+ "type": "boolean"
660
+ },
661
+ "no-retry": {
662
+ "description": "Disable automatic retry on rate limits and 5xx errors",
663
+ "helpGroup": "GLOBAL",
664
+ "name": "no-retry",
665
+ "allowNo": false,
666
+ "type": "boolean"
667
+ },
668
+ "timeout": {
669
+ "description": "Request timeout in milliseconds",
670
+ "helpGroup": "GLOBAL",
671
+ "name": "timeout",
672
+ "hasDynamicHelp": false,
673
+ "multiple": false,
674
+ "type": "option"
675
+ },
676
+ "limit": {
677
+ "description": "Maximum number of items to return (lists)",
678
+ "helpGroup": "GLOBAL",
679
+ "name": "limit",
680
+ "hasDynamicHelp": false,
681
+ "multiple": false,
682
+ "type": "option"
683
+ },
684
+ "company": {
685
+ "description": "Company domain (\"acme\" from acme.pipedrive.com — full URL accepted)",
686
+ "name": "company",
687
+ "hasDynamicHelp": false,
688
+ "multiple": false,
689
+ "type": "option"
690
+ },
691
+ "api-token": {
692
+ "description": "Personal API token (app.pipedrive.com/settings/api). Prefer the prompt or env so the token stays out of shell history",
693
+ "name": "api-token",
694
+ "hasDynamicHelp": false,
695
+ "multiple": false,
696
+ "type": "option"
697
+ }
698
+ },
699
+ "hasDynamicHelp": false,
700
+ "hiddenAliases": [],
701
+ "id": "auth:login",
702
+ "pluginAlias": "@wavyx/pdcli",
703
+ "pluginName": "@wavyx/pdcli",
704
+ "pluginType": "core",
705
+ "strict": true,
706
+ "enableJsonFlag": false,
707
+ "skipAuth": true,
708
+ "isESM": true,
709
+ "relativePath": [
710
+ "src",
711
+ "commands",
712
+ "auth",
713
+ "login.js"
714
+ ]
715
+ },
716
+ "auth:logout": {
717
+ "aliases": [],
718
+ "args": {},
719
+ "description": "Log out and remove the stored API token",
720
+ "examples": [
721
+ "<%= config.bin %> auth logout"
722
+ ],
723
+ "flags": {
724
+ "output": {
725
+ "char": "o",
726
+ "description": "Output format",
727
+ "helpGroup": "GLOBAL",
728
+ "name": "output",
729
+ "hasDynamicHelp": false,
730
+ "multiple": false,
731
+ "options": [
732
+ "table",
733
+ "json"
734
+ ],
735
+ "type": "option"
736
+ },
737
+ "profile": {
738
+ "description": "Named auth profile to use",
739
+ "env": "PDCLI_PROFILE",
740
+ "helpGroup": "GLOBAL",
741
+ "name": "profile",
742
+ "hasDynamicHelp": false,
743
+ "multiple": false,
744
+ "type": "option"
745
+ },
746
+ "no-color": {
747
+ "description": "Disable color output",
748
+ "helpGroup": "GLOBAL",
749
+ "name": "no-color",
750
+ "allowNo": false,
751
+ "type": "boolean"
752
+ },
753
+ "verbose": {
754
+ "description": "Show detailed API request/response on errors",
755
+ "helpGroup": "GLOBAL",
756
+ "name": "verbose",
757
+ "allowNo": false,
758
+ "type": "boolean"
759
+ },
760
+ "no-retry": {
761
+ "description": "Disable automatic retry on rate limits and 5xx errors",
762
+ "helpGroup": "GLOBAL",
763
+ "name": "no-retry",
764
+ "allowNo": false,
765
+ "type": "boolean"
766
+ },
767
+ "timeout": {
768
+ "description": "Request timeout in milliseconds",
769
+ "helpGroup": "GLOBAL",
770
+ "name": "timeout",
771
+ "hasDynamicHelp": false,
772
+ "multiple": false,
773
+ "type": "option"
774
+ },
775
+ "limit": {
776
+ "description": "Maximum number of items to return (lists)",
777
+ "helpGroup": "GLOBAL",
778
+ "name": "limit",
779
+ "hasDynamicHelp": false,
780
+ "multiple": false,
781
+ "type": "option"
782
+ }
783
+ },
784
+ "hasDynamicHelp": false,
785
+ "hiddenAliases": [],
786
+ "id": "auth:logout",
787
+ "pluginAlias": "@wavyx/pdcli",
788
+ "pluginName": "@wavyx/pdcli",
789
+ "pluginType": "core",
790
+ "strict": true,
791
+ "enableJsonFlag": false,
792
+ "skipAuth": true,
793
+ "isESM": true,
794
+ "relativePath": [
795
+ "src",
796
+ "commands",
797
+ "auth",
798
+ "logout.js"
799
+ ]
800
+ },
801
+ "auth:status": {
802
+ "aliases": [],
803
+ "args": {},
804
+ "description": "Show current authentication status",
805
+ "examples": [
806
+ "<%= config.bin %> auth status"
807
+ ],
808
+ "flags": {
809
+ "output": {
810
+ "char": "o",
811
+ "description": "Output format",
812
+ "helpGroup": "GLOBAL",
813
+ "name": "output",
814
+ "hasDynamicHelp": false,
815
+ "multiple": false,
816
+ "options": [
817
+ "table",
818
+ "json"
819
+ ],
820
+ "type": "option"
821
+ },
822
+ "profile": {
823
+ "description": "Named auth profile to use",
824
+ "env": "PDCLI_PROFILE",
825
+ "helpGroup": "GLOBAL",
826
+ "name": "profile",
827
+ "hasDynamicHelp": false,
828
+ "multiple": false,
829
+ "type": "option"
830
+ },
831
+ "no-color": {
832
+ "description": "Disable color output",
833
+ "helpGroup": "GLOBAL",
834
+ "name": "no-color",
835
+ "allowNo": false,
836
+ "type": "boolean"
837
+ },
838
+ "verbose": {
839
+ "description": "Show detailed API request/response on errors",
840
+ "helpGroup": "GLOBAL",
841
+ "name": "verbose",
842
+ "allowNo": false,
843
+ "type": "boolean"
844
+ },
845
+ "no-retry": {
846
+ "description": "Disable automatic retry on rate limits and 5xx errors",
847
+ "helpGroup": "GLOBAL",
848
+ "name": "no-retry",
849
+ "allowNo": false,
850
+ "type": "boolean"
851
+ },
852
+ "timeout": {
853
+ "description": "Request timeout in milliseconds",
854
+ "helpGroup": "GLOBAL",
855
+ "name": "timeout",
856
+ "hasDynamicHelp": false,
857
+ "multiple": false,
858
+ "type": "option"
859
+ },
860
+ "limit": {
861
+ "description": "Maximum number of items to return (lists)",
862
+ "helpGroup": "GLOBAL",
863
+ "name": "limit",
864
+ "hasDynamicHelp": false,
865
+ "multiple": false,
866
+ "type": "option"
867
+ }
868
+ },
869
+ "hasDynamicHelp": false,
870
+ "hiddenAliases": [],
871
+ "id": "auth:status",
872
+ "pluginAlias": "@wavyx/pdcli",
873
+ "pluginName": "@wavyx/pdcli",
874
+ "pluginType": "core",
875
+ "strict": true,
876
+ "enableJsonFlag": false,
877
+ "skipAuth": true,
878
+ "isESM": true,
879
+ "relativePath": [
880
+ "src",
881
+ "commands",
882
+ "auth",
883
+ "status.js"
884
+ ]
885
+ },
886
+ "deal:get": {
887
+ "aliases": [],
888
+ "args": {
889
+ "id": {
890
+ "description": "Deal ID",
891
+ "name": "id",
892
+ "required": true
893
+ }
894
+ },
895
+ "description": "Get a deal by ID",
896
+ "examples": [
897
+ "<%= config.bin %> deal get 42",
898
+ "<%= config.bin %> deal get 42 --output json"
899
+ ],
900
+ "flags": {
901
+ "output": {
902
+ "char": "o",
903
+ "description": "Output format",
904
+ "helpGroup": "GLOBAL",
905
+ "name": "output",
906
+ "hasDynamicHelp": false,
907
+ "multiple": false,
908
+ "options": [
909
+ "table",
910
+ "json"
911
+ ],
912
+ "type": "option"
913
+ },
914
+ "profile": {
915
+ "description": "Named auth profile to use",
916
+ "env": "PDCLI_PROFILE",
917
+ "helpGroup": "GLOBAL",
918
+ "name": "profile",
919
+ "hasDynamicHelp": false,
920
+ "multiple": false,
921
+ "type": "option"
922
+ },
923
+ "no-color": {
924
+ "description": "Disable color output",
925
+ "helpGroup": "GLOBAL",
926
+ "name": "no-color",
927
+ "allowNo": false,
928
+ "type": "boolean"
929
+ },
930
+ "verbose": {
931
+ "description": "Show detailed API request/response on errors",
932
+ "helpGroup": "GLOBAL",
933
+ "name": "verbose",
934
+ "allowNo": false,
935
+ "type": "boolean"
936
+ },
937
+ "no-retry": {
938
+ "description": "Disable automatic retry on rate limits and 5xx errors",
939
+ "helpGroup": "GLOBAL",
940
+ "name": "no-retry",
941
+ "allowNo": false,
942
+ "type": "boolean"
943
+ },
944
+ "timeout": {
945
+ "description": "Request timeout in milliseconds",
946
+ "helpGroup": "GLOBAL",
947
+ "name": "timeout",
948
+ "hasDynamicHelp": false,
949
+ "multiple": false,
950
+ "type": "option"
951
+ },
952
+ "limit": {
953
+ "description": "Maximum number of items to return (lists)",
954
+ "helpGroup": "GLOBAL",
955
+ "name": "limit",
956
+ "hasDynamicHelp": false,
957
+ "multiple": false,
958
+ "type": "option"
959
+ }
960
+ },
961
+ "hasDynamicHelp": false,
962
+ "hiddenAliases": [],
963
+ "id": "deal:get",
964
+ "pluginAlias": "@wavyx/pdcli",
965
+ "pluginName": "@wavyx/pdcli",
966
+ "pluginType": "core",
967
+ "strict": true,
968
+ "enableJsonFlag": false,
969
+ "isESM": true,
970
+ "relativePath": [
971
+ "src",
972
+ "commands",
973
+ "deal",
974
+ "get.js"
975
+ ]
976
+ },
977
+ "deal:list": {
978
+ "aliases": [],
979
+ "args": {},
980
+ "description": "List deals",
981
+ "examples": [
982
+ "<%= config.bin %> deal list",
983
+ "<%= config.bin %> deal list --status won --limit 50",
984
+ "<%= config.bin %> deal list --stage 3 --output json"
985
+ ],
986
+ "flags": {
987
+ "output": {
988
+ "char": "o",
989
+ "description": "Output format",
990
+ "helpGroup": "GLOBAL",
991
+ "name": "output",
992
+ "hasDynamicHelp": false,
993
+ "multiple": false,
994
+ "options": [
995
+ "table",
996
+ "json"
997
+ ],
998
+ "type": "option"
999
+ },
1000
+ "profile": {
1001
+ "description": "Named auth profile to use",
1002
+ "env": "PDCLI_PROFILE",
1003
+ "helpGroup": "GLOBAL",
1004
+ "name": "profile",
1005
+ "hasDynamicHelp": false,
1006
+ "multiple": false,
1007
+ "type": "option"
1008
+ },
1009
+ "no-color": {
1010
+ "description": "Disable color output",
1011
+ "helpGroup": "GLOBAL",
1012
+ "name": "no-color",
1013
+ "allowNo": false,
1014
+ "type": "boolean"
1015
+ },
1016
+ "verbose": {
1017
+ "description": "Show detailed API request/response on errors",
1018
+ "helpGroup": "GLOBAL",
1019
+ "name": "verbose",
1020
+ "allowNo": false,
1021
+ "type": "boolean"
1022
+ },
1023
+ "no-retry": {
1024
+ "description": "Disable automatic retry on rate limits and 5xx errors",
1025
+ "helpGroup": "GLOBAL",
1026
+ "name": "no-retry",
1027
+ "allowNo": false,
1028
+ "type": "boolean"
1029
+ },
1030
+ "timeout": {
1031
+ "description": "Request timeout in milliseconds",
1032
+ "helpGroup": "GLOBAL",
1033
+ "name": "timeout",
1034
+ "hasDynamicHelp": false,
1035
+ "multiple": false,
1036
+ "type": "option"
1037
+ },
1038
+ "limit": {
1039
+ "description": "Maximum number of items to return (lists)",
1040
+ "helpGroup": "GLOBAL",
1041
+ "name": "limit",
1042
+ "hasDynamicHelp": false,
1043
+ "multiple": false,
1044
+ "type": "option"
1045
+ },
1046
+ "status": {
1047
+ "description": "Filter by status",
1048
+ "name": "status",
1049
+ "hasDynamicHelp": false,
1050
+ "multiple": false,
1051
+ "options": [
1052
+ "open",
1053
+ "won",
1054
+ "lost",
1055
+ "deleted"
1056
+ ],
1057
+ "type": "option"
1058
+ },
1059
+ "stage": {
1060
+ "description": "Filter by stage ID",
1061
+ "name": "stage",
1062
+ "hasDynamicHelp": false,
1063
+ "multiple": false,
1064
+ "type": "option"
1065
+ },
1066
+ "pipeline": {
1067
+ "description": "Filter by pipeline ID",
1068
+ "name": "pipeline",
1069
+ "hasDynamicHelp": false,
1070
+ "multiple": false,
1071
+ "type": "option"
1072
+ },
1073
+ "owner": {
1074
+ "description": "Filter by owner (user) ID",
1075
+ "name": "owner",
1076
+ "hasDynamicHelp": false,
1077
+ "multiple": false,
1078
+ "type": "option"
1079
+ },
1080
+ "person": {
1081
+ "description": "Filter by person ID",
1082
+ "name": "person",
1083
+ "hasDynamicHelp": false,
1084
+ "multiple": false,
1085
+ "type": "option"
1086
+ },
1087
+ "org": {
1088
+ "description": "Filter by organization ID",
1089
+ "name": "org",
1090
+ "hasDynamicHelp": false,
1091
+ "multiple": false,
1092
+ "type": "option"
1093
+ }
1094
+ },
1095
+ "hasDynamicHelp": false,
1096
+ "hiddenAliases": [],
1097
+ "id": "deal:list",
1098
+ "pluginAlias": "@wavyx/pdcli",
1099
+ "pluginName": "@wavyx/pdcli",
1100
+ "pluginType": "core",
1101
+ "strict": true,
1102
+ "enableJsonFlag": false,
1103
+ "isESM": true,
1104
+ "relativePath": [
1105
+ "src",
1106
+ "commands",
1107
+ "deal",
1108
+ "list.js"
1109
+ ]
1110
+ },
1111
+ "config:get": {
1112
+ "aliases": [],
1113
+ "args": {
1114
+ "key": {
1115
+ "description": "Config key to read",
1116
+ "name": "key",
1117
+ "required": true
1118
+ }
1119
+ },
1120
+ "description": "Get a config value for the active profile",
1121
+ "examples": [
1122
+ "<%= config.bin %> config get company_domain",
1123
+ "<%= config.bin %> config get default_output"
1124
+ ],
1125
+ "flags": {
1126
+ "output": {
1127
+ "char": "o",
1128
+ "description": "Output format",
1129
+ "helpGroup": "GLOBAL",
1130
+ "name": "output",
1131
+ "hasDynamicHelp": false,
1132
+ "multiple": false,
1133
+ "options": [
1134
+ "table",
1135
+ "json"
1136
+ ],
1137
+ "type": "option"
1138
+ },
1139
+ "profile": {
1140
+ "description": "Named auth profile to use",
1141
+ "env": "PDCLI_PROFILE",
1142
+ "helpGroup": "GLOBAL",
1143
+ "name": "profile",
1144
+ "hasDynamicHelp": false,
1145
+ "multiple": false,
1146
+ "type": "option"
1147
+ },
1148
+ "no-color": {
1149
+ "description": "Disable color output",
1150
+ "helpGroup": "GLOBAL",
1151
+ "name": "no-color",
1152
+ "allowNo": false,
1153
+ "type": "boolean"
1154
+ },
1155
+ "verbose": {
1156
+ "description": "Show detailed API request/response on errors",
1157
+ "helpGroup": "GLOBAL",
1158
+ "name": "verbose",
1159
+ "allowNo": false,
1160
+ "type": "boolean"
1161
+ },
1162
+ "no-retry": {
1163
+ "description": "Disable automatic retry on rate limits and 5xx errors",
1164
+ "helpGroup": "GLOBAL",
1165
+ "name": "no-retry",
1166
+ "allowNo": false,
1167
+ "type": "boolean"
1168
+ },
1169
+ "timeout": {
1170
+ "description": "Request timeout in milliseconds",
1171
+ "helpGroup": "GLOBAL",
1172
+ "name": "timeout",
1173
+ "hasDynamicHelp": false,
1174
+ "multiple": false,
1175
+ "type": "option"
1176
+ },
1177
+ "limit": {
1178
+ "description": "Maximum number of items to return (lists)",
1179
+ "helpGroup": "GLOBAL",
1180
+ "name": "limit",
1181
+ "hasDynamicHelp": false,
1182
+ "multiple": false,
1183
+ "type": "option"
1184
+ }
1185
+ },
1186
+ "hasDynamicHelp": false,
1187
+ "hiddenAliases": [],
1188
+ "id": "config:get",
1189
+ "pluginAlias": "@wavyx/pdcli",
1190
+ "pluginName": "@wavyx/pdcli",
1191
+ "pluginType": "core",
1192
+ "strict": true,
1193
+ "enableJsonFlag": false,
1194
+ "skipAuth": true,
1195
+ "isESM": true,
1196
+ "relativePath": [
1197
+ "src",
1198
+ "commands",
1199
+ "config",
1200
+ "get.js"
1201
+ ]
1202
+ },
1203
+ "config:list": {
1204
+ "aliases": [],
1205
+ "args": {},
1206
+ "description": "List all config for the active profile",
1207
+ "examples": [
1208
+ "<%= config.bin %> config list"
1209
+ ],
1210
+ "flags": {
1211
+ "output": {
1212
+ "char": "o",
1213
+ "description": "Output format",
1214
+ "helpGroup": "GLOBAL",
1215
+ "name": "output",
1216
+ "hasDynamicHelp": false,
1217
+ "multiple": false,
1218
+ "options": [
1219
+ "table",
1220
+ "json"
1221
+ ],
1222
+ "type": "option"
1223
+ },
1224
+ "profile": {
1225
+ "description": "Named auth profile to use",
1226
+ "env": "PDCLI_PROFILE",
1227
+ "helpGroup": "GLOBAL",
1228
+ "name": "profile",
1229
+ "hasDynamicHelp": false,
1230
+ "multiple": false,
1231
+ "type": "option"
1232
+ },
1233
+ "no-color": {
1234
+ "description": "Disable color output",
1235
+ "helpGroup": "GLOBAL",
1236
+ "name": "no-color",
1237
+ "allowNo": false,
1238
+ "type": "boolean"
1239
+ },
1240
+ "verbose": {
1241
+ "description": "Show detailed API request/response on errors",
1242
+ "helpGroup": "GLOBAL",
1243
+ "name": "verbose",
1244
+ "allowNo": false,
1245
+ "type": "boolean"
1246
+ },
1247
+ "no-retry": {
1248
+ "description": "Disable automatic retry on rate limits and 5xx errors",
1249
+ "helpGroup": "GLOBAL",
1250
+ "name": "no-retry",
1251
+ "allowNo": false,
1252
+ "type": "boolean"
1253
+ },
1254
+ "timeout": {
1255
+ "description": "Request timeout in milliseconds",
1256
+ "helpGroup": "GLOBAL",
1257
+ "name": "timeout",
1258
+ "hasDynamicHelp": false,
1259
+ "multiple": false,
1260
+ "type": "option"
1261
+ },
1262
+ "limit": {
1263
+ "description": "Maximum number of items to return (lists)",
1264
+ "helpGroup": "GLOBAL",
1265
+ "name": "limit",
1266
+ "hasDynamicHelp": false,
1267
+ "multiple": false,
1268
+ "type": "option"
1269
+ }
1270
+ },
1271
+ "hasDynamicHelp": false,
1272
+ "hiddenAliases": [],
1273
+ "id": "config:list",
1274
+ "pluginAlias": "@wavyx/pdcli",
1275
+ "pluginName": "@wavyx/pdcli",
1276
+ "pluginType": "core",
1277
+ "strict": true,
1278
+ "enableJsonFlag": false,
1279
+ "skipAuth": true,
1280
+ "isESM": true,
1281
+ "relativePath": [
1282
+ "src",
1283
+ "commands",
1284
+ "config",
1285
+ "list.js"
1286
+ ]
1287
+ },
1288
+ "config:set": {
1289
+ "aliases": [],
1290
+ "args": {
1291
+ "key": {
1292
+ "description": "Config key to set",
1293
+ "name": "key",
1294
+ "required": true
1295
+ },
1296
+ "value": {
1297
+ "description": "Value to assign",
1298
+ "name": "value",
1299
+ "required": true
1300
+ }
1301
+ },
1302
+ "description": "Set a config value for the active profile",
1303
+ "examples": [
1304
+ "<%= config.bin %> config set company_domain acme",
1305
+ "<%= config.bin %> config set default_output json"
1306
+ ],
1307
+ "flags": {
1308
+ "output": {
1309
+ "char": "o",
1310
+ "description": "Output format",
1311
+ "helpGroup": "GLOBAL",
1312
+ "name": "output",
1313
+ "hasDynamicHelp": false,
1314
+ "multiple": false,
1315
+ "options": [
1316
+ "table",
1317
+ "json"
1318
+ ],
1319
+ "type": "option"
1320
+ },
1321
+ "profile": {
1322
+ "description": "Named auth profile to use",
1323
+ "env": "PDCLI_PROFILE",
1324
+ "helpGroup": "GLOBAL",
1325
+ "name": "profile",
1326
+ "hasDynamicHelp": false,
1327
+ "multiple": false,
1328
+ "type": "option"
1329
+ },
1330
+ "no-color": {
1331
+ "description": "Disable color output",
1332
+ "helpGroup": "GLOBAL",
1333
+ "name": "no-color",
1334
+ "allowNo": false,
1335
+ "type": "boolean"
1336
+ },
1337
+ "verbose": {
1338
+ "description": "Show detailed API request/response on errors",
1339
+ "helpGroup": "GLOBAL",
1340
+ "name": "verbose",
1341
+ "allowNo": false,
1342
+ "type": "boolean"
1343
+ },
1344
+ "no-retry": {
1345
+ "description": "Disable automatic retry on rate limits and 5xx errors",
1346
+ "helpGroup": "GLOBAL",
1347
+ "name": "no-retry",
1348
+ "allowNo": false,
1349
+ "type": "boolean"
1350
+ },
1351
+ "timeout": {
1352
+ "description": "Request timeout in milliseconds",
1353
+ "helpGroup": "GLOBAL",
1354
+ "name": "timeout",
1355
+ "hasDynamicHelp": false,
1356
+ "multiple": false,
1357
+ "type": "option"
1358
+ },
1359
+ "limit": {
1360
+ "description": "Maximum number of items to return (lists)",
1361
+ "helpGroup": "GLOBAL",
1362
+ "name": "limit",
1363
+ "hasDynamicHelp": false,
1364
+ "multiple": false,
1365
+ "type": "option"
1366
+ }
1367
+ },
1368
+ "hasDynamicHelp": false,
1369
+ "hiddenAliases": [],
1370
+ "id": "config:set",
1371
+ "pluginAlias": "@wavyx/pdcli",
1372
+ "pluginName": "@wavyx/pdcli",
1373
+ "pluginType": "core",
1374
+ "strict": true,
1375
+ "enableJsonFlag": false,
1376
+ "skipAuth": true,
1377
+ "isESM": true,
1378
+ "relativePath": [
1379
+ "src",
1380
+ "commands",
1381
+ "config",
1382
+ "set.js"
1383
+ ]
1384
+ },
1385
+ "field:get": {
1386
+ "aliases": [],
1387
+ "args": {
1388
+ "entity": {
1389
+ "description": "Entity type",
1390
+ "name": "entity",
1391
+ "options": [
1392
+ "deal",
1393
+ "person",
1394
+ "org",
1395
+ "organization",
1396
+ "product",
1397
+ "activity"
1398
+ ],
1399
+ "required": true
1400
+ },
1401
+ "field": {
1402
+ "description": "Field name (human label) or hashed key",
1403
+ "name": "field",
1404
+ "required": true
1405
+ }
1406
+ },
1407
+ "description": "Show one field by human name or hashed key",
1408
+ "examples": [
1409
+ "<%= config.bin %> field get deal \"Deal Size\"",
1410
+ "<%= config.bin %> field get deal dcf558aac1ae4e8c4f849ba5e668430d8df9be12"
1411
+ ],
1412
+ "flags": {
1413
+ "output": {
1414
+ "char": "o",
1415
+ "description": "Output format",
1416
+ "helpGroup": "GLOBAL",
1417
+ "name": "output",
1418
+ "hasDynamicHelp": false,
1419
+ "multiple": false,
1420
+ "options": [
1421
+ "table",
1422
+ "json"
1423
+ ],
1424
+ "type": "option"
1425
+ },
1426
+ "profile": {
1427
+ "description": "Named auth profile to use",
1428
+ "env": "PDCLI_PROFILE",
1429
+ "helpGroup": "GLOBAL",
1430
+ "name": "profile",
1431
+ "hasDynamicHelp": false,
1432
+ "multiple": false,
1433
+ "type": "option"
1434
+ },
1435
+ "no-color": {
1436
+ "description": "Disable color output",
1437
+ "helpGroup": "GLOBAL",
1438
+ "name": "no-color",
1439
+ "allowNo": false,
1440
+ "type": "boolean"
1441
+ },
1442
+ "verbose": {
1443
+ "description": "Show detailed API request/response on errors",
1444
+ "helpGroup": "GLOBAL",
1445
+ "name": "verbose",
1446
+ "allowNo": false,
1447
+ "type": "boolean"
1448
+ },
1449
+ "no-retry": {
1450
+ "description": "Disable automatic retry on rate limits and 5xx errors",
1451
+ "helpGroup": "GLOBAL",
1452
+ "name": "no-retry",
1453
+ "allowNo": false,
1454
+ "type": "boolean"
1455
+ },
1456
+ "timeout": {
1457
+ "description": "Request timeout in milliseconds",
1458
+ "helpGroup": "GLOBAL",
1459
+ "name": "timeout",
1460
+ "hasDynamicHelp": false,
1461
+ "multiple": false,
1462
+ "type": "option"
1463
+ },
1464
+ "limit": {
1465
+ "description": "Maximum number of items to return (lists)",
1466
+ "helpGroup": "GLOBAL",
1467
+ "name": "limit",
1468
+ "hasDynamicHelp": false,
1469
+ "multiple": false,
1470
+ "type": "option"
1471
+ }
1472
+ },
1473
+ "hasDynamicHelp": false,
1474
+ "hiddenAliases": [],
1475
+ "id": "field:get",
1476
+ "pluginAlias": "@wavyx/pdcli",
1477
+ "pluginName": "@wavyx/pdcli",
1478
+ "pluginType": "core",
1479
+ "strict": true,
1480
+ "enableJsonFlag": false,
1481
+ "isESM": true,
1482
+ "relativePath": [
1483
+ "src",
1484
+ "commands",
1485
+ "field",
1486
+ "get.js"
1487
+ ]
1488
+ },
1489
+ "field:list": {
1490
+ "aliases": [],
1491
+ "args": {
1492
+ "entity": {
1493
+ "description": "Entity type",
1494
+ "name": "entity",
1495
+ "options": [
1496
+ "deal",
1497
+ "person",
1498
+ "org",
1499
+ "organization",
1500
+ "product",
1501
+ "activity"
1502
+ ],
1503
+ "required": true
1504
+ }
1505
+ },
1506
+ "description": "List fields for an entity, including custom-field hash keys",
1507
+ "examples": [
1508
+ "<%= config.bin %> field list deal",
1509
+ "<%= config.bin %> field list person --output json"
1510
+ ],
1511
+ "flags": {
1512
+ "output": {
1513
+ "char": "o",
1514
+ "description": "Output format",
1515
+ "helpGroup": "GLOBAL",
1516
+ "name": "output",
1517
+ "hasDynamicHelp": false,
1518
+ "multiple": false,
1519
+ "options": [
1520
+ "table",
1521
+ "json"
1522
+ ],
1523
+ "type": "option"
1524
+ },
1525
+ "profile": {
1526
+ "description": "Named auth profile to use",
1527
+ "env": "PDCLI_PROFILE",
1528
+ "helpGroup": "GLOBAL",
1529
+ "name": "profile",
1530
+ "hasDynamicHelp": false,
1531
+ "multiple": false,
1532
+ "type": "option"
1533
+ },
1534
+ "no-color": {
1535
+ "description": "Disable color output",
1536
+ "helpGroup": "GLOBAL",
1537
+ "name": "no-color",
1538
+ "allowNo": false,
1539
+ "type": "boolean"
1540
+ },
1541
+ "verbose": {
1542
+ "description": "Show detailed API request/response on errors",
1543
+ "helpGroup": "GLOBAL",
1544
+ "name": "verbose",
1545
+ "allowNo": false,
1546
+ "type": "boolean"
1547
+ },
1548
+ "no-retry": {
1549
+ "description": "Disable automatic retry on rate limits and 5xx errors",
1550
+ "helpGroup": "GLOBAL",
1551
+ "name": "no-retry",
1552
+ "allowNo": false,
1553
+ "type": "boolean"
1554
+ },
1555
+ "timeout": {
1556
+ "description": "Request timeout in milliseconds",
1557
+ "helpGroup": "GLOBAL",
1558
+ "name": "timeout",
1559
+ "hasDynamicHelp": false,
1560
+ "multiple": false,
1561
+ "type": "option"
1562
+ },
1563
+ "limit": {
1564
+ "description": "Maximum number of items to return (lists)",
1565
+ "helpGroup": "GLOBAL",
1566
+ "name": "limit",
1567
+ "hasDynamicHelp": false,
1568
+ "multiple": false,
1569
+ "type": "option"
1570
+ }
1571
+ },
1572
+ "hasDynamicHelp": false,
1573
+ "hiddenAliases": [],
1574
+ "id": "field:list",
1575
+ "pluginAlias": "@wavyx/pdcli",
1576
+ "pluginName": "@wavyx/pdcli",
1577
+ "pluginType": "core",
1578
+ "strict": true,
1579
+ "enableJsonFlag": false,
1580
+ "isESM": true,
1581
+ "relativePath": [
1582
+ "src",
1583
+ "commands",
1584
+ "field",
1585
+ "list.js"
1586
+ ]
1587
+ },
1588
+ "org:get": {
1589
+ "aliases": [],
1590
+ "args": {
1591
+ "id": {
1592
+ "description": "Organization ID",
1593
+ "name": "id",
1594
+ "required": true
1595
+ }
1596
+ },
1597
+ "description": "Get an organization by ID",
1598
+ "examples": [
1599
+ "<%= config.bin %> org get 7",
1600
+ "<%= config.bin %> org get 7 --output json"
1601
+ ],
1602
+ "flags": {
1603
+ "output": {
1604
+ "char": "o",
1605
+ "description": "Output format",
1606
+ "helpGroup": "GLOBAL",
1607
+ "name": "output",
1608
+ "hasDynamicHelp": false,
1609
+ "multiple": false,
1610
+ "options": [
1611
+ "table",
1612
+ "json"
1613
+ ],
1614
+ "type": "option"
1615
+ },
1616
+ "profile": {
1617
+ "description": "Named auth profile to use",
1618
+ "env": "PDCLI_PROFILE",
1619
+ "helpGroup": "GLOBAL",
1620
+ "name": "profile",
1621
+ "hasDynamicHelp": false,
1622
+ "multiple": false,
1623
+ "type": "option"
1624
+ },
1625
+ "no-color": {
1626
+ "description": "Disable color output",
1627
+ "helpGroup": "GLOBAL",
1628
+ "name": "no-color",
1629
+ "allowNo": false,
1630
+ "type": "boolean"
1631
+ },
1632
+ "verbose": {
1633
+ "description": "Show detailed API request/response on errors",
1634
+ "helpGroup": "GLOBAL",
1635
+ "name": "verbose",
1636
+ "allowNo": false,
1637
+ "type": "boolean"
1638
+ },
1639
+ "no-retry": {
1640
+ "description": "Disable automatic retry on rate limits and 5xx errors",
1641
+ "helpGroup": "GLOBAL",
1642
+ "name": "no-retry",
1643
+ "allowNo": false,
1644
+ "type": "boolean"
1645
+ },
1646
+ "timeout": {
1647
+ "description": "Request timeout in milliseconds",
1648
+ "helpGroup": "GLOBAL",
1649
+ "name": "timeout",
1650
+ "hasDynamicHelp": false,
1651
+ "multiple": false,
1652
+ "type": "option"
1653
+ },
1654
+ "limit": {
1655
+ "description": "Maximum number of items to return (lists)",
1656
+ "helpGroup": "GLOBAL",
1657
+ "name": "limit",
1658
+ "hasDynamicHelp": false,
1659
+ "multiple": false,
1660
+ "type": "option"
1661
+ }
1662
+ },
1663
+ "hasDynamicHelp": false,
1664
+ "hiddenAliases": [],
1665
+ "id": "org:get",
1666
+ "pluginAlias": "@wavyx/pdcli",
1667
+ "pluginName": "@wavyx/pdcli",
1668
+ "pluginType": "core",
1669
+ "strict": true,
1670
+ "enableJsonFlag": false,
1671
+ "isESM": true,
1672
+ "relativePath": [
1673
+ "src",
1674
+ "commands",
1675
+ "org",
1676
+ "get.js"
1677
+ ]
1678
+ },
1679
+ "org:list": {
1680
+ "aliases": [],
1681
+ "args": {},
1682
+ "description": "List organizations",
1683
+ "examples": [
1684
+ "<%= config.bin %> org list",
1685
+ "<%= config.bin %> org list --owner 3 --output json"
1686
+ ],
1687
+ "flags": {
1688
+ "output": {
1689
+ "char": "o",
1690
+ "description": "Output format",
1691
+ "helpGroup": "GLOBAL",
1692
+ "name": "output",
1693
+ "hasDynamicHelp": false,
1694
+ "multiple": false,
1695
+ "options": [
1696
+ "table",
1697
+ "json"
1698
+ ],
1699
+ "type": "option"
1700
+ },
1701
+ "profile": {
1702
+ "description": "Named auth profile to use",
1703
+ "env": "PDCLI_PROFILE",
1704
+ "helpGroup": "GLOBAL",
1705
+ "name": "profile",
1706
+ "hasDynamicHelp": false,
1707
+ "multiple": false,
1708
+ "type": "option"
1709
+ },
1710
+ "no-color": {
1711
+ "description": "Disable color output",
1712
+ "helpGroup": "GLOBAL",
1713
+ "name": "no-color",
1714
+ "allowNo": false,
1715
+ "type": "boolean"
1716
+ },
1717
+ "verbose": {
1718
+ "description": "Show detailed API request/response on errors",
1719
+ "helpGroup": "GLOBAL",
1720
+ "name": "verbose",
1721
+ "allowNo": false,
1722
+ "type": "boolean"
1723
+ },
1724
+ "no-retry": {
1725
+ "description": "Disable automatic retry on rate limits and 5xx errors",
1726
+ "helpGroup": "GLOBAL",
1727
+ "name": "no-retry",
1728
+ "allowNo": false,
1729
+ "type": "boolean"
1730
+ },
1731
+ "timeout": {
1732
+ "description": "Request timeout in milliseconds",
1733
+ "helpGroup": "GLOBAL",
1734
+ "name": "timeout",
1735
+ "hasDynamicHelp": false,
1736
+ "multiple": false,
1737
+ "type": "option"
1738
+ },
1739
+ "limit": {
1740
+ "description": "Maximum number of items to return (lists)",
1741
+ "helpGroup": "GLOBAL",
1742
+ "name": "limit",
1743
+ "hasDynamicHelp": false,
1744
+ "multiple": false,
1745
+ "type": "option"
1746
+ },
1747
+ "owner": {
1748
+ "description": "Filter by owner (user) ID",
1749
+ "name": "owner",
1750
+ "hasDynamicHelp": false,
1751
+ "multiple": false,
1752
+ "type": "option"
1753
+ }
1754
+ },
1755
+ "hasDynamicHelp": false,
1756
+ "hiddenAliases": [],
1757
+ "id": "org:list",
1758
+ "pluginAlias": "@wavyx/pdcli",
1759
+ "pluginName": "@wavyx/pdcli",
1760
+ "pluginType": "core",
1761
+ "strict": true,
1762
+ "enableJsonFlag": false,
1763
+ "isESM": true,
1764
+ "relativePath": [
1765
+ "src",
1766
+ "commands",
1767
+ "org",
1768
+ "list.js"
1769
+ ]
1770
+ },
1771
+ "user:me": {
1772
+ "aliases": [],
1773
+ "args": {},
1774
+ "description": "Show the authenticated user",
1775
+ "examples": [
1776
+ "<%= config.bin %> user me"
1777
+ ],
1778
+ "flags": {
1779
+ "output": {
1780
+ "char": "o",
1781
+ "description": "Output format",
1782
+ "helpGroup": "GLOBAL",
1783
+ "name": "output",
1784
+ "hasDynamicHelp": false,
1785
+ "multiple": false,
1786
+ "options": [
1787
+ "table",
1788
+ "json"
1789
+ ],
1790
+ "type": "option"
1791
+ },
1792
+ "profile": {
1793
+ "description": "Named auth profile to use",
1794
+ "env": "PDCLI_PROFILE",
1795
+ "helpGroup": "GLOBAL",
1796
+ "name": "profile",
1797
+ "hasDynamicHelp": false,
1798
+ "multiple": false,
1799
+ "type": "option"
1800
+ },
1801
+ "no-color": {
1802
+ "description": "Disable color output",
1803
+ "helpGroup": "GLOBAL",
1804
+ "name": "no-color",
1805
+ "allowNo": false,
1806
+ "type": "boolean"
1807
+ },
1808
+ "verbose": {
1809
+ "description": "Show detailed API request/response on errors",
1810
+ "helpGroup": "GLOBAL",
1811
+ "name": "verbose",
1812
+ "allowNo": false,
1813
+ "type": "boolean"
1814
+ },
1815
+ "no-retry": {
1816
+ "description": "Disable automatic retry on rate limits and 5xx errors",
1817
+ "helpGroup": "GLOBAL",
1818
+ "name": "no-retry",
1819
+ "allowNo": false,
1820
+ "type": "boolean"
1821
+ },
1822
+ "timeout": {
1823
+ "description": "Request timeout in milliseconds",
1824
+ "helpGroup": "GLOBAL",
1825
+ "name": "timeout",
1826
+ "hasDynamicHelp": false,
1827
+ "multiple": false,
1828
+ "type": "option"
1829
+ },
1830
+ "limit": {
1831
+ "description": "Maximum number of items to return (lists)",
1832
+ "helpGroup": "GLOBAL",
1833
+ "name": "limit",
1834
+ "hasDynamicHelp": false,
1835
+ "multiple": false,
1836
+ "type": "option"
1837
+ }
1838
+ },
1839
+ "hasDynamicHelp": false,
1840
+ "hiddenAliases": [],
1841
+ "id": "user:me",
1842
+ "pluginAlias": "@wavyx/pdcli",
1843
+ "pluginName": "@wavyx/pdcli",
1844
+ "pluginType": "core",
1845
+ "strict": true,
1846
+ "enableJsonFlag": false,
1847
+ "isESM": true,
1848
+ "relativePath": [
1849
+ "src",
1850
+ "commands",
1851
+ "user",
1852
+ "me.js"
1853
+ ]
1854
+ },
1855
+ "profile:current": {
1856
+ "aliases": [],
1857
+ "args": {},
1858
+ "description": "Show the active profile",
1859
+ "examples": [
1860
+ "<%= config.bin %> profile current"
1861
+ ],
1862
+ "flags": {
1863
+ "output": {
1864
+ "char": "o",
1865
+ "description": "Output format",
1866
+ "helpGroup": "GLOBAL",
1867
+ "name": "output",
1868
+ "hasDynamicHelp": false,
1869
+ "multiple": false,
1870
+ "options": [
1871
+ "table",
1872
+ "json"
1873
+ ],
1874
+ "type": "option"
1875
+ },
1876
+ "profile": {
1877
+ "description": "Named auth profile to use",
1878
+ "env": "PDCLI_PROFILE",
1879
+ "helpGroup": "GLOBAL",
1880
+ "name": "profile",
1881
+ "hasDynamicHelp": false,
1882
+ "multiple": false,
1883
+ "type": "option"
1884
+ },
1885
+ "no-color": {
1886
+ "description": "Disable color output",
1887
+ "helpGroup": "GLOBAL",
1888
+ "name": "no-color",
1889
+ "allowNo": false,
1890
+ "type": "boolean"
1891
+ },
1892
+ "verbose": {
1893
+ "description": "Show detailed API request/response on errors",
1894
+ "helpGroup": "GLOBAL",
1895
+ "name": "verbose",
1896
+ "allowNo": false,
1897
+ "type": "boolean"
1898
+ },
1899
+ "no-retry": {
1900
+ "description": "Disable automatic retry on rate limits and 5xx errors",
1901
+ "helpGroup": "GLOBAL",
1902
+ "name": "no-retry",
1903
+ "allowNo": false,
1904
+ "type": "boolean"
1905
+ },
1906
+ "timeout": {
1907
+ "description": "Request timeout in milliseconds",
1908
+ "helpGroup": "GLOBAL",
1909
+ "name": "timeout",
1910
+ "hasDynamicHelp": false,
1911
+ "multiple": false,
1912
+ "type": "option"
1913
+ },
1914
+ "limit": {
1915
+ "description": "Maximum number of items to return (lists)",
1916
+ "helpGroup": "GLOBAL",
1917
+ "name": "limit",
1918
+ "hasDynamicHelp": false,
1919
+ "multiple": false,
1920
+ "type": "option"
1921
+ }
1922
+ },
1923
+ "hasDynamicHelp": false,
1924
+ "hiddenAliases": [],
1925
+ "id": "profile:current",
1926
+ "pluginAlias": "@wavyx/pdcli",
1927
+ "pluginName": "@wavyx/pdcli",
1928
+ "pluginType": "core",
1929
+ "strict": true,
1930
+ "enableJsonFlag": false,
1931
+ "skipAuth": true,
1932
+ "isESM": true,
1933
+ "relativePath": [
1934
+ "src",
1935
+ "commands",
1936
+ "profile",
1937
+ "current.js"
1938
+ ]
1939
+ },
1940
+ "profile:list": {
1941
+ "aliases": [],
1942
+ "args": {},
1943
+ "description": "List all configured profiles",
1944
+ "examples": [
1945
+ "<%= config.bin %> profile list"
1946
+ ],
1947
+ "flags": {
1948
+ "output": {
1949
+ "char": "o",
1950
+ "description": "Output format",
1951
+ "helpGroup": "GLOBAL",
1952
+ "name": "output",
1953
+ "hasDynamicHelp": false,
1954
+ "multiple": false,
1955
+ "options": [
1956
+ "table",
1957
+ "json"
1958
+ ],
1959
+ "type": "option"
1960
+ },
1961
+ "profile": {
1962
+ "description": "Named auth profile to use",
1963
+ "env": "PDCLI_PROFILE",
1964
+ "helpGroup": "GLOBAL",
1965
+ "name": "profile",
1966
+ "hasDynamicHelp": false,
1967
+ "multiple": false,
1968
+ "type": "option"
1969
+ },
1970
+ "no-color": {
1971
+ "description": "Disable color output",
1972
+ "helpGroup": "GLOBAL",
1973
+ "name": "no-color",
1974
+ "allowNo": false,
1975
+ "type": "boolean"
1976
+ },
1977
+ "verbose": {
1978
+ "description": "Show detailed API request/response on errors",
1979
+ "helpGroup": "GLOBAL",
1980
+ "name": "verbose",
1981
+ "allowNo": false,
1982
+ "type": "boolean"
1983
+ },
1984
+ "no-retry": {
1985
+ "description": "Disable automatic retry on rate limits and 5xx errors",
1986
+ "helpGroup": "GLOBAL",
1987
+ "name": "no-retry",
1988
+ "allowNo": false,
1989
+ "type": "boolean"
1990
+ },
1991
+ "timeout": {
1992
+ "description": "Request timeout in milliseconds",
1993
+ "helpGroup": "GLOBAL",
1994
+ "name": "timeout",
1995
+ "hasDynamicHelp": false,
1996
+ "multiple": false,
1997
+ "type": "option"
1998
+ },
1999
+ "limit": {
2000
+ "description": "Maximum number of items to return (lists)",
2001
+ "helpGroup": "GLOBAL",
2002
+ "name": "limit",
2003
+ "hasDynamicHelp": false,
2004
+ "multiple": false,
2005
+ "type": "option"
2006
+ }
2007
+ },
2008
+ "hasDynamicHelp": false,
2009
+ "hiddenAliases": [],
2010
+ "id": "profile:list",
2011
+ "pluginAlias": "@wavyx/pdcli",
2012
+ "pluginName": "@wavyx/pdcli",
2013
+ "pluginType": "core",
2014
+ "strict": true,
2015
+ "enableJsonFlag": false,
2016
+ "skipAuth": true,
2017
+ "isESM": true,
2018
+ "relativePath": [
2019
+ "src",
2020
+ "commands",
2021
+ "profile",
2022
+ "list.js"
2023
+ ]
2024
+ },
2025
+ "profile:use": {
2026
+ "aliases": [],
2027
+ "args": {
2028
+ "name": {
2029
+ "description": "Profile name to activate",
2030
+ "name": "name",
2031
+ "required": true
2032
+ }
2033
+ },
2034
+ "description": "Switch the active profile",
2035
+ "examples": [
2036
+ "<%= config.bin %> profile use work"
2037
+ ],
2038
+ "flags": {
2039
+ "output": {
2040
+ "char": "o",
2041
+ "description": "Output format",
2042
+ "helpGroup": "GLOBAL",
2043
+ "name": "output",
2044
+ "hasDynamicHelp": false,
2045
+ "multiple": false,
2046
+ "options": [
2047
+ "table",
2048
+ "json"
2049
+ ],
2050
+ "type": "option"
2051
+ },
2052
+ "profile": {
2053
+ "description": "Named auth profile to use",
2054
+ "env": "PDCLI_PROFILE",
2055
+ "helpGroup": "GLOBAL",
2056
+ "name": "profile",
2057
+ "hasDynamicHelp": false,
2058
+ "multiple": false,
2059
+ "type": "option"
2060
+ },
2061
+ "no-color": {
2062
+ "description": "Disable color output",
2063
+ "helpGroup": "GLOBAL",
2064
+ "name": "no-color",
2065
+ "allowNo": false,
2066
+ "type": "boolean"
2067
+ },
2068
+ "verbose": {
2069
+ "description": "Show detailed API request/response on errors",
2070
+ "helpGroup": "GLOBAL",
2071
+ "name": "verbose",
2072
+ "allowNo": false,
2073
+ "type": "boolean"
2074
+ },
2075
+ "no-retry": {
2076
+ "description": "Disable automatic retry on rate limits and 5xx errors",
2077
+ "helpGroup": "GLOBAL",
2078
+ "name": "no-retry",
2079
+ "allowNo": false,
2080
+ "type": "boolean"
2081
+ },
2082
+ "timeout": {
2083
+ "description": "Request timeout in milliseconds",
2084
+ "helpGroup": "GLOBAL",
2085
+ "name": "timeout",
2086
+ "hasDynamicHelp": false,
2087
+ "multiple": false,
2088
+ "type": "option"
2089
+ },
2090
+ "limit": {
2091
+ "description": "Maximum number of items to return (lists)",
2092
+ "helpGroup": "GLOBAL",
2093
+ "name": "limit",
2094
+ "hasDynamicHelp": false,
2095
+ "multiple": false,
2096
+ "type": "option"
2097
+ }
2098
+ },
2099
+ "hasDynamicHelp": false,
2100
+ "hiddenAliases": [],
2101
+ "id": "profile:use",
2102
+ "pluginAlias": "@wavyx/pdcli",
2103
+ "pluginName": "@wavyx/pdcli",
2104
+ "pluginType": "core",
2105
+ "strict": true,
2106
+ "enableJsonFlag": false,
2107
+ "skipAuth": true,
2108
+ "isESM": true,
2109
+ "relativePath": [
2110
+ "src",
2111
+ "commands",
2112
+ "profile",
2113
+ "use.js"
2114
+ ]
2115
+ },
2116
+ "person:get": {
2117
+ "aliases": [],
2118
+ "args": {
2119
+ "id": {
2120
+ "description": "Person ID",
2121
+ "name": "id",
2122
+ "required": true
2123
+ }
2124
+ },
2125
+ "description": "Get a person by ID",
2126
+ "examples": [
2127
+ "<%= config.bin %> person get 5",
2128
+ "<%= config.bin %> person get 5 --output json"
2129
+ ],
2130
+ "flags": {
2131
+ "output": {
2132
+ "char": "o",
2133
+ "description": "Output format",
2134
+ "helpGroup": "GLOBAL",
2135
+ "name": "output",
2136
+ "hasDynamicHelp": false,
2137
+ "multiple": false,
2138
+ "options": [
2139
+ "table",
2140
+ "json"
2141
+ ],
2142
+ "type": "option"
2143
+ },
2144
+ "profile": {
2145
+ "description": "Named auth profile to use",
2146
+ "env": "PDCLI_PROFILE",
2147
+ "helpGroup": "GLOBAL",
2148
+ "name": "profile",
2149
+ "hasDynamicHelp": false,
2150
+ "multiple": false,
2151
+ "type": "option"
2152
+ },
2153
+ "no-color": {
2154
+ "description": "Disable color output",
2155
+ "helpGroup": "GLOBAL",
2156
+ "name": "no-color",
2157
+ "allowNo": false,
2158
+ "type": "boolean"
2159
+ },
2160
+ "verbose": {
2161
+ "description": "Show detailed API request/response on errors",
2162
+ "helpGroup": "GLOBAL",
2163
+ "name": "verbose",
2164
+ "allowNo": false,
2165
+ "type": "boolean"
2166
+ },
2167
+ "no-retry": {
2168
+ "description": "Disable automatic retry on rate limits and 5xx errors",
2169
+ "helpGroup": "GLOBAL",
2170
+ "name": "no-retry",
2171
+ "allowNo": false,
2172
+ "type": "boolean"
2173
+ },
2174
+ "timeout": {
2175
+ "description": "Request timeout in milliseconds",
2176
+ "helpGroup": "GLOBAL",
2177
+ "name": "timeout",
2178
+ "hasDynamicHelp": false,
2179
+ "multiple": false,
2180
+ "type": "option"
2181
+ },
2182
+ "limit": {
2183
+ "description": "Maximum number of items to return (lists)",
2184
+ "helpGroup": "GLOBAL",
2185
+ "name": "limit",
2186
+ "hasDynamicHelp": false,
2187
+ "multiple": false,
2188
+ "type": "option"
2189
+ }
2190
+ },
2191
+ "hasDynamicHelp": false,
2192
+ "hiddenAliases": [],
2193
+ "id": "person:get",
2194
+ "pluginAlias": "@wavyx/pdcli",
2195
+ "pluginName": "@wavyx/pdcli",
2196
+ "pluginType": "core",
2197
+ "strict": true,
2198
+ "enableJsonFlag": false,
2199
+ "isESM": true,
2200
+ "relativePath": [
2201
+ "src",
2202
+ "commands",
2203
+ "person",
2204
+ "get.js"
2205
+ ]
2206
+ },
2207
+ "person:list": {
2208
+ "aliases": [],
2209
+ "args": {},
2210
+ "description": "List persons (contacts)",
2211
+ "examples": [
2212
+ "<%= config.bin %> person list",
2213
+ "<%= config.bin %> person list --org 7 --output json"
2214
+ ],
2215
+ "flags": {
2216
+ "output": {
2217
+ "char": "o",
2218
+ "description": "Output format",
2219
+ "helpGroup": "GLOBAL",
2220
+ "name": "output",
2221
+ "hasDynamicHelp": false,
2222
+ "multiple": false,
2223
+ "options": [
2224
+ "table",
2225
+ "json"
2226
+ ],
2227
+ "type": "option"
2228
+ },
2229
+ "profile": {
2230
+ "description": "Named auth profile to use",
2231
+ "env": "PDCLI_PROFILE",
2232
+ "helpGroup": "GLOBAL",
2233
+ "name": "profile",
2234
+ "hasDynamicHelp": false,
2235
+ "multiple": false,
2236
+ "type": "option"
2237
+ },
2238
+ "no-color": {
2239
+ "description": "Disable color output",
2240
+ "helpGroup": "GLOBAL",
2241
+ "name": "no-color",
2242
+ "allowNo": false,
2243
+ "type": "boolean"
2244
+ },
2245
+ "verbose": {
2246
+ "description": "Show detailed API request/response on errors",
2247
+ "helpGroup": "GLOBAL",
2248
+ "name": "verbose",
2249
+ "allowNo": false,
2250
+ "type": "boolean"
2251
+ },
2252
+ "no-retry": {
2253
+ "description": "Disable automatic retry on rate limits and 5xx errors",
2254
+ "helpGroup": "GLOBAL",
2255
+ "name": "no-retry",
2256
+ "allowNo": false,
2257
+ "type": "boolean"
2258
+ },
2259
+ "timeout": {
2260
+ "description": "Request timeout in milliseconds",
2261
+ "helpGroup": "GLOBAL",
2262
+ "name": "timeout",
2263
+ "hasDynamicHelp": false,
2264
+ "multiple": false,
2265
+ "type": "option"
2266
+ },
2267
+ "limit": {
2268
+ "description": "Maximum number of items to return (lists)",
2269
+ "helpGroup": "GLOBAL",
2270
+ "name": "limit",
2271
+ "hasDynamicHelp": false,
2272
+ "multiple": false,
2273
+ "type": "option"
2274
+ },
2275
+ "owner": {
2276
+ "description": "Filter by owner (user) ID",
2277
+ "name": "owner",
2278
+ "hasDynamicHelp": false,
2279
+ "multiple": false,
2280
+ "type": "option"
2281
+ },
2282
+ "org": {
2283
+ "description": "Filter by organization ID",
2284
+ "name": "org",
2285
+ "hasDynamicHelp": false,
2286
+ "multiple": false,
2287
+ "type": "option"
2288
+ }
2289
+ },
2290
+ "hasDynamicHelp": false,
2291
+ "hiddenAliases": [],
2292
+ "id": "person:list",
2293
+ "pluginAlias": "@wavyx/pdcli",
2294
+ "pluginName": "@wavyx/pdcli",
2295
+ "pluginType": "core",
2296
+ "strict": true,
2297
+ "enableJsonFlag": false,
2298
+ "isESM": true,
2299
+ "relativePath": [
2300
+ "src",
2301
+ "commands",
2302
+ "person",
2303
+ "list.js"
2304
+ ]
2305
+ }
2306
+ },
2307
+ "version": "0.1.0"
2308
+ }