@wavyx/pdcli 0.4.0 → 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.
- package/CHANGELOG.md +17 -0
- package/README.md +10 -0
- package/oclif.manifest.json +503 -35
- package/package.json +1 -1
- package/src/commands/audit.js +137 -0
- package/src/commands/funnel.js +92 -0
- package/src/commands/metrics/velocity.js +81 -0
- package/src/commands/pipeline/health.js +78 -0
- package/src/lib/analytics.js +154 -0
- package/src/lib/audit.js +228 -0
- package/src/lib/period.js +33 -0
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,23 @@ All notable changes to `pdcli` are documented here. Format follows
|
|
|
4
4
|
[Keep a Changelog](https://keepachangelog.com/); versions follow
|
|
5
5
|
[SemVer](https://semver.org/).
|
|
6
6
|
|
|
7
|
+
## [0.5.0] - 2026-06-04
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- `metrics velocity` — the Sales Velocity Equation ((open × win rate ×
|
|
12
|
+
avg won value) / cycle days) with all four levers, over a trailing
|
|
13
|
+
`--period` and optional `--pipeline`/`--owner` scope.
|
|
14
|
+
- `funnel` — stage-to-stage conversion approximated from closed deals'
|
|
15
|
+
final stages, plus the current open distribution per stage.
|
|
16
|
+
- `pipeline health` — per-stage snapshot: open count/value,
|
|
17
|
+
probability-weighted value, stale deals (>14d), deals without a next
|
|
18
|
+
step, deals past their close date.
|
|
19
|
+
- `audit` — 11 data-hygiene checks (stale/ancient deals, missing fields,
|
|
20
|
+
duplicate persons by email, duplicate orgs by name, uncontactable
|
|
21
|
+
contacts, overdue pileups, …) with `--checks`, `--verbose`, and
|
|
22
|
+
`--strict` (exit 1 on must-severity findings — CI-able).
|
|
23
|
+
|
|
7
24
|
## [0.4.0] - 2026-06-04
|
|
8
25
|
|
|
9
26
|
### Added
|
package/README.md
CHANGED
|
@@ -69,6 +69,16 @@ pdcli person import people.csv --dry-run # CSV headers map to fiel
|
|
|
69
69
|
pdcli person import people.csv # custom fields by name
|
|
70
70
|
```
|
|
71
71
|
|
|
72
|
+
## Analytics & housekeeping
|
|
73
|
+
|
|
74
|
+
```bash
|
|
75
|
+
pdcli metrics velocity --period 90d # the Sales Velocity Equation, in your terminal
|
|
76
|
+
pdcli funnel --pipeline 1 # stage-to-stage conversion
|
|
77
|
+
pdcli pipeline health # per-stage value, weighted value, stale, no-next-step
|
|
78
|
+
pdcli audit # 11 data-hygiene checks (duplicates, stale, gaps)
|
|
79
|
+
pdcli audit --strict # exit 1 on must-severity findings — wire into CI
|
|
80
|
+
```
|
|
81
|
+
|
|
72
82
|
## Files, webhooks, backup
|
|
73
83
|
|
|
74
84
|
```bash
|
package/oclif.manifest.json
CHANGED
|
@@ -129,6 +129,122 @@
|
|
|
129
129
|
"api.js"
|
|
130
130
|
]
|
|
131
131
|
},
|
|
132
|
+
"audit": {
|
|
133
|
+
"aliases": [],
|
|
134
|
+
"args": {},
|
|
135
|
+
"description": "Data-quality audit: stale deals, missing fields, duplicates, overdue pileups",
|
|
136
|
+
"examples": [
|
|
137
|
+
"<%= config.bin %> audit",
|
|
138
|
+
"<%= config.bin %> audit --checks stale-deals,duplicate-persons --verbose",
|
|
139
|
+
"<%= config.bin %> audit --strict # exit 1 on must-severity findings (CI)"
|
|
140
|
+
],
|
|
141
|
+
"flags": {
|
|
142
|
+
"output": {
|
|
143
|
+
"char": "o",
|
|
144
|
+
"description": "Output format",
|
|
145
|
+
"helpGroup": "GLOBAL",
|
|
146
|
+
"name": "output",
|
|
147
|
+
"hasDynamicHelp": false,
|
|
148
|
+
"multiple": false,
|
|
149
|
+
"options": [
|
|
150
|
+
"table",
|
|
151
|
+
"json",
|
|
152
|
+
"yaml",
|
|
153
|
+
"csv"
|
|
154
|
+
],
|
|
155
|
+
"type": "option"
|
|
156
|
+
},
|
|
157
|
+
"jq": {
|
|
158
|
+
"description": "jq expression to filter JSON output",
|
|
159
|
+
"helpGroup": "GLOBAL",
|
|
160
|
+
"name": "jq",
|
|
161
|
+
"hasDynamicHelp": false,
|
|
162
|
+
"multiple": false,
|
|
163
|
+
"type": "option"
|
|
164
|
+
},
|
|
165
|
+
"fields": {
|
|
166
|
+
"description": "Comma-separated fields to display",
|
|
167
|
+
"helpGroup": "GLOBAL",
|
|
168
|
+
"name": "fields",
|
|
169
|
+
"hasDynamicHelp": false,
|
|
170
|
+
"multiple": false,
|
|
171
|
+
"type": "option"
|
|
172
|
+
},
|
|
173
|
+
"profile": {
|
|
174
|
+
"description": "Named auth profile to use",
|
|
175
|
+
"env": "PDCLI_PROFILE",
|
|
176
|
+
"helpGroup": "GLOBAL",
|
|
177
|
+
"name": "profile",
|
|
178
|
+
"hasDynamicHelp": false,
|
|
179
|
+
"multiple": false,
|
|
180
|
+
"type": "option"
|
|
181
|
+
},
|
|
182
|
+
"no-color": {
|
|
183
|
+
"description": "Disable color output",
|
|
184
|
+
"helpGroup": "GLOBAL",
|
|
185
|
+
"name": "no-color",
|
|
186
|
+
"allowNo": false,
|
|
187
|
+
"type": "boolean"
|
|
188
|
+
},
|
|
189
|
+
"verbose": {
|
|
190
|
+
"description": "Show detailed API request/response on errors",
|
|
191
|
+
"helpGroup": "GLOBAL",
|
|
192
|
+
"name": "verbose",
|
|
193
|
+
"allowNo": false,
|
|
194
|
+
"type": "boolean"
|
|
195
|
+
},
|
|
196
|
+
"no-retry": {
|
|
197
|
+
"description": "Disable automatic retry on rate limits and 5xx errors",
|
|
198
|
+
"helpGroup": "GLOBAL",
|
|
199
|
+
"name": "no-retry",
|
|
200
|
+
"allowNo": false,
|
|
201
|
+
"type": "boolean"
|
|
202
|
+
},
|
|
203
|
+
"timeout": {
|
|
204
|
+
"description": "Request timeout in milliseconds",
|
|
205
|
+
"helpGroup": "GLOBAL",
|
|
206
|
+
"name": "timeout",
|
|
207
|
+
"hasDynamicHelp": false,
|
|
208
|
+
"multiple": false,
|
|
209
|
+
"type": "option"
|
|
210
|
+
},
|
|
211
|
+
"limit": {
|
|
212
|
+
"description": "Maximum number of items to return (lists)",
|
|
213
|
+
"helpGroup": "GLOBAL",
|
|
214
|
+
"name": "limit",
|
|
215
|
+
"hasDynamicHelp": false,
|
|
216
|
+
"multiple": false,
|
|
217
|
+
"type": "option"
|
|
218
|
+
},
|
|
219
|
+
"checks": {
|
|
220
|
+
"description": "Comma-separated subset of checks (stale-deals, no-next-activity, past-close-date, missing-fields, ancient-deals, missing-close-time, duplicate-persons, uncontactable-persons, duplicate-orgs, overdue-activities, currency-missing)",
|
|
221
|
+
"name": "checks",
|
|
222
|
+
"hasDynamicHelp": false,
|
|
223
|
+
"multiple": false,
|
|
224
|
+
"type": "option"
|
|
225
|
+
},
|
|
226
|
+
"strict": {
|
|
227
|
+
"description": "Exit 1 when any must-severity check has findings",
|
|
228
|
+
"name": "strict",
|
|
229
|
+
"allowNo": false,
|
|
230
|
+
"type": "boolean"
|
|
231
|
+
}
|
|
232
|
+
},
|
|
233
|
+
"hasDynamicHelp": false,
|
|
234
|
+
"hiddenAliases": [],
|
|
235
|
+
"id": "audit",
|
|
236
|
+
"pluginAlias": "@wavyx/pdcli",
|
|
237
|
+
"pluginName": "@wavyx/pdcli",
|
|
238
|
+
"pluginType": "core",
|
|
239
|
+
"strict": true,
|
|
240
|
+
"enableJsonFlag": false,
|
|
241
|
+
"isESM": true,
|
|
242
|
+
"relativePath": [
|
|
243
|
+
"src",
|
|
244
|
+
"commands",
|
|
245
|
+
"audit.js"
|
|
246
|
+
]
|
|
247
|
+
},
|
|
132
248
|
"backup": {
|
|
133
249
|
"aliases": [],
|
|
134
250
|
"args": {},
|
|
@@ -348,6 +464,123 @@
|
|
|
348
464
|
"doctor.js"
|
|
349
465
|
]
|
|
350
466
|
},
|
|
467
|
+
"funnel": {
|
|
468
|
+
"aliases": [],
|
|
469
|
+
"args": {},
|
|
470
|
+
"description": "Stage-to-stage conversion approximated from closed deals (final stage reached)",
|
|
471
|
+
"examples": [
|
|
472
|
+
"<%= config.bin %> funnel",
|
|
473
|
+
"<%= config.bin %> funnel --pipeline 1 --period 180d"
|
|
474
|
+
],
|
|
475
|
+
"flags": {
|
|
476
|
+
"output": {
|
|
477
|
+
"char": "o",
|
|
478
|
+
"description": "Output format",
|
|
479
|
+
"helpGroup": "GLOBAL",
|
|
480
|
+
"name": "output",
|
|
481
|
+
"hasDynamicHelp": false,
|
|
482
|
+
"multiple": false,
|
|
483
|
+
"options": [
|
|
484
|
+
"table",
|
|
485
|
+
"json",
|
|
486
|
+
"yaml",
|
|
487
|
+
"csv"
|
|
488
|
+
],
|
|
489
|
+
"type": "option"
|
|
490
|
+
},
|
|
491
|
+
"jq": {
|
|
492
|
+
"description": "jq expression to filter JSON output",
|
|
493
|
+
"helpGroup": "GLOBAL",
|
|
494
|
+
"name": "jq",
|
|
495
|
+
"hasDynamicHelp": false,
|
|
496
|
+
"multiple": false,
|
|
497
|
+
"type": "option"
|
|
498
|
+
},
|
|
499
|
+
"fields": {
|
|
500
|
+
"description": "Comma-separated fields to display",
|
|
501
|
+
"helpGroup": "GLOBAL",
|
|
502
|
+
"name": "fields",
|
|
503
|
+
"hasDynamicHelp": false,
|
|
504
|
+
"multiple": false,
|
|
505
|
+
"type": "option"
|
|
506
|
+
},
|
|
507
|
+
"profile": {
|
|
508
|
+
"description": "Named auth profile to use",
|
|
509
|
+
"env": "PDCLI_PROFILE",
|
|
510
|
+
"helpGroup": "GLOBAL",
|
|
511
|
+
"name": "profile",
|
|
512
|
+
"hasDynamicHelp": false,
|
|
513
|
+
"multiple": false,
|
|
514
|
+
"type": "option"
|
|
515
|
+
},
|
|
516
|
+
"no-color": {
|
|
517
|
+
"description": "Disable color output",
|
|
518
|
+
"helpGroup": "GLOBAL",
|
|
519
|
+
"name": "no-color",
|
|
520
|
+
"allowNo": false,
|
|
521
|
+
"type": "boolean"
|
|
522
|
+
},
|
|
523
|
+
"verbose": {
|
|
524
|
+
"description": "Show detailed API request/response on errors",
|
|
525
|
+
"helpGroup": "GLOBAL",
|
|
526
|
+
"name": "verbose",
|
|
527
|
+
"allowNo": false,
|
|
528
|
+
"type": "boolean"
|
|
529
|
+
},
|
|
530
|
+
"no-retry": {
|
|
531
|
+
"description": "Disable automatic retry on rate limits and 5xx errors",
|
|
532
|
+
"helpGroup": "GLOBAL",
|
|
533
|
+
"name": "no-retry",
|
|
534
|
+
"allowNo": false,
|
|
535
|
+
"type": "boolean"
|
|
536
|
+
},
|
|
537
|
+
"timeout": {
|
|
538
|
+
"description": "Request timeout in milliseconds",
|
|
539
|
+
"helpGroup": "GLOBAL",
|
|
540
|
+
"name": "timeout",
|
|
541
|
+
"hasDynamicHelp": false,
|
|
542
|
+
"multiple": false,
|
|
543
|
+
"type": "option"
|
|
544
|
+
},
|
|
545
|
+
"limit": {
|
|
546
|
+
"description": "Maximum number of items to return (lists)",
|
|
547
|
+
"helpGroup": "GLOBAL",
|
|
548
|
+
"name": "limit",
|
|
549
|
+
"hasDynamicHelp": false,
|
|
550
|
+
"multiple": false,
|
|
551
|
+
"type": "option"
|
|
552
|
+
},
|
|
553
|
+
"period": {
|
|
554
|
+
"description": "Trailing window for closed deals (Nd or Nm)",
|
|
555
|
+
"name": "period",
|
|
556
|
+
"default": "90d",
|
|
557
|
+
"hasDynamicHelp": false,
|
|
558
|
+
"multiple": false,
|
|
559
|
+
"type": "option"
|
|
560
|
+
},
|
|
561
|
+
"pipeline": {
|
|
562
|
+
"description": "Pipeline ID (required when the account has several)",
|
|
563
|
+
"name": "pipeline",
|
|
564
|
+
"hasDynamicHelp": false,
|
|
565
|
+
"multiple": false,
|
|
566
|
+
"type": "option"
|
|
567
|
+
}
|
|
568
|
+
},
|
|
569
|
+
"hasDynamicHelp": false,
|
|
570
|
+
"hiddenAliases": [],
|
|
571
|
+
"id": "funnel",
|
|
572
|
+
"pluginAlias": "@wavyx/pdcli",
|
|
573
|
+
"pluginName": "@wavyx/pdcli",
|
|
574
|
+
"pluginType": "core",
|
|
575
|
+
"strict": true,
|
|
576
|
+
"enableJsonFlag": false,
|
|
577
|
+
"isESM": true,
|
|
578
|
+
"relativePath": [
|
|
579
|
+
"src",
|
|
580
|
+
"commands",
|
|
581
|
+
"funnel.js"
|
|
582
|
+
]
|
|
583
|
+
},
|
|
351
584
|
"search": {
|
|
352
585
|
"aliases": [],
|
|
353
586
|
"args": {
|
|
@@ -4750,6 +4983,131 @@
|
|
|
4750
4983
|
"update.js"
|
|
4751
4984
|
]
|
|
4752
4985
|
},
|
|
4986
|
+
"metrics:velocity": {
|
|
4987
|
+
"aliases": [],
|
|
4988
|
+
"args": {},
|
|
4989
|
+
"description": "Sales Velocity Equation: (open × win rate × avg won value) / cycle days",
|
|
4990
|
+
"examples": [
|
|
4991
|
+
"<%= config.bin %> metrics velocity",
|
|
4992
|
+
"<%= config.bin %> metrics velocity --period 30d --pipeline 1"
|
|
4993
|
+
],
|
|
4994
|
+
"flags": {
|
|
4995
|
+
"output": {
|
|
4996
|
+
"char": "o",
|
|
4997
|
+
"description": "Output format",
|
|
4998
|
+
"helpGroup": "GLOBAL",
|
|
4999
|
+
"name": "output",
|
|
5000
|
+
"hasDynamicHelp": false,
|
|
5001
|
+
"multiple": false,
|
|
5002
|
+
"options": [
|
|
5003
|
+
"table",
|
|
5004
|
+
"json",
|
|
5005
|
+
"yaml",
|
|
5006
|
+
"csv"
|
|
5007
|
+
],
|
|
5008
|
+
"type": "option"
|
|
5009
|
+
},
|
|
5010
|
+
"jq": {
|
|
5011
|
+
"description": "jq expression to filter JSON output",
|
|
5012
|
+
"helpGroup": "GLOBAL",
|
|
5013
|
+
"name": "jq",
|
|
5014
|
+
"hasDynamicHelp": false,
|
|
5015
|
+
"multiple": false,
|
|
5016
|
+
"type": "option"
|
|
5017
|
+
},
|
|
5018
|
+
"fields": {
|
|
5019
|
+
"description": "Comma-separated fields to display",
|
|
5020
|
+
"helpGroup": "GLOBAL",
|
|
5021
|
+
"name": "fields",
|
|
5022
|
+
"hasDynamicHelp": false,
|
|
5023
|
+
"multiple": false,
|
|
5024
|
+
"type": "option"
|
|
5025
|
+
},
|
|
5026
|
+
"profile": {
|
|
5027
|
+
"description": "Named auth profile to use",
|
|
5028
|
+
"env": "PDCLI_PROFILE",
|
|
5029
|
+
"helpGroup": "GLOBAL",
|
|
5030
|
+
"name": "profile",
|
|
5031
|
+
"hasDynamicHelp": false,
|
|
5032
|
+
"multiple": false,
|
|
5033
|
+
"type": "option"
|
|
5034
|
+
},
|
|
5035
|
+
"no-color": {
|
|
5036
|
+
"description": "Disable color output",
|
|
5037
|
+
"helpGroup": "GLOBAL",
|
|
5038
|
+
"name": "no-color",
|
|
5039
|
+
"allowNo": false,
|
|
5040
|
+
"type": "boolean"
|
|
5041
|
+
},
|
|
5042
|
+
"verbose": {
|
|
5043
|
+
"description": "Show detailed API request/response on errors",
|
|
5044
|
+
"helpGroup": "GLOBAL",
|
|
5045
|
+
"name": "verbose",
|
|
5046
|
+
"allowNo": false,
|
|
5047
|
+
"type": "boolean"
|
|
5048
|
+
},
|
|
5049
|
+
"no-retry": {
|
|
5050
|
+
"description": "Disable automatic retry on rate limits and 5xx errors",
|
|
5051
|
+
"helpGroup": "GLOBAL",
|
|
5052
|
+
"name": "no-retry",
|
|
5053
|
+
"allowNo": false,
|
|
5054
|
+
"type": "boolean"
|
|
5055
|
+
},
|
|
5056
|
+
"timeout": {
|
|
5057
|
+
"description": "Request timeout in milliseconds",
|
|
5058
|
+
"helpGroup": "GLOBAL",
|
|
5059
|
+
"name": "timeout",
|
|
5060
|
+
"hasDynamicHelp": false,
|
|
5061
|
+
"multiple": false,
|
|
5062
|
+
"type": "option"
|
|
5063
|
+
},
|
|
5064
|
+
"limit": {
|
|
5065
|
+
"description": "Maximum number of items to return (lists)",
|
|
5066
|
+
"helpGroup": "GLOBAL",
|
|
5067
|
+
"name": "limit",
|
|
5068
|
+
"hasDynamicHelp": false,
|
|
5069
|
+
"multiple": false,
|
|
5070
|
+
"type": "option"
|
|
5071
|
+
},
|
|
5072
|
+
"period": {
|
|
5073
|
+
"description": "Trailing window for closed deals (Nd or Nm)",
|
|
5074
|
+
"name": "period",
|
|
5075
|
+
"default": "90d",
|
|
5076
|
+
"hasDynamicHelp": false,
|
|
5077
|
+
"multiple": false,
|
|
5078
|
+
"type": "option"
|
|
5079
|
+
},
|
|
5080
|
+
"pipeline": {
|
|
5081
|
+
"description": "Restrict to a pipeline ID",
|
|
5082
|
+
"name": "pipeline",
|
|
5083
|
+
"hasDynamicHelp": false,
|
|
5084
|
+
"multiple": false,
|
|
5085
|
+
"type": "option"
|
|
5086
|
+
},
|
|
5087
|
+
"owner": {
|
|
5088
|
+
"description": "Restrict to an owner (user) ID",
|
|
5089
|
+
"name": "owner",
|
|
5090
|
+
"hasDynamicHelp": false,
|
|
5091
|
+
"multiple": false,
|
|
5092
|
+
"type": "option"
|
|
5093
|
+
}
|
|
5094
|
+
},
|
|
5095
|
+
"hasDynamicHelp": false,
|
|
5096
|
+
"hiddenAliases": [],
|
|
5097
|
+
"id": "metrics:velocity",
|
|
5098
|
+
"pluginAlias": "@wavyx/pdcli",
|
|
5099
|
+
"pluginName": "@wavyx/pdcli",
|
|
5100
|
+
"pluginType": "core",
|
|
5101
|
+
"strict": true,
|
|
5102
|
+
"enableJsonFlag": false,
|
|
5103
|
+
"isESM": true,
|
|
5104
|
+
"relativePath": [
|
|
5105
|
+
"src",
|
|
5106
|
+
"commands",
|
|
5107
|
+
"metrics",
|
|
5108
|
+
"velocity.js"
|
|
5109
|
+
]
|
|
5110
|
+
},
|
|
4753
5111
|
"note:create": {
|
|
4754
5112
|
"aliases": [],
|
|
4755
5113
|
"args": {},
|
|
@@ -6983,6 +7341,116 @@
|
|
|
6983
7341
|
"get.js"
|
|
6984
7342
|
]
|
|
6985
7343
|
},
|
|
7344
|
+
"pipeline:health": {
|
|
7345
|
+
"aliases": [],
|
|
7346
|
+
"args": {},
|
|
7347
|
+
"description": "Per-stage pipeline health: value, weighted value, stale deals, missing next steps",
|
|
7348
|
+
"examples": [
|
|
7349
|
+
"<%= config.bin %> pipeline health",
|
|
7350
|
+
"<%= config.bin %> pipeline health --pipeline 1"
|
|
7351
|
+
],
|
|
7352
|
+
"flags": {
|
|
7353
|
+
"output": {
|
|
7354
|
+
"char": "o",
|
|
7355
|
+
"description": "Output format",
|
|
7356
|
+
"helpGroup": "GLOBAL",
|
|
7357
|
+
"name": "output",
|
|
7358
|
+
"hasDynamicHelp": false,
|
|
7359
|
+
"multiple": false,
|
|
7360
|
+
"options": [
|
|
7361
|
+
"table",
|
|
7362
|
+
"json",
|
|
7363
|
+
"yaml",
|
|
7364
|
+
"csv"
|
|
7365
|
+
],
|
|
7366
|
+
"type": "option"
|
|
7367
|
+
},
|
|
7368
|
+
"jq": {
|
|
7369
|
+
"description": "jq expression to filter JSON output",
|
|
7370
|
+
"helpGroup": "GLOBAL",
|
|
7371
|
+
"name": "jq",
|
|
7372
|
+
"hasDynamicHelp": false,
|
|
7373
|
+
"multiple": false,
|
|
7374
|
+
"type": "option"
|
|
7375
|
+
},
|
|
7376
|
+
"fields": {
|
|
7377
|
+
"description": "Comma-separated fields to display",
|
|
7378
|
+
"helpGroup": "GLOBAL",
|
|
7379
|
+
"name": "fields",
|
|
7380
|
+
"hasDynamicHelp": false,
|
|
7381
|
+
"multiple": false,
|
|
7382
|
+
"type": "option"
|
|
7383
|
+
},
|
|
7384
|
+
"profile": {
|
|
7385
|
+
"description": "Named auth profile to use",
|
|
7386
|
+
"env": "PDCLI_PROFILE",
|
|
7387
|
+
"helpGroup": "GLOBAL",
|
|
7388
|
+
"name": "profile",
|
|
7389
|
+
"hasDynamicHelp": false,
|
|
7390
|
+
"multiple": false,
|
|
7391
|
+
"type": "option"
|
|
7392
|
+
},
|
|
7393
|
+
"no-color": {
|
|
7394
|
+
"description": "Disable color output",
|
|
7395
|
+
"helpGroup": "GLOBAL",
|
|
7396
|
+
"name": "no-color",
|
|
7397
|
+
"allowNo": false,
|
|
7398
|
+
"type": "boolean"
|
|
7399
|
+
},
|
|
7400
|
+
"verbose": {
|
|
7401
|
+
"description": "Show detailed API request/response on errors",
|
|
7402
|
+
"helpGroup": "GLOBAL",
|
|
7403
|
+
"name": "verbose",
|
|
7404
|
+
"allowNo": false,
|
|
7405
|
+
"type": "boolean"
|
|
7406
|
+
},
|
|
7407
|
+
"no-retry": {
|
|
7408
|
+
"description": "Disable automatic retry on rate limits and 5xx errors",
|
|
7409
|
+
"helpGroup": "GLOBAL",
|
|
7410
|
+
"name": "no-retry",
|
|
7411
|
+
"allowNo": false,
|
|
7412
|
+
"type": "boolean"
|
|
7413
|
+
},
|
|
7414
|
+
"timeout": {
|
|
7415
|
+
"description": "Request timeout in milliseconds",
|
|
7416
|
+
"helpGroup": "GLOBAL",
|
|
7417
|
+
"name": "timeout",
|
|
7418
|
+
"hasDynamicHelp": false,
|
|
7419
|
+
"multiple": false,
|
|
7420
|
+
"type": "option"
|
|
7421
|
+
},
|
|
7422
|
+
"limit": {
|
|
7423
|
+
"description": "Maximum number of items to return (lists)",
|
|
7424
|
+
"helpGroup": "GLOBAL",
|
|
7425
|
+
"name": "limit",
|
|
7426
|
+
"hasDynamicHelp": false,
|
|
7427
|
+
"multiple": false,
|
|
7428
|
+
"type": "option"
|
|
7429
|
+
},
|
|
7430
|
+
"pipeline": {
|
|
7431
|
+
"description": "Pipeline ID (required when the account has several)",
|
|
7432
|
+
"name": "pipeline",
|
|
7433
|
+
"hasDynamicHelp": false,
|
|
7434
|
+
"multiple": false,
|
|
7435
|
+
"type": "option"
|
|
7436
|
+
}
|
|
7437
|
+
},
|
|
7438
|
+
"hasDynamicHelp": false,
|
|
7439
|
+
"hiddenAliases": [],
|
|
7440
|
+
"id": "pipeline:health",
|
|
7441
|
+
"pluginAlias": "@wavyx/pdcli",
|
|
7442
|
+
"pluginName": "@wavyx/pdcli",
|
|
7443
|
+
"pluginType": "core",
|
|
7444
|
+
"strict": true,
|
|
7445
|
+
"enableJsonFlag": false,
|
|
7446
|
+
"isESM": true,
|
|
7447
|
+
"relativePath": [
|
|
7448
|
+
"src",
|
|
7449
|
+
"commands",
|
|
7450
|
+
"pipeline",
|
|
7451
|
+
"health.js"
|
|
7452
|
+
]
|
|
7453
|
+
},
|
|
6986
7454
|
"pipeline:list": {
|
|
6987
7455
|
"aliases": [],
|
|
6988
7456
|
"args": {},
|
|
@@ -8758,12 +9226,19 @@
|
|
|
8758
9226
|
"update.js"
|
|
8759
9227
|
]
|
|
8760
9228
|
},
|
|
8761
|
-
"
|
|
9229
|
+
"stage:get": {
|
|
8762
9230
|
"aliases": [],
|
|
8763
|
-
"args": {
|
|
8764
|
-
|
|
9231
|
+
"args": {
|
|
9232
|
+
"id": {
|
|
9233
|
+
"description": "Stage ID",
|
|
9234
|
+
"name": "id",
|
|
9235
|
+
"required": true
|
|
9236
|
+
}
|
|
9237
|
+
},
|
|
9238
|
+
"description": "Get a stage by ID",
|
|
8765
9239
|
"examples": [
|
|
8766
|
-
"<%= config.bin %>
|
|
9240
|
+
"<%= config.bin %> stage get 5",
|
|
9241
|
+
"<%= config.bin %> stage get 5 --output json"
|
|
8767
9242
|
],
|
|
8768
9243
|
"flags": {
|
|
8769
9244
|
"output": {
|
|
@@ -8846,7 +9321,7 @@
|
|
|
8846
9321
|
},
|
|
8847
9322
|
"hasDynamicHelp": false,
|
|
8848
9323
|
"hiddenAliases": [],
|
|
8849
|
-
"id": "
|
|
9324
|
+
"id": "stage:get",
|
|
8850
9325
|
"pluginAlias": "@wavyx/pdcli",
|
|
8851
9326
|
"pluginName": "@wavyx/pdcli",
|
|
8852
9327
|
"pluginType": "core",
|
|
@@ -8856,23 +9331,17 @@
|
|
|
8856
9331
|
"relativePath": [
|
|
8857
9332
|
"src",
|
|
8858
9333
|
"commands",
|
|
8859
|
-
"
|
|
8860
|
-
"
|
|
9334
|
+
"stage",
|
|
9335
|
+
"get.js"
|
|
8861
9336
|
]
|
|
8862
9337
|
},
|
|
8863
|
-
"stage:
|
|
9338
|
+
"stage:list": {
|
|
8864
9339
|
"aliases": [],
|
|
8865
|
-
"args": {
|
|
8866
|
-
|
|
8867
|
-
"description": "Stage ID",
|
|
8868
|
-
"name": "id",
|
|
8869
|
-
"required": true
|
|
8870
|
-
}
|
|
8871
|
-
},
|
|
8872
|
-
"description": "Get a stage by ID",
|
|
9340
|
+
"args": {},
|
|
9341
|
+
"description": "List stages",
|
|
8873
9342
|
"examples": [
|
|
8874
|
-
"<%= config.bin %> stage
|
|
8875
|
-
"<%= config.bin %> stage
|
|
9343
|
+
"<%= config.bin %> stage list",
|
|
9344
|
+
"<%= config.bin %> stage list --pipeline 1 --output json"
|
|
8876
9345
|
],
|
|
8877
9346
|
"flags": {
|
|
8878
9347
|
"output": {
|
|
@@ -8951,11 +9420,18 @@
|
|
|
8951
9420
|
"hasDynamicHelp": false,
|
|
8952
9421
|
"multiple": false,
|
|
8953
9422
|
"type": "option"
|
|
9423
|
+
},
|
|
9424
|
+
"pipeline": {
|
|
9425
|
+
"description": "Filter by pipeline ID",
|
|
9426
|
+
"name": "pipeline",
|
|
9427
|
+
"hasDynamicHelp": false,
|
|
9428
|
+
"multiple": false,
|
|
9429
|
+
"type": "option"
|
|
8954
9430
|
}
|
|
8955
9431
|
},
|
|
8956
9432
|
"hasDynamicHelp": false,
|
|
8957
9433
|
"hiddenAliases": [],
|
|
8958
|
-
"id": "stage:
|
|
9434
|
+
"id": "stage:list",
|
|
8959
9435
|
"pluginAlias": "@wavyx/pdcli",
|
|
8960
9436
|
"pluginName": "@wavyx/pdcli",
|
|
8961
9437
|
"pluginType": "core",
|
|
@@ -8966,16 +9442,15 @@
|
|
|
8966
9442
|
"src",
|
|
8967
9443
|
"commands",
|
|
8968
9444
|
"stage",
|
|
8969
|
-
"
|
|
9445
|
+
"list.js"
|
|
8970
9446
|
]
|
|
8971
9447
|
},
|
|
8972
|
-
"
|
|
9448
|
+
"user:me": {
|
|
8973
9449
|
"aliases": [],
|
|
8974
9450
|
"args": {},
|
|
8975
|
-
"description": "
|
|
9451
|
+
"description": "Show the authenticated user",
|
|
8976
9452
|
"examples": [
|
|
8977
|
-
"<%= config.bin %>
|
|
8978
|
-
"<%= config.bin %> stage list --pipeline 1 --output json"
|
|
9453
|
+
"<%= config.bin %> user me"
|
|
8979
9454
|
],
|
|
8980
9455
|
"flags": {
|
|
8981
9456
|
"output": {
|
|
@@ -9054,18 +9529,11 @@
|
|
|
9054
9529
|
"hasDynamicHelp": false,
|
|
9055
9530
|
"multiple": false,
|
|
9056
9531
|
"type": "option"
|
|
9057
|
-
},
|
|
9058
|
-
"pipeline": {
|
|
9059
|
-
"description": "Filter by pipeline ID",
|
|
9060
|
-
"name": "pipeline",
|
|
9061
|
-
"hasDynamicHelp": false,
|
|
9062
|
-
"multiple": false,
|
|
9063
|
-
"type": "option"
|
|
9064
9532
|
}
|
|
9065
9533
|
},
|
|
9066
9534
|
"hasDynamicHelp": false,
|
|
9067
9535
|
"hiddenAliases": [],
|
|
9068
|
-
"id": "
|
|
9536
|
+
"id": "user:me",
|
|
9069
9537
|
"pluginAlias": "@wavyx/pdcli",
|
|
9070
9538
|
"pluginName": "@wavyx/pdcli",
|
|
9071
9539
|
"pluginType": "core",
|
|
@@ -9075,8 +9543,8 @@
|
|
|
9075
9543
|
"relativePath": [
|
|
9076
9544
|
"src",
|
|
9077
9545
|
"commands",
|
|
9078
|
-
"
|
|
9079
|
-
"
|
|
9546
|
+
"user",
|
|
9547
|
+
"me.js"
|
|
9080
9548
|
]
|
|
9081
9549
|
},
|
|
9082
9550
|
"webhook:create": {
|
|
@@ -9480,5 +9948,5 @@
|
|
|
9480
9948
|
]
|
|
9481
9949
|
}
|
|
9482
9950
|
},
|
|
9483
|
-
"version": "0.
|
|
9951
|
+
"version": "0.5.0"
|
|
9484
9952
|
}
|