@w6w/cli 0.9.9 → 0.9.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -1
- package/dist/mod.d.ts.map +1 -1
- package/dist/mod.js +3 -3
- package/dist/mod.js.map +1 -1
- package/dist/src/commands/apps.d.ts +12 -0
- package/dist/src/commands/apps.d.ts.map +1 -0
- package/dist/src/commands/apps.js +26 -0
- package/dist/src/commands/apps.js.map +1 -0
- package/dist/src/commands/connections.d.ts +9 -5
- package/dist/src/commands/connections.d.ts.map +1 -1
- package/dist/src/commands/connections.js +29 -6
- package/dist/src/commands/connections.js.map +1 -1
- package/dist/src/commands/dashboard.d.ts +11 -0
- package/dist/src/commands/dashboard.d.ts.map +1 -0
- package/dist/src/commands/dashboard.js +34 -0
- package/dist/src/commands/dashboard.js.map +1 -0
- package/dist/src/commands/functions.d.ts +6 -3
- package/dist/src/commands/functions.d.ts.map +1 -1
- package/dist/src/commands/functions.js +46 -4
- package/dist/src/commands/functions.js.map +1 -1
- package/dist/src/commands/index.d.ts +4 -0
- package/dist/src/commands/index.d.ts.map +1 -1
- package/dist/src/commands/index.js +12 -0
- package/dist/src/commands/index.js.map +1 -1
- package/dist/src/commands/named-run.d.ts.map +1 -1
- package/dist/src/commands/named-run.js +5 -1
- package/dist/src/commands/named-run.js.map +1 -1
- package/dist/src/commands/projects.d.ts +12 -0
- package/dist/src/commands/projects.d.ts.map +1 -0
- package/dist/src/commands/projects.js +24 -0
- package/dist/src/commands/projects.js.map +1 -0
- package/dist/src/commands/reliability.d.ts +14 -0
- package/dist/src/commands/reliability.d.ts.map +1 -0
- package/dist/src/commands/reliability.js +69 -0
- package/dist/src/commands/reliability.js.map +1 -0
- package/dist/src/commands/versions.d.ts +30 -0
- package/dist/src/commands/versions.d.ts.map +1 -0
- package/dist/src/commands/versions.js +100 -0
- package/dist/src/commands/versions.js.map +1 -0
- package/dist/src/commands/workflows.d.ts +2 -1
- package/dist/src/commands/workflows.d.ts.map +1 -1
- package/dist/src/commands/workflows.js +29 -2
- package/dist/src/commands/workflows.js.map +1 -1
- package/dist/src/help.generated.d.ts.map +1 -1
- package/dist/src/help.generated.js +1562 -499
- package/dist/src/help.generated.js.map +1 -1
- package/package.json +3 -2
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
/** The command tree, generated from the shared wrapper surface contract. */
|
|
18
18
|
export const HELP_TREE = {
|
|
19
19
|
"binary": "w6w",
|
|
20
|
-
"contractVersion": "0.
|
|
20
|
+
"contractVersion": "0.7.0",
|
|
21
21
|
"tagline": "command-line client for the w6w workflow platform",
|
|
22
22
|
"usage": "w6w <command> [options]",
|
|
23
23
|
"docsUrl": "https://w6w.dev/docs/cli",
|
|
@@ -111,8 +111,8 @@ export const HELP_TREE = {
|
|
|
111
111
|
"groups": [
|
|
112
112
|
{
|
|
113
113
|
"name": "connections",
|
|
114
|
-
"summary": "
|
|
115
|
-
"headline": "inspect connections",
|
|
114
|
+
"summary": "List, inspect and delete connections",
|
|
115
|
+
"headline": "list, inspect and delete connections",
|
|
116
116
|
"usage": "w6w connections <command> [options]",
|
|
117
117
|
"commands": [
|
|
118
118
|
{
|
|
@@ -144,6 +144,77 @@ export const HELP_TREE = {
|
|
|
144
144
|
],
|
|
145
145
|
"notes": [],
|
|
146
146
|
},
|
|
147
|
+
{
|
|
148
|
+
"operation": "connections.get",
|
|
149
|
+
"path": [
|
|
150
|
+
"connections",
|
|
151
|
+
"get",
|
|
152
|
+
],
|
|
153
|
+
"name": "get",
|
|
154
|
+
"aliases": [],
|
|
155
|
+
"summary": "Fetch one connection (credentials redacted).",
|
|
156
|
+
"short": "Fetch one connection (credentials redacted)",
|
|
157
|
+
"headline": "fetch one connection (credentials redacted)",
|
|
158
|
+
"usage": "w6w connections get <id> [options]",
|
|
159
|
+
"naming": "w6w connections get <id>",
|
|
160
|
+
"status": "required",
|
|
161
|
+
"params": [
|
|
162
|
+
{
|
|
163
|
+
"name": "id",
|
|
164
|
+
"kind": "argument",
|
|
165
|
+
"display": "<id>",
|
|
166
|
+
"description": "Connection id (see: w6w connections list)",
|
|
167
|
+
"required": true,
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"name": "json",
|
|
171
|
+
"kind": "flag",
|
|
172
|
+
"display": "--json",
|
|
173
|
+
"description": "Output raw JSON instead of a table",
|
|
174
|
+
"required": false,
|
|
175
|
+
},
|
|
176
|
+
],
|
|
177
|
+
"examples": [
|
|
178
|
+
"w6w connections get conn_01HQ8N",
|
|
179
|
+
"w6w connections get conn_01HQ8N --json",
|
|
180
|
+
],
|
|
181
|
+
"notes": [],
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"operation": "connections.delete",
|
|
185
|
+
"path": [
|
|
186
|
+
"connections",
|
|
187
|
+
"delete",
|
|
188
|
+
],
|
|
189
|
+
"name": "delete",
|
|
190
|
+
"aliases": [],
|
|
191
|
+
"summary": "Delete a connection.",
|
|
192
|
+
"short": "Delete a connection",
|
|
193
|
+
"headline": "delete a connection",
|
|
194
|
+
"usage": "w6w connections delete <id> [options]",
|
|
195
|
+
"naming": "w6w connections delete <id>",
|
|
196
|
+
"status": "required",
|
|
197
|
+
"params": [
|
|
198
|
+
{
|
|
199
|
+
"name": "id",
|
|
200
|
+
"kind": "argument",
|
|
201
|
+
"display": "<id>",
|
|
202
|
+
"description": "Connection id (see: w6w connections list)",
|
|
203
|
+
"required": true,
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"name": "json",
|
|
207
|
+
"kind": "flag",
|
|
208
|
+
"display": "--json",
|
|
209
|
+
"description": "Output raw JSON instead of a table",
|
|
210
|
+
"required": false,
|
|
211
|
+
},
|
|
212
|
+
],
|
|
213
|
+
"examples": [
|
|
214
|
+
"w6w connections delete conn_01HQ8N",
|
|
215
|
+
],
|
|
216
|
+
"notes": [],
|
|
217
|
+
},
|
|
147
218
|
],
|
|
148
219
|
"options": [],
|
|
149
220
|
"examples": [
|
|
@@ -222,24 +293,17 @@ export const HELP_TREE = {
|
|
|
222
293
|
"required": false,
|
|
223
294
|
},
|
|
224
295
|
{
|
|
225
|
-
"name": "
|
|
226
|
-
"kind": "flag",
|
|
227
|
-
"display": "--var <key=value>",
|
|
228
|
-
"description": "Set a run variable (repeatable)",
|
|
229
|
-
"required": false,
|
|
230
|
-
},
|
|
231
|
-
{
|
|
232
|
-
"name": "trigger",
|
|
296
|
+
"name": "input",
|
|
233
297
|
"kind": "flag",
|
|
234
|
-
"display": "--
|
|
235
|
-
"description": "
|
|
298
|
+
"display": "--input <json>",
|
|
299
|
+
"description": "Run input, as a JSON string",
|
|
236
300
|
"required": false,
|
|
237
301
|
},
|
|
238
302
|
{
|
|
239
|
-
"name": "
|
|
303
|
+
"name": "allowUnpublished",
|
|
240
304
|
"kind": "flag",
|
|
241
|
-
"display": "--
|
|
242
|
-
"description": "Run
|
|
305
|
+
"display": "--allow-unpublished",
|
|
306
|
+
"description": "Run the saved draft even if it was never published (sent only when given)",
|
|
243
307
|
"required": false,
|
|
244
308
|
},
|
|
245
309
|
{
|
|
@@ -251,13 +315,14 @@ export const HELP_TREE = {
|
|
|
251
315
|
},
|
|
252
316
|
],
|
|
253
317
|
"examples": [
|
|
254
|
-
"w6w workflows run wf_01HQ8N --
|
|
318
|
+
"w6w workflows run wf_01HQ8N --allow-unpublished --wait",
|
|
255
319
|
"w6w workflows run wf_01HQ8N --wait --json",
|
|
256
320
|
'w6w workflows run wf_01HQ8N --input \'{"email":"a@b.com"}\'',
|
|
257
321
|
],
|
|
258
322
|
"notes": [
|
|
259
323
|
'Without --wait the run is queued and the command returns immediately with a run id and status "queued". With --wait the CLI returns when the run finishes or the server\'s wait window expires — a run still in progress is reported as "running", which is not an error.',
|
|
260
324
|
'A run that finished with status "failed" exits 3, so --wait is usable in CI without parsing stdout.',
|
|
325
|
+
"--allow-unpublished runs the STORED draft even if it was never published (a disabled workflow is still refused). It runs the row as last saved, never a definition you pass here, so save first. It is sent only when given.",
|
|
261
326
|
],
|
|
262
327
|
},
|
|
263
328
|
{
|
|
@@ -502,40 +567,27 @@ export const HELP_TREE = {
|
|
|
502
567
|
],
|
|
503
568
|
"notes": [],
|
|
504
569
|
},
|
|
505
|
-
],
|
|
506
|
-
"options": [],
|
|
507
|
-
"examples": [
|
|
508
|
-
"w6w workflows list",
|
|
509
|
-
"w6w workflows run wf_01HQ8N --wait",
|
|
510
|
-
],
|
|
511
|
-
},
|
|
512
|
-
{
|
|
513
|
-
"name": "documents",
|
|
514
|
-
"summary": "Create, read, update and delete documents",
|
|
515
|
-
"headline": "create, read, update and delete documents",
|
|
516
|
-
"usage": "w6w documents <command> [options]",
|
|
517
|
-
"commands": [
|
|
518
570
|
{
|
|
519
|
-
"operation": "
|
|
571
|
+
"operation": "workflows.listVersions",
|
|
520
572
|
"path": [
|
|
521
|
-
"
|
|
522
|
-
"
|
|
573
|
+
"workflows",
|
|
574
|
+
"versions",
|
|
523
575
|
],
|
|
524
|
-
"name": "
|
|
576
|
+
"name": "versions",
|
|
525
577
|
"aliases": [],
|
|
526
|
-
"summary": "List
|
|
527
|
-
"short": "List
|
|
528
|
-
"headline": "list
|
|
529
|
-
"usage": "w6w
|
|
530
|
-
"naming": "w6w
|
|
578
|
+
"summary": "List a workflow's published versions.",
|
|
579
|
+
"short": "List a workflow's published versions",
|
|
580
|
+
"headline": "list a workflow's published versions",
|
|
581
|
+
"usage": "w6w workflows versions <id> [options]",
|
|
582
|
+
"naming": "w6w workflows versions <id>",
|
|
531
583
|
"status": "required",
|
|
532
584
|
"params": [
|
|
533
585
|
{
|
|
534
|
-
"name": "
|
|
535
|
-
"kind": "
|
|
536
|
-
"display": "
|
|
537
|
-
"description": "
|
|
538
|
-
"required":
|
|
586
|
+
"name": "id",
|
|
587
|
+
"kind": "argument",
|
|
588
|
+
"display": "<id>",
|
|
589
|
+
"description": "Workflow id (see: w6w workflows list)",
|
|
590
|
+
"required": true,
|
|
539
591
|
},
|
|
540
592
|
{
|
|
541
593
|
"name": "json",
|
|
@@ -546,39 +598,39 @@ export const HELP_TREE = {
|
|
|
546
598
|
},
|
|
547
599
|
],
|
|
548
600
|
"examples": [
|
|
549
|
-
"w6w
|
|
550
|
-
"w6w
|
|
601
|
+
"w6w workflows versions wf_01HQ8N",
|
|
602
|
+
"w6w workflows versions wf_01HQ8N --json",
|
|
551
603
|
],
|
|
552
604
|
"notes": [],
|
|
553
605
|
},
|
|
554
606
|
{
|
|
555
|
-
"operation": "
|
|
607
|
+
"operation": "workflows.getVersion",
|
|
556
608
|
"path": [
|
|
557
|
-
"
|
|
558
|
-
"
|
|
609
|
+
"workflows",
|
|
610
|
+
"version",
|
|
559
611
|
],
|
|
560
|
-
"name": "
|
|
612
|
+
"name": "version",
|
|
561
613
|
"aliases": [],
|
|
562
|
-
"summary": "
|
|
563
|
-
"short": "
|
|
564
|
-
"headline": "
|
|
565
|
-
"usage": "w6w
|
|
566
|
-
"naming": "w6w
|
|
614
|
+
"summary": "Read one published version of a workflow, with its definition.",
|
|
615
|
+
"short": "Read one published version of a workflow, with its definition",
|
|
616
|
+
"headline": "read one published version of a workflow, with its definition",
|
|
617
|
+
"usage": "w6w workflows version <id> <n> [options]",
|
|
618
|
+
"naming": "w6w workflows version <id> <n>",
|
|
567
619
|
"status": "required",
|
|
568
620
|
"params": [
|
|
569
621
|
{
|
|
570
622
|
"name": "id",
|
|
571
623
|
"kind": "argument",
|
|
572
624
|
"display": "<id>",
|
|
573
|
-
"description": "
|
|
625
|
+
"description": "Workflow id (see: w6w workflows list)",
|
|
574
626
|
"required": true,
|
|
575
627
|
},
|
|
576
628
|
{
|
|
577
|
-
"name": "
|
|
578
|
-
"kind": "
|
|
579
|
-
"display": "
|
|
580
|
-
"description": "
|
|
581
|
-
"required":
|
|
629
|
+
"name": "n",
|
|
630
|
+
"kind": "argument",
|
|
631
|
+
"display": "<n>",
|
|
632
|
+
"description": "Version number (see: w6w <workflows|functions> versions <id>)",
|
|
633
|
+
"required": true,
|
|
582
634
|
},
|
|
583
635
|
{
|
|
584
636
|
"name": "json",
|
|
@@ -589,39 +641,33 @@ export const HELP_TREE = {
|
|
|
589
641
|
},
|
|
590
642
|
],
|
|
591
643
|
"examples": [
|
|
592
|
-
"w6w
|
|
644
|
+
"w6w workflows version wf_01HQ8N 3",
|
|
645
|
+
"w6w workflows version wf_01HQ8N 3 --json",
|
|
593
646
|
],
|
|
594
647
|
"notes": [],
|
|
595
648
|
},
|
|
596
649
|
{
|
|
597
|
-
"operation": "
|
|
650
|
+
"operation": "workflows.publish",
|
|
598
651
|
"path": [
|
|
599
|
-
"
|
|
600
|
-
"
|
|
652
|
+
"workflows",
|
|
653
|
+
"publish",
|
|
601
654
|
],
|
|
602
|
-
"name": "
|
|
655
|
+
"name": "publish",
|
|
603
656
|
"aliases": [],
|
|
604
|
-
"summary": "
|
|
605
|
-
"short": "
|
|
606
|
-
"headline": "
|
|
607
|
-
"usage": "w6w
|
|
608
|
-
"naming": "w6w
|
|
657
|
+
"summary": "Publish the workflow's stored definition as a new immutable version.",
|
|
658
|
+
"short": "Publish the workflow's stored definition as a new immutable version",
|
|
659
|
+
"headline": "publish the workflow's stored definition as a new immutable version",
|
|
660
|
+
"usage": "w6w workflows publish <id> [options]",
|
|
661
|
+
"naming": "w6w workflows publish <id>",
|
|
609
662
|
"status": "required",
|
|
610
663
|
"params": [
|
|
611
664
|
{
|
|
612
|
-
"name": "
|
|
665
|
+
"name": "id",
|
|
613
666
|
"kind": "argument",
|
|
614
|
-
"display": "<
|
|
615
|
-
"description": "
|
|
667
|
+
"display": "<id>",
|
|
668
|
+
"description": "Workflow id (see: w6w workflows list)",
|
|
616
669
|
"required": true,
|
|
617
670
|
},
|
|
618
|
-
{
|
|
619
|
-
"name": "project",
|
|
620
|
-
"kind": "flag",
|
|
621
|
-
"display": "--project <id>",
|
|
622
|
-
"description": "Project to scope to (default: the account's default project)",
|
|
623
|
-
"required": false,
|
|
624
|
-
},
|
|
625
671
|
{
|
|
626
672
|
"name": "json",
|
|
627
673
|
"kind": "flag",
|
|
@@ -631,60 +677,41 @@ export const HELP_TREE = {
|
|
|
631
677
|
},
|
|
632
678
|
],
|
|
633
679
|
"examples": [
|
|
634
|
-
"w6w
|
|
680
|
+
"w6w workflows publish wf_01HQ8N",
|
|
681
|
+
],
|
|
682
|
+
"notes": [
|
|
683
|
+
"Publishes the workflow as saved: snapshots the stored row into a new numbered version. Save any pending edit first.",
|
|
635
684
|
],
|
|
636
|
-
"notes": [],
|
|
637
685
|
},
|
|
638
686
|
{
|
|
639
|
-
"operation": "
|
|
687
|
+
"operation": "workflows.revert",
|
|
640
688
|
"path": [
|
|
641
|
-
"
|
|
642
|
-
"
|
|
689
|
+
"workflows",
|
|
690
|
+
"revert",
|
|
643
691
|
],
|
|
644
|
-
"name": "
|
|
692
|
+
"name": "revert",
|
|
645
693
|
"aliases": [],
|
|
646
|
-
"summary": "
|
|
647
|
-
"short": "
|
|
648
|
-
"headline": "
|
|
649
|
-
"usage": "w6w
|
|
650
|
-
"naming": "w6w
|
|
694
|
+
"summary": "Rewrite the live workflow from a published version.",
|
|
695
|
+
"short": "Rewrite the live workflow from a published version",
|
|
696
|
+
"headline": "rewrite the live workflow from a published version",
|
|
697
|
+
"usage": "w6w workflows revert <id> <n> [options]",
|
|
698
|
+
"naming": "w6w workflows revert <id> <n>",
|
|
651
699
|
"status": "required",
|
|
652
700
|
"params": [
|
|
653
701
|
{
|
|
654
|
-
"name": "
|
|
702
|
+
"name": "id",
|
|
655
703
|
"kind": "argument",
|
|
656
|
-
"display": "<
|
|
657
|
-
"description": "
|
|
704
|
+
"display": "<id>",
|
|
705
|
+
"description": "Workflow id (see: w6w workflows list)",
|
|
658
706
|
"required": true,
|
|
659
707
|
},
|
|
660
708
|
{
|
|
661
|
-
"name": "
|
|
662
|
-
"kind": "
|
|
663
|
-
"display": "
|
|
664
|
-
"description": "
|
|
709
|
+
"name": "n",
|
|
710
|
+
"kind": "argument",
|
|
711
|
+
"display": "<n>",
|
|
712
|
+
"description": "Version number (see: w6w <workflows|functions> versions <id>)",
|
|
665
713
|
"required": true,
|
|
666
714
|
},
|
|
667
|
-
{
|
|
668
|
-
"name": "format",
|
|
669
|
-
"kind": "flag",
|
|
670
|
-
"display": "--format <f>",
|
|
671
|
-
"description": "Content format hint: text|markdown|yaml|html|json (default: text)",
|
|
672
|
-
"required": false,
|
|
673
|
-
},
|
|
674
|
-
{
|
|
675
|
-
"name": "description",
|
|
676
|
-
"kind": "flag",
|
|
677
|
-
"display": "--description <d>",
|
|
678
|
-
"description": "Human-readable description",
|
|
679
|
-
"required": false,
|
|
680
|
-
},
|
|
681
|
-
{
|
|
682
|
-
"name": "project",
|
|
683
|
-
"kind": "flag",
|
|
684
|
-
"display": "--project <id>",
|
|
685
|
-
"description": "Project to scope to (default: the account's default project)",
|
|
686
|
-
"required": false,
|
|
687
|
-
},
|
|
688
715
|
{
|
|
689
716
|
"name": "json",
|
|
690
717
|
"kind": "flag",
|
|
@@ -694,60 +721,32 @@ export const HELP_TREE = {
|
|
|
694
721
|
},
|
|
695
722
|
],
|
|
696
723
|
"examples": [
|
|
697
|
-
|
|
724
|
+
"w6w workflows revert wf_01HQ8N 2",
|
|
698
725
|
],
|
|
699
726
|
"notes": [],
|
|
700
727
|
},
|
|
701
728
|
{
|
|
702
|
-
"operation": "
|
|
729
|
+
"operation": "workflows.enable",
|
|
703
730
|
"path": [
|
|
704
|
-
"
|
|
705
|
-
"
|
|
731
|
+
"workflows",
|
|
732
|
+
"enable",
|
|
706
733
|
],
|
|
707
|
-
"name": "
|
|
734
|
+
"name": "enable",
|
|
708
735
|
"aliases": [],
|
|
709
|
-
"summary": "
|
|
710
|
-
"short": "
|
|
711
|
-
"headline": "
|
|
712
|
-
"usage": "w6w
|
|
713
|
-
"naming": "w6w
|
|
736
|
+
"summary": "Enable the workflow's invocability.",
|
|
737
|
+
"short": "Enable the workflow's invocability",
|
|
738
|
+
"headline": "enable the workflow's invocability",
|
|
739
|
+
"usage": "w6w workflows enable <id> [options]",
|
|
740
|
+
"naming": "w6w workflows enable <id>",
|
|
714
741
|
"status": "required",
|
|
715
742
|
"params": [
|
|
716
743
|
{
|
|
717
744
|
"name": "id",
|
|
718
745
|
"kind": "argument",
|
|
719
746
|
"display": "<id>",
|
|
720
|
-
"description": "
|
|
747
|
+
"description": "Workflow id (see: w6w workflows list)",
|
|
721
748
|
"required": true,
|
|
722
749
|
},
|
|
723
|
-
{
|
|
724
|
-
"name": "content",
|
|
725
|
-
"kind": "flag",
|
|
726
|
-
"display": "--content <text>",
|
|
727
|
-
"description": "Document content, as raw text",
|
|
728
|
-
"required": false,
|
|
729
|
-
},
|
|
730
|
-
{
|
|
731
|
-
"name": "format",
|
|
732
|
-
"kind": "flag",
|
|
733
|
-
"display": "--format <f>",
|
|
734
|
-
"description": "Content format hint: text|markdown|yaml|html|json (default: text)",
|
|
735
|
-
"required": false,
|
|
736
|
-
},
|
|
737
|
-
{
|
|
738
|
-
"name": "description",
|
|
739
|
-
"kind": "flag",
|
|
740
|
-
"display": "--description <d>",
|
|
741
|
-
"description": "Human-readable description",
|
|
742
|
-
"required": false,
|
|
743
|
-
},
|
|
744
|
-
{
|
|
745
|
-
"name": "project",
|
|
746
|
-
"kind": "flag",
|
|
747
|
-
"display": "--project <id>",
|
|
748
|
-
"description": "Project to scope to (default: the account's default project)",
|
|
749
|
-
"required": false,
|
|
750
|
-
},
|
|
751
750
|
{
|
|
752
751
|
"name": "json",
|
|
753
752
|
"kind": "flag",
|
|
@@ -757,39 +756,32 @@ export const HELP_TREE = {
|
|
|
757
756
|
},
|
|
758
757
|
],
|
|
759
758
|
"examples": [
|
|
760
|
-
|
|
759
|
+
"w6w workflows enable wf_01HQ8N",
|
|
761
760
|
],
|
|
762
761
|
"notes": [],
|
|
763
762
|
},
|
|
764
763
|
{
|
|
765
|
-
"operation": "
|
|
764
|
+
"operation": "workflows.disable",
|
|
766
765
|
"path": [
|
|
767
|
-
"
|
|
768
|
-
"
|
|
766
|
+
"workflows",
|
|
767
|
+
"disable",
|
|
769
768
|
],
|
|
770
|
-
"name": "
|
|
769
|
+
"name": "disable",
|
|
771
770
|
"aliases": [],
|
|
772
|
-
"summary": "
|
|
773
|
-
"short": "
|
|
774
|
-
"headline": "
|
|
775
|
-
"usage": "w6w
|
|
776
|
-
"naming": "w6w
|
|
771
|
+
"summary": "Disable the workflow's invocability.",
|
|
772
|
+
"short": "Disable the workflow's invocability",
|
|
773
|
+
"headline": "disable the workflow's invocability",
|
|
774
|
+
"usage": "w6w workflows disable <id> [options]",
|
|
775
|
+
"naming": "w6w workflows disable <id>",
|
|
777
776
|
"status": "required",
|
|
778
777
|
"params": [
|
|
779
778
|
{
|
|
780
779
|
"name": "id",
|
|
781
780
|
"kind": "argument",
|
|
782
781
|
"display": "<id>",
|
|
783
|
-
"description": "
|
|
782
|
+
"description": "Workflow id (see: w6w workflows list)",
|
|
784
783
|
"required": true,
|
|
785
784
|
},
|
|
786
|
-
{
|
|
787
|
-
"name": "project",
|
|
788
|
-
"kind": "flag",
|
|
789
|
-
"display": "--project <id>",
|
|
790
|
-
"description": "Project to scope to (default: the account's default project)",
|
|
791
|
-
"required": false,
|
|
792
|
-
},
|
|
793
785
|
{
|
|
794
786
|
"name": "json",
|
|
795
787
|
"kind": "flag",
|
|
@@ -799,46 +791,104 @@ export const HELP_TREE = {
|
|
|
799
791
|
},
|
|
800
792
|
],
|
|
801
793
|
"examples": [
|
|
802
|
-
"w6w
|
|
794
|
+
"w6w workflows disable wf_01HQ8N",
|
|
803
795
|
],
|
|
804
796
|
"notes": [],
|
|
805
797
|
},
|
|
806
|
-
],
|
|
807
|
-
"options": [
|
|
808
798
|
{
|
|
809
|
-
"
|
|
810
|
-
"
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
799
|
+
"operation": "workflows.runVersion",
|
|
800
|
+
"path": [
|
|
801
|
+
"workflows",
|
|
802
|
+
"run-version",
|
|
803
|
+
],
|
|
804
|
+
"name": "run-version",
|
|
805
|
+
"aliases": [],
|
|
806
|
+
"summary": "Run one published version of a workflow.",
|
|
807
|
+
"short": "Run one published version of a workflow",
|
|
808
|
+
"headline": "run one published version of a workflow",
|
|
809
|
+
"usage": "w6w workflows run-version <id> <n> [options]",
|
|
810
|
+
"naming": "w6w workflows run-version <id> <n> [--wait] [--input <json>]",
|
|
811
|
+
"status": "required",
|
|
812
|
+
"params": [
|
|
813
|
+
{
|
|
814
|
+
"name": "id",
|
|
815
|
+
"kind": "argument",
|
|
816
|
+
"display": "<id>",
|
|
817
|
+
"description": "Workflow id (see: w6w workflows list)",
|
|
818
|
+
"required": true,
|
|
819
|
+
},
|
|
820
|
+
{
|
|
821
|
+
"name": "n",
|
|
822
|
+
"kind": "argument",
|
|
823
|
+
"display": "<n>",
|
|
824
|
+
"description": "Version number (see: w6w <workflows|functions> versions <id>)",
|
|
825
|
+
"required": true,
|
|
826
|
+
},
|
|
827
|
+
{
|
|
828
|
+
"name": "wait",
|
|
829
|
+
"kind": "flag",
|
|
830
|
+
"display": "--wait",
|
|
831
|
+
"description": "Wait for the run to reach a terminal state",
|
|
832
|
+
"required": false,
|
|
833
|
+
},
|
|
834
|
+
{
|
|
835
|
+
"name": "input",
|
|
836
|
+
"kind": "flag",
|
|
837
|
+
"display": "--input <json>",
|
|
838
|
+
"description": "Run input, as a JSON string",
|
|
839
|
+
"required": false,
|
|
840
|
+
},
|
|
841
|
+
{
|
|
842
|
+
"name": "json",
|
|
843
|
+
"kind": "flag",
|
|
844
|
+
"display": "--json",
|
|
845
|
+
"description": "Output raw JSON instead of a table",
|
|
846
|
+
"required": false,
|
|
847
|
+
},
|
|
848
|
+
],
|
|
849
|
+
"examples": [
|
|
850
|
+
"w6w workflows run-version wf_01HQ8N 3 --wait",
|
|
851
|
+
'w6w workflows run-version wf_01HQ8N 3 --input \'{"email":"a@b.com"}\'',
|
|
852
|
+
],
|
|
853
|
+
"notes": [
|
|
854
|
+
'Runs the published snapshot numbered <n>, never the saved draft. --wait and the exit code behave as in `w6w workflows run`: a finished run with status "failed" exits 3.',
|
|
855
|
+
],
|
|
814
856
|
},
|
|
815
857
|
],
|
|
858
|
+
"options": [],
|
|
816
859
|
"examples": [
|
|
817
|
-
"w6w
|
|
818
|
-
"w6w
|
|
860
|
+
"w6w workflows list",
|
|
861
|
+
"w6w workflows run wf_01HQ8N --wait",
|
|
819
862
|
],
|
|
820
863
|
},
|
|
821
864
|
{
|
|
822
|
-
"name": "
|
|
823
|
-
"summary": "Create, read, update and delete
|
|
824
|
-
"headline": "create, read, update and delete
|
|
825
|
-
"usage": "w6w
|
|
865
|
+
"name": "documents",
|
|
866
|
+
"summary": "Create, read, update and delete documents",
|
|
867
|
+
"headline": "create, read, update and delete documents",
|
|
868
|
+
"usage": "w6w documents <command> [options]",
|
|
826
869
|
"commands": [
|
|
827
870
|
{
|
|
828
|
-
"operation": "
|
|
871
|
+
"operation": "documents.list",
|
|
829
872
|
"path": [
|
|
830
|
-
"
|
|
873
|
+
"documents",
|
|
831
874
|
"list",
|
|
832
875
|
],
|
|
833
876
|
"name": "list",
|
|
834
877
|
"aliases": [],
|
|
835
|
-
"summary": "List the caller's
|
|
836
|
-
"short": "List the caller's
|
|
837
|
-
"headline": "list the caller's
|
|
838
|
-
"usage": "w6w
|
|
839
|
-
"naming": "w6w
|
|
878
|
+
"summary": "List the caller's documents in a project.",
|
|
879
|
+
"short": "List the caller's documents in a project",
|
|
880
|
+
"headline": "list the caller's documents in a project",
|
|
881
|
+
"usage": "w6w documents list [options]",
|
|
882
|
+
"naming": "w6w documents list [--project <id>]",
|
|
840
883
|
"status": "required",
|
|
841
884
|
"params": [
|
|
885
|
+
{
|
|
886
|
+
"name": "project",
|
|
887
|
+
"kind": "flag",
|
|
888
|
+
"display": "--project <id>",
|
|
889
|
+
"description": "Project to scope to (default: the account's default project)",
|
|
890
|
+
"required": false,
|
|
891
|
+
},
|
|
842
892
|
{
|
|
843
893
|
"name": "json",
|
|
844
894
|
"kind": "flag",
|
|
@@ -848,32 +898,40 @@ export const HELP_TREE = {
|
|
|
848
898
|
},
|
|
849
899
|
],
|
|
850
900
|
"examples": [
|
|
851
|
-
"w6w
|
|
901
|
+
"w6w documents list",
|
|
902
|
+
"w6w documents list --project prj_01HQ8N",
|
|
852
903
|
],
|
|
853
904
|
"notes": [],
|
|
854
905
|
},
|
|
855
906
|
{
|
|
856
|
-
"operation": "
|
|
907
|
+
"operation": "documents.get",
|
|
857
908
|
"path": [
|
|
858
|
-
"
|
|
909
|
+
"documents",
|
|
859
910
|
"get",
|
|
860
911
|
],
|
|
861
912
|
"name": "get",
|
|
862
913
|
"aliases": [],
|
|
863
|
-
"summary": "Fetch one
|
|
864
|
-
"short": "Fetch one
|
|
865
|
-
"headline": "fetch one
|
|
866
|
-
"usage": "w6w
|
|
867
|
-
"naming": "w6w
|
|
914
|
+
"summary": "Fetch one document by its `doc_…` id.",
|
|
915
|
+
"short": "Fetch one document by its `doc_…` id",
|
|
916
|
+
"headline": "fetch one document by its `doc_…` id",
|
|
917
|
+
"usage": "w6w documents get <id> [options]",
|
|
918
|
+
"naming": "w6w documents get <id> [--project <id>]",
|
|
868
919
|
"status": "required",
|
|
869
920
|
"params": [
|
|
870
921
|
{
|
|
871
922
|
"name": "id",
|
|
872
923
|
"kind": "argument",
|
|
873
924
|
"display": "<id>",
|
|
874
|
-
"description": "
|
|
925
|
+
"description": "Document id (see: w6w documents list)",
|
|
875
926
|
"required": true,
|
|
876
927
|
},
|
|
928
|
+
{
|
|
929
|
+
"name": "project",
|
|
930
|
+
"kind": "flag",
|
|
931
|
+
"display": "--project <id>",
|
|
932
|
+
"description": "Project to scope to (default: the account's default project)",
|
|
933
|
+
"required": false,
|
|
934
|
+
},
|
|
877
935
|
{
|
|
878
936
|
"name": "json",
|
|
879
937
|
"kind": "flag",
|
|
@@ -883,32 +941,39 @@ export const HELP_TREE = {
|
|
|
883
941
|
},
|
|
884
942
|
],
|
|
885
943
|
"examples": [
|
|
886
|
-
"w6w
|
|
944
|
+
"w6w documents get doc_01HQ8N",
|
|
887
945
|
],
|
|
888
946
|
"notes": [],
|
|
889
947
|
},
|
|
890
948
|
{
|
|
891
|
-
"operation": "
|
|
949
|
+
"operation": "documents.getByKey",
|
|
892
950
|
"path": [
|
|
893
|
-
"
|
|
894
|
-
"get-by-
|
|
951
|
+
"documents",
|
|
952
|
+
"get-by-key",
|
|
895
953
|
],
|
|
896
|
-
"name": "get-by-
|
|
954
|
+
"name": "get-by-key",
|
|
897
955
|
"aliases": [],
|
|
898
|
-
"summary": "Fetch one
|
|
899
|
-
"short": "Fetch one
|
|
900
|
-
"headline": "fetch one
|
|
901
|
-
"usage": "w6w
|
|
902
|
-
"naming": "w6w
|
|
956
|
+
"summary": "Fetch one document by its human-chosen `key`.",
|
|
957
|
+
"short": "Fetch one document by its human-chosen `key`",
|
|
958
|
+
"headline": "fetch one document by its human-chosen `key`",
|
|
959
|
+
"usage": "w6w documents get-by-key <key> [options]",
|
|
960
|
+
"naming": "w6w documents get-by-key <key> [--project <id>]",
|
|
903
961
|
"status": "required",
|
|
904
962
|
"params": [
|
|
905
963
|
{
|
|
906
|
-
"name": "
|
|
964
|
+
"name": "key",
|
|
907
965
|
"kind": "argument",
|
|
908
|
-
"display": "<
|
|
909
|
-
"description": "
|
|
966
|
+
"display": "<key>",
|
|
967
|
+
"description": "Document key, as chosen at creation",
|
|
910
968
|
"required": true,
|
|
911
969
|
},
|
|
970
|
+
{
|
|
971
|
+
"name": "project",
|
|
972
|
+
"kind": "flag",
|
|
973
|
+
"display": "--project <id>",
|
|
974
|
+
"description": "Project to scope to (default: the account's default project)",
|
|
975
|
+
"required": false,
|
|
976
|
+
},
|
|
912
977
|
{
|
|
913
978
|
"name": "json",
|
|
914
979
|
"kind": "flag",
|
|
@@ -918,45 +983,45 @@ export const HELP_TREE = {
|
|
|
918
983
|
},
|
|
919
984
|
],
|
|
920
985
|
"examples": [
|
|
921
|
-
"w6w
|
|
986
|
+
"w6w documents get-by-key onboarding-email",
|
|
922
987
|
],
|
|
923
988
|
"notes": [],
|
|
924
989
|
},
|
|
925
990
|
{
|
|
926
|
-
"operation": "
|
|
991
|
+
"operation": "documents.create",
|
|
927
992
|
"path": [
|
|
928
|
-
"
|
|
993
|
+
"documents",
|
|
929
994
|
"create",
|
|
930
995
|
],
|
|
931
996
|
"name": "create",
|
|
932
997
|
"aliases": [],
|
|
933
|
-
"summary": "Create a
|
|
934
|
-
"short": "Create a
|
|
935
|
-
"headline": "create a
|
|
936
|
-
"usage": "w6w
|
|
937
|
-
"naming": "w6w
|
|
998
|
+
"summary": "Create a document under a caller-chosen `key`.",
|
|
999
|
+
"short": "Create a document under a caller-chosen `key`",
|
|
1000
|
+
"headline": "create a document under a caller-chosen `key`",
|
|
1001
|
+
"usage": "w6w documents create <key> --content <text> [options]",
|
|
1002
|
+
"naming": "w6w documents create <key> --content <text> [--format <f>] [--description <d>] [--project <id>]",
|
|
938
1003
|
"status": "required",
|
|
939
1004
|
"params": [
|
|
940
1005
|
{
|
|
941
|
-
"name": "
|
|
1006
|
+
"name": "key",
|
|
942
1007
|
"kind": "argument",
|
|
943
|
-
"display": "<
|
|
944
|
-
"description": "
|
|
1008
|
+
"display": "<key>",
|
|
1009
|
+
"description": "Document key to create (unique per project)",
|
|
945
1010
|
"required": true,
|
|
946
1011
|
},
|
|
947
1012
|
{
|
|
948
|
-
"name": "
|
|
1013
|
+
"name": "content",
|
|
949
1014
|
"kind": "flag",
|
|
950
|
-
"display": "--
|
|
951
|
-
"description": "
|
|
1015
|
+
"display": "--content <text>",
|
|
1016
|
+
"description": "Document content, as raw text",
|
|
952
1017
|
"required": true,
|
|
953
1018
|
},
|
|
954
1019
|
{
|
|
955
|
-
"name": "
|
|
1020
|
+
"name": "format",
|
|
956
1021
|
"kind": "flag",
|
|
957
|
-
"display": "--
|
|
958
|
-
"description": "
|
|
959
|
-
"required":
|
|
1022
|
+
"display": "--format <f>",
|
|
1023
|
+
"description": "Content format hint: text|markdown|yaml|html|json (default: text)",
|
|
1024
|
+
"required": false,
|
|
960
1025
|
},
|
|
961
1026
|
{
|
|
962
1027
|
"name": "description",
|
|
@@ -965,6 +1030,13 @@ export const HELP_TREE = {
|
|
|
965
1030
|
"description": "Human-readable description",
|
|
966
1031
|
"required": false,
|
|
967
1032
|
},
|
|
1033
|
+
{
|
|
1034
|
+
"name": "project",
|
|
1035
|
+
"kind": "flag",
|
|
1036
|
+
"display": "--project <id>",
|
|
1037
|
+
"description": "Project to scope to (default: the account's default project)",
|
|
1038
|
+
"required": false,
|
|
1039
|
+
},
|
|
968
1040
|
{
|
|
969
1041
|
"name": "json",
|
|
970
1042
|
"kind": "flag",
|
|
@@ -974,44 +1046,44 @@ export const HELP_TREE = {
|
|
|
974
1046
|
},
|
|
975
1047
|
],
|
|
976
1048
|
"examples": [
|
|
977
|
-
|
|
1049
|
+
'w6w documents create onboarding-email --content "Welcome aboard!" --format markdown',
|
|
978
1050
|
],
|
|
979
1051
|
"notes": [],
|
|
980
1052
|
},
|
|
981
1053
|
{
|
|
982
|
-
"operation": "
|
|
1054
|
+
"operation": "documents.update",
|
|
983
1055
|
"path": [
|
|
984
|
-
"
|
|
1056
|
+
"documents",
|
|
985
1057
|
"update",
|
|
986
1058
|
],
|
|
987
1059
|
"name": "update",
|
|
988
1060
|
"aliases": [],
|
|
989
|
-
"summary": "Patch a
|
|
990
|
-
"short": "Patch a
|
|
991
|
-
"headline": "patch a
|
|
992
|
-
"usage": "w6w
|
|
993
|
-
"naming": "w6w
|
|
1061
|
+
"summary": "Patch a document's content, format or description.",
|
|
1062
|
+
"short": "Patch a document's content, format or description",
|
|
1063
|
+
"headline": "patch a document's content, format or description",
|
|
1064
|
+
"usage": "w6w documents update <id> [options]",
|
|
1065
|
+
"naming": "w6w documents update <id> [--content <text>] [--format <f>] [--description <d>] [--project <id>]",
|
|
994
1066
|
"status": "required",
|
|
995
1067
|
"params": [
|
|
996
1068
|
{
|
|
997
1069
|
"name": "id",
|
|
998
1070
|
"kind": "argument",
|
|
999
1071
|
"display": "<id>",
|
|
1000
|
-
"description": "
|
|
1072
|
+
"description": "Document id (see: w6w documents list)",
|
|
1001
1073
|
"required": true,
|
|
1002
1074
|
},
|
|
1003
1075
|
{
|
|
1004
|
-
"name": "
|
|
1076
|
+
"name": "content",
|
|
1005
1077
|
"kind": "flag",
|
|
1006
|
-
"display": "--
|
|
1007
|
-
"description": "
|
|
1078
|
+
"display": "--content <text>",
|
|
1079
|
+
"description": "Document content, as raw text",
|
|
1008
1080
|
"required": false,
|
|
1009
1081
|
},
|
|
1010
1082
|
{
|
|
1011
|
-
"name": "
|
|
1083
|
+
"name": "format",
|
|
1012
1084
|
"kind": "flag",
|
|
1013
|
-
"display": "--
|
|
1014
|
-
"description": "
|
|
1085
|
+
"display": "--format <f>",
|
|
1086
|
+
"description": "Content format hint: text|markdown|yaml|html|json (default: text)",
|
|
1015
1087
|
"required": false,
|
|
1016
1088
|
},
|
|
1017
1089
|
{
|
|
@@ -1021,6 +1093,13 @@ export const HELP_TREE = {
|
|
|
1021
1093
|
"description": "Human-readable description",
|
|
1022
1094
|
"required": false,
|
|
1023
1095
|
},
|
|
1096
|
+
{
|
|
1097
|
+
"name": "project",
|
|
1098
|
+
"kind": "flag",
|
|
1099
|
+
"display": "--project <id>",
|
|
1100
|
+
"description": "Project to scope to (default: the account's default project)",
|
|
1101
|
+
"required": false,
|
|
1102
|
+
},
|
|
1024
1103
|
{
|
|
1025
1104
|
"name": "json",
|
|
1026
1105
|
"kind": "flag",
|
|
@@ -1030,32 +1109,39 @@ export const HELP_TREE = {
|
|
|
1030
1109
|
},
|
|
1031
1110
|
],
|
|
1032
1111
|
"examples": [
|
|
1033
|
-
|
|
1112
|
+
'w6w documents update doc_01HQ8N --content "Welcome aboard!"',
|
|
1034
1113
|
],
|
|
1035
1114
|
"notes": [],
|
|
1036
1115
|
},
|
|
1037
1116
|
{
|
|
1038
|
-
"operation": "
|
|
1117
|
+
"operation": "documents.delete",
|
|
1039
1118
|
"path": [
|
|
1040
|
-
"
|
|
1119
|
+
"documents",
|
|
1041
1120
|
"delete",
|
|
1042
1121
|
],
|
|
1043
1122
|
"name": "delete",
|
|
1044
1123
|
"aliases": [],
|
|
1045
|
-
"summary": "Delete a
|
|
1046
|
-
"short": "Delete a
|
|
1047
|
-
"headline": "delete a
|
|
1048
|
-
"usage": "w6w
|
|
1049
|
-
"naming": "w6w
|
|
1124
|
+
"summary": "Delete a document.",
|
|
1125
|
+
"short": "Delete a document",
|
|
1126
|
+
"headline": "delete a document",
|
|
1127
|
+
"usage": "w6w documents delete <id> [options]",
|
|
1128
|
+
"naming": "w6w documents delete <id> [--project <id>]",
|
|
1050
1129
|
"status": "required",
|
|
1051
1130
|
"params": [
|
|
1052
1131
|
{
|
|
1053
1132
|
"name": "id",
|
|
1054
1133
|
"kind": "argument",
|
|
1055
1134
|
"display": "<id>",
|
|
1056
|
-
"description": "
|
|
1135
|
+
"description": "Document id (see: w6w documents list)",
|
|
1057
1136
|
"required": true,
|
|
1058
1137
|
},
|
|
1138
|
+
{
|
|
1139
|
+
"name": "project",
|
|
1140
|
+
"kind": "flag",
|
|
1141
|
+
"display": "--project <id>",
|
|
1142
|
+
"description": "Project to scope to (default: the account's default project)",
|
|
1143
|
+
"required": false,
|
|
1144
|
+
},
|
|
1059
1145
|
{
|
|
1060
1146
|
"name": "json",
|
|
1061
1147
|
"kind": "flag",
|
|
@@ -1065,52 +1151,46 @@ export const HELP_TREE = {
|
|
|
1065
1151
|
},
|
|
1066
1152
|
],
|
|
1067
1153
|
"examples": [
|
|
1068
|
-
"w6w
|
|
1154
|
+
"w6w documents delete doc_01HQ8N",
|
|
1069
1155
|
],
|
|
1070
1156
|
"notes": [],
|
|
1071
1157
|
},
|
|
1072
1158
|
],
|
|
1073
|
-
"options": [
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1159
|
+
"options": [
|
|
1160
|
+
{
|
|
1161
|
+
"name": "project",
|
|
1162
|
+
"kind": "flag",
|
|
1163
|
+
"display": "--project <id>",
|
|
1164
|
+
"description": "Project to scope to (default: the account's default project)",
|
|
1165
|
+
"required": false,
|
|
1166
|
+
},
|
|
1167
|
+
],
|
|
1168
|
+
"examples": [
|
|
1169
|
+
"w6w documents list",
|
|
1170
|
+
"w6w documents get doc_01HQ8N",
|
|
1077
1171
|
],
|
|
1078
1172
|
},
|
|
1079
1173
|
{
|
|
1080
|
-
"name": "
|
|
1081
|
-
"summary": "
|
|
1082
|
-
"headline": "
|
|
1083
|
-
"usage": "w6w
|
|
1174
|
+
"name": "vars",
|
|
1175
|
+
"summary": "Create, read, update and delete variables",
|
|
1176
|
+
"headline": "create, read, update and delete variables",
|
|
1177
|
+
"usage": "w6w vars <command> [options]",
|
|
1084
1178
|
"commands": [
|
|
1085
1179
|
{
|
|
1086
|
-
"operation": "
|
|
1180
|
+
"operation": "vars.list",
|
|
1087
1181
|
"path": [
|
|
1088
|
-
"
|
|
1089
|
-
"
|
|
1182
|
+
"vars",
|
|
1183
|
+
"list",
|
|
1090
1184
|
],
|
|
1091
|
-
"name": "
|
|
1185
|
+
"name": "list",
|
|
1092
1186
|
"aliases": [],
|
|
1093
|
-
"summary": "
|
|
1094
|
-
"short": "
|
|
1095
|
-
"headline": "
|
|
1096
|
-
"usage": "w6w
|
|
1097
|
-
"naming": "w6w
|
|
1187
|
+
"summary": "List the caller's typed variables.",
|
|
1188
|
+
"short": "List the caller's typed variables",
|
|
1189
|
+
"headline": "list the caller's typed variables",
|
|
1190
|
+
"usage": "w6w vars list [options]",
|
|
1191
|
+
"naming": "w6w vars list",
|
|
1098
1192
|
"status": "required",
|
|
1099
1193
|
"params": [
|
|
1100
|
-
{
|
|
1101
|
-
"name": "idOrKey",
|
|
1102
|
-
"kind": "flag",
|
|
1103
|
-
"display": "--id-or-key <value>",
|
|
1104
|
-
"description": "Function key or id (e.g. send-email)",
|
|
1105
|
-
"required": true,
|
|
1106
|
-
},
|
|
1107
|
-
{
|
|
1108
|
-
"name": "inputs",
|
|
1109
|
-
"kind": "flag",
|
|
1110
|
-
"display": "--inputs <value>",
|
|
1111
|
-
"description": "The Function's inputs, as a JSON object",
|
|
1112
|
-
"required": false,
|
|
1113
|
-
},
|
|
1114
1194
|
{
|
|
1115
1195
|
"name": "json",
|
|
1116
1196
|
"kind": "flag",
|
|
@@ -1120,27 +1200,32 @@ export const HELP_TREE = {
|
|
|
1120
1200
|
},
|
|
1121
1201
|
],
|
|
1122
1202
|
"examples": [
|
|
1123
|
-
"w6w
|
|
1124
|
-
'w6w functions run send-email --payload \'{"to":"a@b.com"}\'',
|
|
1125
|
-
"w6w functions run fn_01HQ8N --json",
|
|
1203
|
+
"w6w vars list",
|
|
1126
1204
|
],
|
|
1127
1205
|
"notes": [],
|
|
1128
1206
|
},
|
|
1129
1207
|
{
|
|
1130
|
-
"operation": "
|
|
1208
|
+
"operation": "vars.get",
|
|
1131
1209
|
"path": [
|
|
1132
|
-
"
|
|
1133
|
-
"
|
|
1210
|
+
"vars",
|
|
1211
|
+
"get",
|
|
1134
1212
|
],
|
|
1135
|
-
"name": "
|
|
1213
|
+
"name": "get",
|
|
1136
1214
|
"aliases": [],
|
|
1137
|
-
"summary": "
|
|
1138
|
-
"short": "
|
|
1139
|
-
"headline": "
|
|
1140
|
-
"usage": "w6w
|
|
1141
|
-
"naming": "w6w
|
|
1215
|
+
"summary": "Fetch one variable by its `var_…` id.",
|
|
1216
|
+
"short": "Fetch one variable by its `var_…` id",
|
|
1217
|
+
"headline": "fetch one variable by its `var_…` id",
|
|
1218
|
+
"usage": "w6w vars get <id> [options]",
|
|
1219
|
+
"naming": "w6w vars get <id>",
|
|
1142
1220
|
"status": "required",
|
|
1143
1221
|
"params": [
|
|
1222
|
+
{
|
|
1223
|
+
"name": "id",
|
|
1224
|
+
"kind": "argument",
|
|
1225
|
+
"display": "<id>",
|
|
1226
|
+
"description": "Variable id (see: w6w vars list)",
|
|
1227
|
+
"required": true,
|
|
1228
|
+
},
|
|
1144
1229
|
{
|
|
1145
1230
|
"name": "json",
|
|
1146
1231
|
"kind": "flag",
|
|
@@ -1150,31 +1235,30 @@ export const HELP_TREE = {
|
|
|
1150
1235
|
},
|
|
1151
1236
|
],
|
|
1152
1237
|
"examples": [
|
|
1153
|
-
"w6w
|
|
1154
|
-
"w6w functions list --json",
|
|
1238
|
+
"w6w vars get var_01HQ8N",
|
|
1155
1239
|
],
|
|
1156
1240
|
"notes": [],
|
|
1157
1241
|
},
|
|
1158
1242
|
{
|
|
1159
|
-
"operation": "
|
|
1243
|
+
"operation": "vars.getByName",
|
|
1160
1244
|
"path": [
|
|
1161
|
-
"
|
|
1162
|
-
"get",
|
|
1245
|
+
"vars",
|
|
1246
|
+
"get-by-name",
|
|
1163
1247
|
],
|
|
1164
|
-
"name": "get",
|
|
1248
|
+
"name": "get-by-name",
|
|
1165
1249
|
"aliases": [],
|
|
1166
|
-
"summary": "Fetch one
|
|
1167
|
-
"short": "Fetch one
|
|
1168
|
-
"headline": "fetch one
|
|
1169
|
-
"usage": "w6w
|
|
1170
|
-
"naming": "w6w
|
|
1250
|
+
"summary": "Fetch one variable by its human-chosen `name`.",
|
|
1251
|
+
"short": "Fetch one variable by its human-chosen `name`",
|
|
1252
|
+
"headline": "fetch one variable by its human-chosen `name`",
|
|
1253
|
+
"usage": "w6w vars get-by-name <name> [options]",
|
|
1254
|
+
"naming": "w6w vars get-by-name <name>",
|
|
1171
1255
|
"status": "required",
|
|
1172
1256
|
"params": [
|
|
1173
1257
|
{
|
|
1174
|
-
"name": "
|
|
1258
|
+
"name": "name",
|
|
1175
1259
|
"kind": "argument",
|
|
1176
|
-
"display": "<
|
|
1177
|
-
"description": "
|
|
1260
|
+
"display": "<name>",
|
|
1261
|
+
"description": "Variable name, as chosen at creation",
|
|
1178
1262
|
"required": true,
|
|
1179
1263
|
},
|
|
1180
1264
|
{
|
|
@@ -1186,33 +1270,53 @@ export const HELP_TREE = {
|
|
|
1186
1270
|
},
|
|
1187
1271
|
],
|
|
1188
1272
|
"examples": [
|
|
1189
|
-
"w6w
|
|
1190
|
-
"w6w functions get fn_01HQ8N --json",
|
|
1273
|
+
"w6w vars get-by-name greeting",
|
|
1191
1274
|
],
|
|
1192
1275
|
"notes": [],
|
|
1193
1276
|
},
|
|
1194
1277
|
{
|
|
1195
|
-
"operation": "
|
|
1278
|
+
"operation": "vars.create",
|
|
1196
1279
|
"path": [
|
|
1197
|
-
"
|
|
1280
|
+
"vars",
|
|
1198
1281
|
"create",
|
|
1199
1282
|
],
|
|
1200
1283
|
"name": "create",
|
|
1201
1284
|
"aliases": [],
|
|
1202
|
-
"summary": "Create a
|
|
1203
|
-
"short": "Create a
|
|
1204
|
-
"headline": "create a
|
|
1205
|
-
"usage": "w6w
|
|
1206
|
-
"naming": "w6w
|
|
1285
|
+
"summary": "Create a typed variable under a caller-chosen `name`.",
|
|
1286
|
+
"short": "Create a typed variable under a caller-chosen `name`",
|
|
1287
|
+
"headline": "create a typed variable under a caller-chosen `name`",
|
|
1288
|
+
"usage": "w6w vars create <name> --type <t> --value <v> [options]",
|
|
1289
|
+
"naming": "w6w vars create <name> --type <t> --value <v> [--description <d>]",
|
|
1207
1290
|
"status": "required",
|
|
1208
1291
|
"params": [
|
|
1209
1292
|
{
|
|
1210
|
-
"name": "
|
|
1293
|
+
"name": "name",
|
|
1294
|
+
"kind": "argument",
|
|
1295
|
+
"display": "<name>",
|
|
1296
|
+
"description": "Variable name to create (must match ^[a-z_][a-z0-9_]*$)",
|
|
1297
|
+
"required": true,
|
|
1298
|
+
},
|
|
1299
|
+
{
|
|
1300
|
+
"name": "type",
|
|
1211
1301
|
"kind": "flag",
|
|
1212
|
-
"display": "--
|
|
1213
|
-
"description": "
|
|
1302
|
+
"display": "--type <t>",
|
|
1303
|
+
"description": "Value type: string|number|boolean|json",
|
|
1304
|
+
"required": true,
|
|
1305
|
+
},
|
|
1306
|
+
{
|
|
1307
|
+
"name": "value",
|
|
1308
|
+
"kind": "flag",
|
|
1309
|
+
"display": "--value <v>",
|
|
1310
|
+
"description": "Value, validated against the variable's type",
|
|
1214
1311
|
"required": true,
|
|
1215
1312
|
},
|
|
1313
|
+
{
|
|
1314
|
+
"name": "description",
|
|
1315
|
+
"kind": "flag",
|
|
1316
|
+
"display": "--description <d>",
|
|
1317
|
+
"description": "Human-readable description",
|
|
1318
|
+
"required": false,
|
|
1319
|
+
},
|
|
1216
1320
|
{
|
|
1217
1321
|
"name": "json",
|
|
1218
1322
|
"kind": "flag",
|
|
@@ -1222,39 +1326,52 @@ export const HELP_TREE = {
|
|
|
1222
1326
|
},
|
|
1223
1327
|
],
|
|
1224
1328
|
"examples": [
|
|
1225
|
-
|
|
1226
|
-
'w6w functions create --definition "$(cat function.json)"',
|
|
1329
|
+
"w6w vars create greeting --type string --value hello",
|
|
1227
1330
|
],
|
|
1228
1331
|
"notes": [],
|
|
1229
1332
|
},
|
|
1230
1333
|
{
|
|
1231
|
-
"operation": "
|
|
1334
|
+
"operation": "vars.update",
|
|
1232
1335
|
"path": [
|
|
1233
|
-
"
|
|
1336
|
+
"vars",
|
|
1234
1337
|
"update",
|
|
1235
1338
|
],
|
|
1236
1339
|
"name": "update",
|
|
1237
1340
|
"aliases": [],
|
|
1238
|
-
"summary": "
|
|
1239
|
-
"short": "
|
|
1240
|
-
"headline": "
|
|
1241
|
-
"usage": "w6w
|
|
1242
|
-
"naming": "w6w
|
|
1341
|
+
"summary": "Patch a variable's type, value or description.",
|
|
1342
|
+
"short": "Patch a variable's type, value or description",
|
|
1343
|
+
"headline": "patch a variable's type, value or description",
|
|
1344
|
+
"usage": "w6w vars update <id> [options]",
|
|
1345
|
+
"naming": "w6w vars update <id> [--type <t>] [--value <v>] [--description <d>]",
|
|
1243
1346
|
"status": "required",
|
|
1244
1347
|
"params": [
|
|
1245
1348
|
{
|
|
1246
1349
|
"name": "id",
|
|
1247
1350
|
"kind": "argument",
|
|
1248
1351
|
"display": "<id>",
|
|
1249
|
-
"description": "
|
|
1352
|
+
"description": "Variable id (see: w6w vars list)",
|
|
1250
1353
|
"required": true,
|
|
1251
1354
|
},
|
|
1252
1355
|
{
|
|
1253
|
-
"name": "
|
|
1356
|
+
"name": "type",
|
|
1254
1357
|
"kind": "flag",
|
|
1255
|
-
"display": "--
|
|
1256
|
-
"description": "
|
|
1257
|
-
"required":
|
|
1358
|
+
"display": "--type <t>",
|
|
1359
|
+
"description": "Value type: string|number|boolean|json",
|
|
1360
|
+
"required": false,
|
|
1361
|
+
},
|
|
1362
|
+
{
|
|
1363
|
+
"name": "value",
|
|
1364
|
+
"kind": "flag",
|
|
1365
|
+
"display": "--value <v>",
|
|
1366
|
+
"description": "Value, validated against the variable's type",
|
|
1367
|
+
"required": false,
|
|
1368
|
+
},
|
|
1369
|
+
{
|
|
1370
|
+
"name": "description",
|
|
1371
|
+
"kind": "flag",
|
|
1372
|
+
"display": "--description <d>",
|
|
1373
|
+
"description": "Human-readable description",
|
|
1374
|
+
"required": false,
|
|
1258
1375
|
},
|
|
1259
1376
|
{
|
|
1260
1377
|
"name": "json",
|
|
@@ -1265,30 +1382,30 @@ export const HELP_TREE = {
|
|
|
1265
1382
|
},
|
|
1266
1383
|
],
|
|
1267
1384
|
"examples": [
|
|
1268
|
-
|
|
1385
|
+
"w6w vars update var_01HQ8N --value goodbye",
|
|
1269
1386
|
],
|
|
1270
1387
|
"notes": [],
|
|
1271
1388
|
},
|
|
1272
1389
|
{
|
|
1273
|
-
"operation": "
|
|
1390
|
+
"operation": "vars.delete",
|
|
1274
1391
|
"path": [
|
|
1275
|
-
"
|
|
1392
|
+
"vars",
|
|
1276
1393
|
"delete",
|
|
1277
1394
|
],
|
|
1278
1395
|
"name": "delete",
|
|
1279
1396
|
"aliases": [],
|
|
1280
|
-
"summary": "Delete a
|
|
1281
|
-
"short": "Delete a
|
|
1282
|
-
"headline": "delete a
|
|
1283
|
-
"usage": "w6w
|
|
1284
|
-
"naming": "w6w
|
|
1397
|
+
"summary": "Delete a variable.",
|
|
1398
|
+
"short": "Delete a variable",
|
|
1399
|
+
"headline": "delete a variable",
|
|
1400
|
+
"usage": "w6w vars delete <id> [options]",
|
|
1401
|
+
"naming": "w6w vars delete <id>",
|
|
1285
1402
|
"status": "required",
|
|
1286
1403
|
"params": [
|
|
1287
1404
|
{
|
|
1288
1405
|
"name": "id",
|
|
1289
1406
|
"kind": "argument",
|
|
1290
1407
|
"display": "<id>",
|
|
1291
|
-
"description": "
|
|
1408
|
+
"description": "Variable id (see: w6w vars list)",
|
|
1292
1409
|
"required": true,
|
|
1293
1410
|
},
|
|
1294
1411
|
{
|
|
@@ -1300,49 +1417,57 @@ export const HELP_TREE = {
|
|
|
1300
1417
|
},
|
|
1301
1418
|
],
|
|
1302
1419
|
"examples": [
|
|
1303
|
-
"w6w
|
|
1420
|
+
"w6w vars delete var_01HQ8N",
|
|
1304
1421
|
],
|
|
1305
1422
|
"notes": [],
|
|
1306
1423
|
},
|
|
1307
1424
|
],
|
|
1308
1425
|
"options": [],
|
|
1309
1426
|
"examples": [
|
|
1310
|
-
"w6w
|
|
1427
|
+
"w6w vars list",
|
|
1428
|
+
"w6w vars create greeting --type string --value hello",
|
|
1311
1429
|
],
|
|
1312
1430
|
},
|
|
1313
1431
|
{
|
|
1314
|
-
"name": "
|
|
1315
|
-
"summary": "Run
|
|
1316
|
-
"headline": "run
|
|
1317
|
-
"usage": "w6w
|
|
1432
|
+
"name": "functions",
|
|
1433
|
+
"summary": "Run and edit functions",
|
|
1434
|
+
"headline": "run and edit functions",
|
|
1435
|
+
"usage": "w6w functions <command> [options]",
|
|
1318
1436
|
"commands": [
|
|
1319
1437
|
{
|
|
1320
|
-
"operation": "
|
|
1438
|
+
"operation": "functions.run",
|
|
1321
1439
|
"path": [
|
|
1322
|
-
"
|
|
1440
|
+
"functions",
|
|
1323
1441
|
"run",
|
|
1324
1442
|
],
|
|
1325
1443
|
"name": "run",
|
|
1326
1444
|
"aliases": [],
|
|
1327
|
-
"summary": "Run one
|
|
1328
|
-
"short": "Run one
|
|
1329
|
-
"headline": "run one
|
|
1330
|
-
"usage": "w6w
|
|
1331
|
-
"naming": "w6w
|
|
1445
|
+
"summary": "Run one Function by its key (or id) and return its output.",
|
|
1446
|
+
"short": "Run one Function by its key (or id) and return its output",
|
|
1447
|
+
"headline": "run one Function by its key (or id) and return its output",
|
|
1448
|
+
"usage": "w6w functions run <name> [options]",
|
|
1449
|
+
"naming": "w6w functions run <name> [--payload <json>]",
|
|
1332
1450
|
"status": "required",
|
|
1333
1451
|
"params": [
|
|
1334
1452
|
{
|
|
1335
1453
|
"name": "idOrKey",
|
|
1336
|
-
"kind": "
|
|
1337
|
-
"display": "
|
|
1338
|
-
"description": "
|
|
1454
|
+
"kind": "argument",
|
|
1455
|
+
"display": "<name>",
|
|
1456
|
+
"description": "Function key or id (e.g. send-email)",
|
|
1339
1457
|
"required": true,
|
|
1340
1458
|
},
|
|
1341
1459
|
{
|
|
1342
|
-
"name": "
|
|
1460
|
+
"name": "inputs",
|
|
1343
1461
|
"kind": "flag",
|
|
1344
|
-
"display": "--
|
|
1345
|
-
"description": "The
|
|
1462
|
+
"display": "--payload <json>",
|
|
1463
|
+
"description": "The Function's inputs, as a JSON object",
|
|
1464
|
+
"required": false,
|
|
1465
|
+
},
|
|
1466
|
+
{
|
|
1467
|
+
"name": "allowUnpublished",
|
|
1468
|
+
"kind": "flag",
|
|
1469
|
+
"display": "--allow-unpublished",
|
|
1470
|
+
"description": "Run the saved draft even if it was never published (sent only when given)",
|
|
1346
1471
|
"required": false,
|
|
1347
1472
|
},
|
|
1348
1473
|
{
|
|
@@ -1354,53 +1479,830 @@ export const HELP_TREE = {
|
|
|
1354
1479
|
},
|
|
1355
1480
|
],
|
|
1356
1481
|
"examples": [
|
|
1357
|
-
"w6w
|
|
1358
|
-
'w6w
|
|
1482
|
+
"w6w functions run send-email",
|
|
1483
|
+
'w6w functions run send-email --payload \'{"to":"a@b.com"}\'',
|
|
1484
|
+
"w6w functions run fn_01HQ8N --json",
|
|
1485
|
+
"w6w functions run send-email --allow-unpublished",
|
|
1486
|
+
],
|
|
1487
|
+
"notes": [
|
|
1488
|
+
"--allow-unpublished runs the STORED draft even if it was never published (a disabled Function is still refused). It is sent only when given.",
|
|
1359
1489
|
],
|
|
1360
|
-
"notes": [],
|
|
1361
|
-
},
|
|
1362
|
-
],
|
|
1363
|
-
"options": [
|
|
1364
|
-
{
|
|
1365
|
-
"name": "idOrKey",
|
|
1366
|
-
"kind": "flag",
|
|
1367
|
-
"display": "--id-or-key <value>",
|
|
1368
|
-
"description": "Endpoint key or id (e.g. send-email)",
|
|
1369
|
-
"required": true,
|
|
1370
1490
|
},
|
|
1371
1491
|
{
|
|
1372
|
-
"
|
|
1373
|
-
"
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1492
|
+
"operation": "functions.list",
|
|
1493
|
+
"path": [
|
|
1494
|
+
"functions",
|
|
1495
|
+
"list",
|
|
1496
|
+
],
|
|
1497
|
+
"name": "list",
|
|
1498
|
+
"aliases": [],
|
|
1499
|
+
"summary": "List the caller's Function definitions.",
|
|
1500
|
+
"short": "List the caller's Function definitions",
|
|
1501
|
+
"headline": "list the caller's Function definitions",
|
|
1502
|
+
"usage": "w6w functions list [options]",
|
|
1503
|
+
"naming": "w6w functions list",
|
|
1504
|
+
"status": "required",
|
|
1505
|
+
"params": [
|
|
1506
|
+
{
|
|
1507
|
+
"name": "json",
|
|
1508
|
+
"kind": "flag",
|
|
1509
|
+
"display": "--json",
|
|
1510
|
+
"description": "Output raw JSON instead of a table",
|
|
1511
|
+
"required": false,
|
|
1512
|
+
},
|
|
1513
|
+
],
|
|
1514
|
+
"examples": [
|
|
1515
|
+
"w6w functions list",
|
|
1516
|
+
"w6w functions list --json",
|
|
1517
|
+
],
|
|
1518
|
+
"notes": [],
|
|
1519
|
+
},
|
|
1520
|
+
{
|
|
1521
|
+
"operation": "functions.get",
|
|
1522
|
+
"path": [
|
|
1523
|
+
"functions",
|
|
1524
|
+
"get",
|
|
1525
|
+
],
|
|
1526
|
+
"name": "get",
|
|
1527
|
+
"aliases": [],
|
|
1528
|
+
"summary": "Fetch one Function's stored definition.",
|
|
1529
|
+
"short": "Fetch one Function's stored definition",
|
|
1530
|
+
"headline": "fetch one Function's stored definition",
|
|
1531
|
+
"usage": "w6w functions get <id> [options]",
|
|
1532
|
+
"naming": "w6w functions get <id>",
|
|
1533
|
+
"status": "required",
|
|
1534
|
+
"params": [
|
|
1535
|
+
{
|
|
1536
|
+
"name": "id",
|
|
1537
|
+
"kind": "argument",
|
|
1538
|
+
"display": "<id>",
|
|
1539
|
+
"description": "Function id or key (see: w6w functions list)",
|
|
1540
|
+
"required": true,
|
|
1541
|
+
},
|
|
1542
|
+
{
|
|
1543
|
+
"name": "json",
|
|
1544
|
+
"kind": "flag",
|
|
1545
|
+
"display": "--json",
|
|
1546
|
+
"description": "Output raw JSON instead of a table",
|
|
1547
|
+
"required": false,
|
|
1548
|
+
},
|
|
1549
|
+
],
|
|
1550
|
+
"examples": [
|
|
1551
|
+
"w6w functions get send-email",
|
|
1552
|
+
"w6w functions get fn_01HQ8N --json",
|
|
1553
|
+
],
|
|
1554
|
+
"notes": [],
|
|
1555
|
+
},
|
|
1556
|
+
{
|
|
1557
|
+
"operation": "functions.create",
|
|
1558
|
+
"path": [
|
|
1559
|
+
"functions",
|
|
1560
|
+
"create",
|
|
1561
|
+
],
|
|
1562
|
+
"name": "create",
|
|
1563
|
+
"aliases": [],
|
|
1564
|
+
"summary": "Create a Function definition.",
|
|
1565
|
+
"short": "Create a Function definition",
|
|
1566
|
+
"headline": "create a Function definition",
|
|
1567
|
+
"usage": "w6w functions create --definition <json> [options]",
|
|
1568
|
+
"naming": "w6w functions create --definition <json>",
|
|
1569
|
+
"status": "required",
|
|
1570
|
+
"params": [
|
|
1571
|
+
{
|
|
1572
|
+
"name": "definition",
|
|
1573
|
+
"kind": "flag",
|
|
1574
|
+
"display": "--definition <json>",
|
|
1575
|
+
"description": "The whole definition, as a JSON object",
|
|
1576
|
+
"required": true,
|
|
1577
|
+
},
|
|
1578
|
+
{
|
|
1579
|
+
"name": "json",
|
|
1580
|
+
"kind": "flag",
|
|
1581
|
+
"display": "--json",
|
|
1582
|
+
"description": "Output raw JSON instead of a table",
|
|
1583
|
+
"required": false,
|
|
1584
|
+
},
|
|
1585
|
+
],
|
|
1586
|
+
"examples": [
|
|
1587
|
+
'w6w functions create --definition \'{"manifestVersion":"1","key":"send-email","inputs":[]}\'',
|
|
1588
|
+
'w6w functions create --definition "$(cat function.json)"',
|
|
1589
|
+
],
|
|
1590
|
+
"notes": [],
|
|
1591
|
+
},
|
|
1592
|
+
{
|
|
1593
|
+
"operation": "functions.update",
|
|
1594
|
+
"path": [
|
|
1595
|
+
"functions",
|
|
1596
|
+
"update",
|
|
1597
|
+
],
|
|
1598
|
+
"name": "update",
|
|
1599
|
+
"aliases": [],
|
|
1600
|
+
"summary": "Overwrite a Function definition.",
|
|
1601
|
+
"short": "Overwrite a Function definition",
|
|
1602
|
+
"headline": "overwrite a Function definition",
|
|
1603
|
+
"usage": "w6w functions update <id> --definition <json> [options]",
|
|
1604
|
+
"naming": "w6w functions update <id> --definition <json>",
|
|
1605
|
+
"status": "required",
|
|
1606
|
+
"params": [
|
|
1607
|
+
{
|
|
1608
|
+
"name": "id",
|
|
1609
|
+
"kind": "argument",
|
|
1610
|
+
"display": "<id>",
|
|
1611
|
+
"description": "Function id or key (see: w6w functions list)",
|
|
1612
|
+
"required": true,
|
|
1613
|
+
},
|
|
1614
|
+
{
|
|
1615
|
+
"name": "definition",
|
|
1616
|
+
"kind": "flag",
|
|
1617
|
+
"display": "--definition <json>",
|
|
1618
|
+
"description": "The whole definition, as a JSON object",
|
|
1619
|
+
"required": true,
|
|
1620
|
+
},
|
|
1621
|
+
{
|
|
1622
|
+
"name": "json",
|
|
1623
|
+
"kind": "flag",
|
|
1624
|
+
"display": "--json",
|
|
1625
|
+
"description": "Output raw JSON instead of a table",
|
|
1626
|
+
"required": false,
|
|
1627
|
+
},
|
|
1628
|
+
],
|
|
1629
|
+
"examples": [
|
|
1630
|
+
'w6w functions update fn_01HQ8N --definition "$(cat function.json)"',
|
|
1631
|
+
],
|
|
1632
|
+
"notes": [],
|
|
1633
|
+
},
|
|
1634
|
+
{
|
|
1635
|
+
"operation": "functions.delete",
|
|
1636
|
+
"path": [
|
|
1637
|
+
"functions",
|
|
1638
|
+
"delete",
|
|
1639
|
+
],
|
|
1640
|
+
"name": "delete",
|
|
1641
|
+
"aliases": [],
|
|
1642
|
+
"summary": "Delete a Function.",
|
|
1643
|
+
"short": "Delete a Function",
|
|
1644
|
+
"headline": "delete a Function",
|
|
1645
|
+
"usage": "w6w functions delete <id> [options]",
|
|
1646
|
+
"naming": "w6w functions delete <id>",
|
|
1647
|
+
"status": "required",
|
|
1648
|
+
"params": [
|
|
1649
|
+
{
|
|
1650
|
+
"name": "id",
|
|
1651
|
+
"kind": "argument",
|
|
1652
|
+
"display": "<id>",
|
|
1653
|
+
"description": "Function id or key (see: w6w functions list)",
|
|
1654
|
+
"required": true,
|
|
1655
|
+
},
|
|
1656
|
+
{
|
|
1657
|
+
"name": "json",
|
|
1658
|
+
"kind": "flag",
|
|
1659
|
+
"display": "--json",
|
|
1660
|
+
"description": "Output raw JSON instead of a table",
|
|
1661
|
+
"required": false,
|
|
1662
|
+
},
|
|
1663
|
+
],
|
|
1664
|
+
"examples": [
|
|
1665
|
+
"w6w functions delete fn_01HQ8N",
|
|
1666
|
+
],
|
|
1667
|
+
"notes": [],
|
|
1668
|
+
},
|
|
1669
|
+
{
|
|
1670
|
+
"operation": "functions.archive",
|
|
1671
|
+
"path": [
|
|
1672
|
+
"functions",
|
|
1673
|
+
"archive",
|
|
1674
|
+
],
|
|
1675
|
+
"name": "archive",
|
|
1676
|
+
"aliases": [],
|
|
1677
|
+
"summary": "Archive a Function — the required step before deleting it.",
|
|
1678
|
+
"short": "Archive a Function",
|
|
1679
|
+
"headline": "archive a Function — the required step before deleting it",
|
|
1680
|
+
"usage": "w6w functions archive <id> [options]",
|
|
1681
|
+
"naming": "w6w functions archive <id>",
|
|
1682
|
+
"status": "required",
|
|
1683
|
+
"params": [
|
|
1684
|
+
{
|
|
1685
|
+
"name": "id",
|
|
1686
|
+
"kind": "argument",
|
|
1687
|
+
"display": "<id>",
|
|
1688
|
+
"description": "Function id or key (see: w6w functions list)",
|
|
1689
|
+
"required": true,
|
|
1690
|
+
},
|
|
1691
|
+
{
|
|
1692
|
+
"name": "json",
|
|
1693
|
+
"kind": "flag",
|
|
1694
|
+
"display": "--json",
|
|
1695
|
+
"description": "Output raw JSON instead of a table",
|
|
1696
|
+
"required": false,
|
|
1697
|
+
},
|
|
1698
|
+
],
|
|
1699
|
+
"examples": [
|
|
1700
|
+
"w6w functions archive fn_01HQ8N",
|
|
1701
|
+
"w6w functions delete fn_01HQ8N",
|
|
1702
|
+
],
|
|
1703
|
+
"notes": [],
|
|
1704
|
+
},
|
|
1705
|
+
{
|
|
1706
|
+
"operation": "functions.listVersions",
|
|
1707
|
+
"path": [
|
|
1708
|
+
"functions",
|
|
1709
|
+
"versions",
|
|
1710
|
+
],
|
|
1711
|
+
"name": "versions",
|
|
1712
|
+
"aliases": [],
|
|
1713
|
+
"summary": "List a function's published versions.",
|
|
1714
|
+
"short": "List a function's published versions",
|
|
1715
|
+
"headline": "list a function's published versions",
|
|
1716
|
+
"usage": "w6w functions versions <id> [options]",
|
|
1717
|
+
"naming": "w6w functions versions <id>",
|
|
1718
|
+
"status": "required",
|
|
1719
|
+
"params": [
|
|
1720
|
+
{
|
|
1721
|
+
"name": "id",
|
|
1722
|
+
"kind": "argument",
|
|
1723
|
+
"display": "<id>",
|
|
1724
|
+
"description": "Function id or key (see: w6w functions list)",
|
|
1725
|
+
"required": true,
|
|
1726
|
+
},
|
|
1727
|
+
{
|
|
1728
|
+
"name": "json",
|
|
1729
|
+
"kind": "flag",
|
|
1730
|
+
"display": "--json",
|
|
1731
|
+
"description": "Output raw JSON instead of a table",
|
|
1732
|
+
"required": false,
|
|
1733
|
+
},
|
|
1734
|
+
],
|
|
1735
|
+
"examples": [
|
|
1736
|
+
"w6w functions versions fn_01HQ8N",
|
|
1737
|
+
"w6w functions versions fn_01HQ8N --json",
|
|
1738
|
+
],
|
|
1739
|
+
"notes": [],
|
|
1740
|
+
},
|
|
1741
|
+
{
|
|
1742
|
+
"operation": "functions.getVersion",
|
|
1743
|
+
"path": [
|
|
1744
|
+
"functions",
|
|
1745
|
+
"version",
|
|
1746
|
+
],
|
|
1747
|
+
"name": "version",
|
|
1748
|
+
"aliases": [],
|
|
1749
|
+
"summary": "Read one published version of a function, with its definition.",
|
|
1750
|
+
"short": "Read one published version of a function, with its definition",
|
|
1751
|
+
"headline": "read one published version of a function, with its definition",
|
|
1752
|
+
"usage": "w6w functions version <id> <n> [options]",
|
|
1753
|
+
"naming": "w6w functions version <id> <n>",
|
|
1754
|
+
"status": "required",
|
|
1755
|
+
"params": [
|
|
1756
|
+
{
|
|
1757
|
+
"name": "id",
|
|
1758
|
+
"kind": "argument",
|
|
1759
|
+
"display": "<id>",
|
|
1760
|
+
"description": "Function id or key (see: w6w functions list)",
|
|
1761
|
+
"required": true,
|
|
1762
|
+
},
|
|
1763
|
+
{
|
|
1764
|
+
"name": "n",
|
|
1765
|
+
"kind": "argument",
|
|
1766
|
+
"display": "<n>",
|
|
1767
|
+
"description": "Version number (see: w6w <workflows|functions> versions <id>)",
|
|
1768
|
+
"required": true,
|
|
1769
|
+
},
|
|
1770
|
+
{
|
|
1771
|
+
"name": "json",
|
|
1772
|
+
"kind": "flag",
|
|
1773
|
+
"display": "--json",
|
|
1774
|
+
"description": "Output raw JSON instead of a table",
|
|
1775
|
+
"required": false,
|
|
1776
|
+
},
|
|
1777
|
+
],
|
|
1778
|
+
"examples": [
|
|
1779
|
+
"w6w functions version fn_01HQ8N 3",
|
|
1780
|
+
"w6w functions version fn_01HQ8N 3 --json",
|
|
1781
|
+
],
|
|
1782
|
+
"notes": [],
|
|
1783
|
+
},
|
|
1784
|
+
{
|
|
1785
|
+
"operation": "functions.publish",
|
|
1786
|
+
"path": [
|
|
1787
|
+
"functions",
|
|
1788
|
+
"publish",
|
|
1789
|
+
],
|
|
1790
|
+
"name": "publish",
|
|
1791
|
+
"aliases": [],
|
|
1792
|
+
"summary": "Publish the function's stored definition as a new immutable version.",
|
|
1793
|
+
"short": "Publish the function's stored definition as a new immutable version",
|
|
1794
|
+
"headline": "publish the function's stored definition as a new immutable version",
|
|
1795
|
+
"usage": "w6w functions publish <id> [options]",
|
|
1796
|
+
"naming": "w6w functions publish <id>",
|
|
1797
|
+
"status": "required",
|
|
1798
|
+
"params": [
|
|
1799
|
+
{
|
|
1800
|
+
"name": "id",
|
|
1801
|
+
"kind": "argument",
|
|
1802
|
+
"display": "<id>",
|
|
1803
|
+
"description": "Function id or key (see: w6w functions list)",
|
|
1804
|
+
"required": true,
|
|
1805
|
+
},
|
|
1806
|
+
{
|
|
1807
|
+
"name": "json",
|
|
1808
|
+
"kind": "flag",
|
|
1809
|
+
"display": "--json",
|
|
1810
|
+
"description": "Output raw JSON instead of a table",
|
|
1811
|
+
"required": false,
|
|
1812
|
+
},
|
|
1813
|
+
],
|
|
1814
|
+
"examples": [
|
|
1815
|
+
"w6w functions publish fn_01HQ8N",
|
|
1816
|
+
],
|
|
1817
|
+
"notes": [
|
|
1818
|
+
"Publishes the Function as saved: snapshots the stored row into a new numbered version. Save any pending edit first.",
|
|
1819
|
+
],
|
|
1820
|
+
},
|
|
1821
|
+
{
|
|
1822
|
+
"operation": "functions.revert",
|
|
1823
|
+
"path": [
|
|
1824
|
+
"functions",
|
|
1825
|
+
"revert",
|
|
1826
|
+
],
|
|
1827
|
+
"name": "revert",
|
|
1828
|
+
"aliases": [],
|
|
1829
|
+
"summary": "Rewrite the live function from a published version.",
|
|
1830
|
+
"short": "Rewrite the live function from a published version",
|
|
1831
|
+
"headline": "rewrite the live function from a published version",
|
|
1832
|
+
"usage": "w6w functions revert <id> <n> [options]",
|
|
1833
|
+
"naming": "w6w functions revert <id> <n>",
|
|
1834
|
+
"status": "required",
|
|
1835
|
+
"params": [
|
|
1836
|
+
{
|
|
1837
|
+
"name": "id",
|
|
1838
|
+
"kind": "argument",
|
|
1839
|
+
"display": "<id>",
|
|
1840
|
+
"description": "Function id or key (see: w6w functions list)",
|
|
1841
|
+
"required": true,
|
|
1842
|
+
},
|
|
1843
|
+
{
|
|
1844
|
+
"name": "n",
|
|
1845
|
+
"kind": "argument",
|
|
1846
|
+
"display": "<n>",
|
|
1847
|
+
"description": "Version number (see: w6w <workflows|functions> versions <id>)",
|
|
1848
|
+
"required": true,
|
|
1849
|
+
},
|
|
1850
|
+
{
|
|
1851
|
+
"name": "json",
|
|
1852
|
+
"kind": "flag",
|
|
1853
|
+
"display": "--json",
|
|
1854
|
+
"description": "Output raw JSON instead of a table",
|
|
1855
|
+
"required": false,
|
|
1856
|
+
},
|
|
1857
|
+
],
|
|
1858
|
+
"examples": [
|
|
1859
|
+
"w6w functions revert fn_01HQ8N 2",
|
|
1860
|
+
],
|
|
1861
|
+
"notes": [],
|
|
1862
|
+
},
|
|
1863
|
+
{
|
|
1864
|
+
"operation": "functions.enable",
|
|
1865
|
+
"path": [
|
|
1866
|
+
"functions",
|
|
1867
|
+
"enable",
|
|
1868
|
+
],
|
|
1869
|
+
"name": "enable",
|
|
1870
|
+
"aliases": [],
|
|
1871
|
+
"summary": "Enable the function's invocability.",
|
|
1872
|
+
"short": "Enable the function's invocability",
|
|
1873
|
+
"headline": "enable the function's invocability",
|
|
1874
|
+
"usage": "w6w functions enable <id> [options]",
|
|
1875
|
+
"naming": "w6w functions enable <id>",
|
|
1876
|
+
"status": "required",
|
|
1877
|
+
"params": [
|
|
1878
|
+
{
|
|
1879
|
+
"name": "id",
|
|
1880
|
+
"kind": "argument",
|
|
1881
|
+
"display": "<id>",
|
|
1882
|
+
"description": "Function id or key (see: w6w functions list)",
|
|
1883
|
+
"required": true,
|
|
1884
|
+
},
|
|
1885
|
+
{
|
|
1886
|
+
"name": "json",
|
|
1887
|
+
"kind": "flag",
|
|
1888
|
+
"display": "--json",
|
|
1889
|
+
"description": "Output raw JSON instead of a table",
|
|
1890
|
+
"required": false,
|
|
1891
|
+
},
|
|
1892
|
+
],
|
|
1893
|
+
"examples": [
|
|
1894
|
+
"w6w functions enable fn_01HQ8N",
|
|
1895
|
+
],
|
|
1896
|
+
"notes": [],
|
|
1897
|
+
},
|
|
1898
|
+
{
|
|
1899
|
+
"operation": "functions.disable",
|
|
1900
|
+
"path": [
|
|
1901
|
+
"functions",
|
|
1902
|
+
"disable",
|
|
1903
|
+
],
|
|
1904
|
+
"name": "disable",
|
|
1905
|
+
"aliases": [],
|
|
1906
|
+
"summary": "Disable the function's invocability.",
|
|
1907
|
+
"short": "Disable the function's invocability",
|
|
1908
|
+
"headline": "disable the function's invocability",
|
|
1909
|
+
"usage": "w6w functions disable <id> [options]",
|
|
1910
|
+
"naming": "w6w functions disable <id>",
|
|
1911
|
+
"status": "required",
|
|
1912
|
+
"params": [
|
|
1913
|
+
{
|
|
1914
|
+
"name": "id",
|
|
1915
|
+
"kind": "argument",
|
|
1916
|
+
"display": "<id>",
|
|
1917
|
+
"description": "Function id or key (see: w6w functions list)",
|
|
1918
|
+
"required": true,
|
|
1919
|
+
},
|
|
1920
|
+
{
|
|
1921
|
+
"name": "json",
|
|
1922
|
+
"kind": "flag",
|
|
1923
|
+
"display": "--json",
|
|
1924
|
+
"description": "Output raw JSON instead of a table",
|
|
1925
|
+
"required": false,
|
|
1926
|
+
},
|
|
1927
|
+
],
|
|
1928
|
+
"examples": [
|
|
1929
|
+
"w6w functions disable fn_01HQ8N",
|
|
1930
|
+
],
|
|
1931
|
+
"notes": [],
|
|
1932
|
+
},
|
|
1933
|
+
{
|
|
1934
|
+
"operation": "functions.runVersion",
|
|
1935
|
+
"path": [
|
|
1936
|
+
"functions",
|
|
1937
|
+
"run-version",
|
|
1938
|
+
],
|
|
1939
|
+
"name": "run-version",
|
|
1940
|
+
"aliases": [],
|
|
1941
|
+
"summary": "Run one published version of a Function and return its output.",
|
|
1942
|
+
"short": "Run one published version of a Function and return its output",
|
|
1943
|
+
"headline": "run one published version of a Function and return its output",
|
|
1944
|
+
"usage": "w6w functions run-version <id> <n> [options]",
|
|
1945
|
+
"naming": "w6w functions run-version <id> <n> [--payload <json>]",
|
|
1946
|
+
"status": "required",
|
|
1947
|
+
"params": [
|
|
1948
|
+
{
|
|
1949
|
+
"name": "id",
|
|
1950
|
+
"kind": "argument",
|
|
1951
|
+
"display": "<id>",
|
|
1952
|
+
"description": "Function id or key (see: w6w functions list)",
|
|
1953
|
+
"required": true,
|
|
1954
|
+
},
|
|
1955
|
+
{
|
|
1956
|
+
"name": "n",
|
|
1957
|
+
"kind": "argument",
|
|
1958
|
+
"display": "<n>",
|
|
1959
|
+
"description": "Version number (see: w6w <workflows|functions> versions <id>)",
|
|
1960
|
+
"required": true,
|
|
1961
|
+
},
|
|
1962
|
+
{
|
|
1963
|
+
"name": "inputs",
|
|
1964
|
+
"kind": "flag",
|
|
1965
|
+
"display": "--payload <json>",
|
|
1966
|
+
"description": "The Function's inputs, as a JSON object",
|
|
1967
|
+
"required": false,
|
|
1968
|
+
},
|
|
1969
|
+
{
|
|
1970
|
+
"name": "json",
|
|
1971
|
+
"kind": "flag",
|
|
1972
|
+
"display": "--json",
|
|
1973
|
+
"description": "Output raw JSON instead of a table",
|
|
1974
|
+
"required": false,
|
|
1975
|
+
},
|
|
1976
|
+
],
|
|
1977
|
+
"examples": [
|
|
1978
|
+
"w6w functions run-version send-email 3",
|
|
1979
|
+
'w6w functions run-version fn_01HQ8N 3 --payload \'{"to":"a@b.com"}\'',
|
|
1980
|
+
],
|
|
1981
|
+
"notes": [
|
|
1982
|
+
"Runs the published snapshot numbered <n> and prints the Function's output, as `w6w functions run` does.",
|
|
1983
|
+
],
|
|
1984
|
+
},
|
|
1985
|
+
],
|
|
1986
|
+
"options": [],
|
|
1987
|
+
"examples": [
|
|
1988
|
+
"w6w functions run send-email",
|
|
1989
|
+
],
|
|
1990
|
+
},
|
|
1991
|
+
{
|
|
1992
|
+
"name": "endpoints",
|
|
1993
|
+
"summary": "Run endpoints by key or id",
|
|
1994
|
+
"headline": "run endpoints by key or id",
|
|
1995
|
+
"usage": "w6w endpoints <command> [options]",
|
|
1996
|
+
"commands": [
|
|
1997
|
+
{
|
|
1998
|
+
"operation": "endpoints.run",
|
|
1999
|
+
"path": [
|
|
2000
|
+
"endpoints",
|
|
2001
|
+
"run",
|
|
2002
|
+
],
|
|
2003
|
+
"name": "run",
|
|
2004
|
+
"aliases": [],
|
|
2005
|
+
"summary": "Run one Endpoint by its key (or id); the envelope's kind says which arm answered.",
|
|
2006
|
+
"short": "Run one Endpoint by its key (or id); the envelope's kind says which arm answered",
|
|
2007
|
+
"headline": "run one Endpoint by its key (or id); the envelope's kind says which arm answered",
|
|
2008
|
+
"usage": "w6w endpoints run <name> [options]",
|
|
2009
|
+
"naming": "w6w endpoints run <name> [--payload <json>]",
|
|
2010
|
+
"status": "required",
|
|
2011
|
+
"params": [
|
|
2012
|
+
{
|
|
2013
|
+
"name": "idOrKey",
|
|
2014
|
+
"kind": "argument",
|
|
2015
|
+
"display": "<name>",
|
|
2016
|
+
"description": "Endpoint key or id (e.g. send-email)",
|
|
2017
|
+
"required": true,
|
|
2018
|
+
},
|
|
2019
|
+
{
|
|
2020
|
+
"name": "input",
|
|
2021
|
+
"kind": "flag",
|
|
2022
|
+
"display": "--payload <json>",
|
|
2023
|
+
"description": "The Endpoint's input, as a JSON object",
|
|
2024
|
+
"required": false,
|
|
2025
|
+
},
|
|
2026
|
+
{
|
|
2027
|
+
"name": "json",
|
|
2028
|
+
"kind": "flag",
|
|
2029
|
+
"display": "--json",
|
|
2030
|
+
"description": "Output raw JSON instead of a table",
|
|
2031
|
+
"required": false,
|
|
2032
|
+
},
|
|
2033
|
+
],
|
|
2034
|
+
"examples": [
|
|
2035
|
+
"w6w endpoints run send-email",
|
|
2036
|
+
'w6w endpoints run send-email --payload \'{"to":"a@b.com"}\'',
|
|
2037
|
+
],
|
|
2038
|
+
"notes": [],
|
|
2039
|
+
},
|
|
2040
|
+
],
|
|
2041
|
+
"options": [
|
|
2042
|
+
{
|
|
2043
|
+
"name": "input",
|
|
2044
|
+
"kind": "flag",
|
|
2045
|
+
"display": "--payload <json>",
|
|
2046
|
+
"description": "The Endpoint's input, as a JSON object",
|
|
2047
|
+
"required": false,
|
|
2048
|
+
},
|
|
2049
|
+
],
|
|
2050
|
+
"examples": [
|
|
2051
|
+
"w6w endpoints run send-email",
|
|
2052
|
+
],
|
|
2053
|
+
},
|
|
2054
|
+
{
|
|
2055
|
+
"name": "team",
|
|
2056
|
+
"summary": "Invite, list and manage your account's team",
|
|
2057
|
+
"headline": "invite, list and manage your account's team",
|
|
2058
|
+
"usage": "w6w team <command> [options]",
|
|
2059
|
+
"commands": [
|
|
2060
|
+
{
|
|
2061
|
+
"operation": "team.members.list",
|
|
2062
|
+
"path": [
|
|
2063
|
+
"team",
|
|
2064
|
+
"members",
|
|
2065
|
+
],
|
|
2066
|
+
"name": "members",
|
|
2067
|
+
"aliases": [],
|
|
2068
|
+
"summary": "List the caller's account team: every active member and their role.",
|
|
2069
|
+
"short": "List the caller's account team: every active member and their role",
|
|
2070
|
+
"headline": "list the caller's account team: every active member and their role",
|
|
2071
|
+
"usage": "w6w team members [options]",
|
|
2072
|
+
"naming": "w6w team members",
|
|
2073
|
+
"status": "required",
|
|
2074
|
+
"params": [
|
|
2075
|
+
{
|
|
2076
|
+
"name": "json",
|
|
2077
|
+
"kind": "flag",
|
|
2078
|
+
"display": "--json",
|
|
2079
|
+
"description": "Output raw JSON instead of a table",
|
|
2080
|
+
"required": false,
|
|
2081
|
+
},
|
|
2082
|
+
],
|
|
2083
|
+
"examples": [
|
|
2084
|
+
"w6w team members",
|
|
2085
|
+
],
|
|
2086
|
+
"notes": [],
|
|
2087
|
+
},
|
|
2088
|
+
{
|
|
2089
|
+
"operation": "team.invites.create",
|
|
2090
|
+
"path": [
|
|
2091
|
+
"team",
|
|
2092
|
+
"invite",
|
|
2093
|
+
],
|
|
2094
|
+
"name": "invite",
|
|
2095
|
+
"aliases": [],
|
|
2096
|
+
"summary": "Invite someone to the caller's account, or mint an open, shareable invite link.",
|
|
2097
|
+
"short": "Invite someone to the caller's account, or mint an open, shareable invite link",
|
|
2098
|
+
"headline": "invite someone to the caller's account, or mint an open, shareable invite link",
|
|
2099
|
+
"usage": "w6w team invite [options]",
|
|
2100
|
+
"naming": "w6w team invite [--email <email>] [--role <role>]",
|
|
2101
|
+
"status": "required",
|
|
2102
|
+
"params": [
|
|
2103
|
+
{
|
|
2104
|
+
"name": "email",
|
|
2105
|
+
"kind": "flag",
|
|
2106
|
+
"display": "--email <email>",
|
|
2107
|
+
"description": "Address to invite (omit for an open, shareable invite link)",
|
|
2108
|
+
"required": false,
|
|
2109
|
+
},
|
|
2110
|
+
{
|
|
2111
|
+
"name": "role",
|
|
2112
|
+
"kind": "flag",
|
|
2113
|
+
"display": "--role <role>",
|
|
2114
|
+
"description": "Role to grant on redemption (default: member)",
|
|
2115
|
+
"required": false,
|
|
2116
|
+
},
|
|
2117
|
+
{
|
|
2118
|
+
"name": "json",
|
|
2119
|
+
"kind": "flag",
|
|
2120
|
+
"display": "--json",
|
|
2121
|
+
"description": "Output raw JSON instead of a table",
|
|
2122
|
+
"required": false,
|
|
2123
|
+
},
|
|
2124
|
+
],
|
|
2125
|
+
"examples": [
|
|
2126
|
+
"w6w team invite --email new@example.com --role admin",
|
|
2127
|
+
"w6w team invite",
|
|
2128
|
+
],
|
|
2129
|
+
"notes": [],
|
|
2130
|
+
},
|
|
2131
|
+
{
|
|
2132
|
+
"operation": "team.invites.list",
|
|
2133
|
+
"path": [
|
|
2134
|
+
"team",
|
|
2135
|
+
"invites",
|
|
2136
|
+
],
|
|
2137
|
+
"name": "invites",
|
|
2138
|
+
"aliases": [],
|
|
2139
|
+
"summary": "List the caller's account's open (pending, unrevoked, unexpired) invites.",
|
|
2140
|
+
"short": "List the caller's account's open (pending, unrevoked, unexpired) invites",
|
|
2141
|
+
"headline": "list the caller's account's open (pending, unrevoked, unexpired) invites",
|
|
2142
|
+
"usage": "w6w team invites [options]",
|
|
2143
|
+
"naming": "w6w team invites",
|
|
2144
|
+
"status": "required",
|
|
2145
|
+
"params": [
|
|
2146
|
+
{
|
|
2147
|
+
"name": "json",
|
|
2148
|
+
"kind": "flag",
|
|
2149
|
+
"display": "--json",
|
|
2150
|
+
"description": "Output raw JSON instead of a table",
|
|
2151
|
+
"required": false,
|
|
2152
|
+
},
|
|
2153
|
+
],
|
|
2154
|
+
"examples": [
|
|
2155
|
+
"w6w team invites",
|
|
2156
|
+
],
|
|
2157
|
+
"notes": [],
|
|
2158
|
+
},
|
|
2159
|
+
{
|
|
2160
|
+
"operation": "team.invites.revoke",
|
|
2161
|
+
"path": [
|
|
2162
|
+
"team",
|
|
2163
|
+
"revoke-invite",
|
|
2164
|
+
],
|
|
2165
|
+
"name": "revoke-invite",
|
|
2166
|
+
"aliases": [],
|
|
2167
|
+
"summary": "Revoke a pending invite before it is redeemed.",
|
|
2168
|
+
"short": "Revoke a pending invite before it is redeemed",
|
|
2169
|
+
"headline": "revoke a pending invite before it is redeemed",
|
|
2170
|
+
"usage": "w6w team revoke-invite <id> [options]",
|
|
2171
|
+
"naming": "w6w team revoke-invite <id>",
|
|
2172
|
+
"status": "required",
|
|
2173
|
+
"params": [
|
|
2174
|
+
{
|
|
2175
|
+
"name": "id",
|
|
2176
|
+
"kind": "argument",
|
|
2177
|
+
"display": "<id>",
|
|
2178
|
+
"description": "Invite id (see: w6w team invites)",
|
|
2179
|
+
"required": true,
|
|
2180
|
+
},
|
|
2181
|
+
{
|
|
2182
|
+
"name": "json",
|
|
2183
|
+
"kind": "flag",
|
|
2184
|
+
"display": "--json",
|
|
2185
|
+
"description": "Output raw JSON instead of a table",
|
|
2186
|
+
"required": false,
|
|
2187
|
+
},
|
|
2188
|
+
],
|
|
2189
|
+
"examples": [
|
|
2190
|
+
"w6w team revoke-invite inv_01HQ8N",
|
|
2191
|
+
],
|
|
2192
|
+
"notes": [],
|
|
2193
|
+
},
|
|
2194
|
+
{
|
|
2195
|
+
"operation": "team.members.updateRole",
|
|
2196
|
+
"path": [
|
|
2197
|
+
"team",
|
|
2198
|
+
"set-role",
|
|
2199
|
+
],
|
|
2200
|
+
"name": "set-role",
|
|
2201
|
+
"aliases": [],
|
|
2202
|
+
"summary": "Change a team member's role.",
|
|
2203
|
+
"short": "Change a team member's role",
|
|
2204
|
+
"headline": "change a team member's role",
|
|
2205
|
+
"usage": "w6w team set-role <userId> --role <role> [options]",
|
|
2206
|
+
"naming": "w6w team set-role <userId> --role <role>",
|
|
2207
|
+
"status": "required",
|
|
2208
|
+
"params": [
|
|
2209
|
+
{
|
|
2210
|
+
"name": "userId",
|
|
2211
|
+
"kind": "argument",
|
|
2212
|
+
"display": "<userId>",
|
|
2213
|
+
"description": "Member's user id (see: w6w team members)",
|
|
2214
|
+
"required": true,
|
|
2215
|
+
},
|
|
2216
|
+
{
|
|
2217
|
+
"name": "role",
|
|
2218
|
+
"kind": "flag",
|
|
2219
|
+
"display": "--role <role>",
|
|
2220
|
+
"description": "Role to set: member|admin (owner is not settable)",
|
|
2221
|
+
"required": true,
|
|
2222
|
+
},
|
|
2223
|
+
{
|
|
2224
|
+
"name": "json",
|
|
2225
|
+
"kind": "flag",
|
|
2226
|
+
"display": "--json",
|
|
2227
|
+
"description": "Output raw JSON instead of a table",
|
|
2228
|
+
"required": false,
|
|
2229
|
+
},
|
|
2230
|
+
],
|
|
2231
|
+
"examples": [
|
|
2232
|
+
"w6w team set-role usr_01HQ8N --role admin",
|
|
2233
|
+
],
|
|
2234
|
+
"notes": [],
|
|
2235
|
+
},
|
|
2236
|
+
{
|
|
2237
|
+
"operation": "team.members.remove",
|
|
2238
|
+
"path": [
|
|
2239
|
+
"team",
|
|
2240
|
+
"remove-member",
|
|
2241
|
+
],
|
|
2242
|
+
"name": "remove-member",
|
|
2243
|
+
"aliases": [],
|
|
2244
|
+
"summary": "Remove a member from the caller's account.",
|
|
2245
|
+
"short": "Remove a member from the caller's account",
|
|
2246
|
+
"headline": "remove a member from the caller's account",
|
|
2247
|
+
"usage": "w6w team remove-member <userId> [options]",
|
|
2248
|
+
"naming": "w6w team remove-member <userId>",
|
|
2249
|
+
"status": "required",
|
|
2250
|
+
"params": [
|
|
2251
|
+
{
|
|
2252
|
+
"name": "userId",
|
|
2253
|
+
"kind": "argument",
|
|
2254
|
+
"display": "<userId>",
|
|
2255
|
+
"description": "Member's user id (see: w6w team members)",
|
|
2256
|
+
"required": true,
|
|
2257
|
+
},
|
|
2258
|
+
{
|
|
2259
|
+
"name": "json",
|
|
2260
|
+
"kind": "flag",
|
|
2261
|
+
"display": "--json",
|
|
2262
|
+
"description": "Output raw JSON instead of a table",
|
|
2263
|
+
"required": false,
|
|
2264
|
+
},
|
|
2265
|
+
],
|
|
2266
|
+
"examples": [
|
|
2267
|
+
"w6w team remove-member usr_01HQ8N",
|
|
2268
|
+
],
|
|
2269
|
+
"notes": [],
|
|
1377
2270
|
},
|
|
1378
2271
|
],
|
|
2272
|
+
"options": [],
|
|
1379
2273
|
"examples": [
|
|
1380
|
-
"w6w
|
|
2274
|
+
"w6w team members",
|
|
2275
|
+
"w6w team invite --email new@example.com --role admin",
|
|
1381
2276
|
],
|
|
1382
2277
|
},
|
|
1383
2278
|
{
|
|
1384
|
-
"name": "
|
|
1385
|
-
"summary": "
|
|
1386
|
-
"headline": "
|
|
1387
|
-
"usage": "w6w
|
|
2279
|
+
"name": "apps",
|
|
2280
|
+
"summary": "Look up apps by id",
|
|
2281
|
+
"headline": "look up apps by id",
|
|
2282
|
+
"usage": "w6w apps <command> [options]",
|
|
1388
2283
|
"commands": [
|
|
1389
2284
|
{
|
|
1390
|
-
"operation": "
|
|
2285
|
+
"operation": "apps.byIds",
|
|
1391
2286
|
"path": [
|
|
1392
|
-
"
|
|
1393
|
-
"
|
|
2287
|
+
"apps",
|
|
2288
|
+
"by-ids",
|
|
1394
2289
|
],
|
|
1395
|
-
"name": "
|
|
2290
|
+
"name": "by-ids",
|
|
1396
2291
|
"aliases": [],
|
|
1397
|
-
"summary": "
|
|
1398
|
-
"short": "
|
|
1399
|
-
"headline": "
|
|
1400
|
-
"usage": "w6w
|
|
1401
|
-
"naming": "w6w
|
|
2292
|
+
"summary": "Resolve a set of app ids to their catalog summaries.",
|
|
2293
|
+
"short": "Resolve a set of app ids to their catalog summaries",
|
|
2294
|
+
"headline": "resolve a set of app ids to their catalog summaries",
|
|
2295
|
+
"usage": "w6w apps by-ids <ids> [options]",
|
|
2296
|
+
"naming": "w6w apps by-ids <ids>",
|
|
1402
2297
|
"status": "required",
|
|
1403
2298
|
"params": [
|
|
2299
|
+
{
|
|
2300
|
+
"name": "ids",
|
|
2301
|
+
"kind": "argument",
|
|
2302
|
+
"display": "<ids>",
|
|
2303
|
+
"description": "Comma-separated app ids (e.g. sendgrid,slack); duplicates are dropped",
|
|
2304
|
+
"required": true,
|
|
2305
|
+
},
|
|
1404
2306
|
{
|
|
1405
2307
|
"name": "json",
|
|
1406
2308
|
"kind": "flag",
|
|
@@ -1410,68 +2312,59 @@ export const HELP_TREE = {
|
|
|
1410
2312
|
},
|
|
1411
2313
|
],
|
|
1412
2314
|
"examples": [
|
|
1413
|
-
"w6w
|
|
2315
|
+
"w6w apps by-ids sendgrid,slack",
|
|
2316
|
+
"w6w apps by-ids sendgrid --json",
|
|
1414
2317
|
],
|
|
1415
2318
|
"notes": [],
|
|
1416
2319
|
},
|
|
2320
|
+
],
|
|
2321
|
+
"options": [],
|
|
2322
|
+
"examples": [
|
|
2323
|
+
"w6w apps by-ids sendgrid,slack",
|
|
2324
|
+
],
|
|
2325
|
+
},
|
|
2326
|
+
{
|
|
2327
|
+
"name": "dashboard",
|
|
2328
|
+
"summary": "Run-ledger rollup for your account",
|
|
2329
|
+
"headline": "run-ledger rollup for your account",
|
|
2330
|
+
"usage": "w6w dashboard <command> [options]",
|
|
2331
|
+
"commands": [
|
|
1417
2332
|
{
|
|
1418
|
-
"operation": "
|
|
2333
|
+
"operation": "dashboard.stats",
|
|
1419
2334
|
"path": [
|
|
1420
|
-
"
|
|
1421
|
-
"
|
|
2335
|
+
"dashboard",
|
|
2336
|
+
"stats",
|
|
1422
2337
|
],
|
|
1423
|
-
"name": "
|
|
2338
|
+
"name": "stats",
|
|
1424
2339
|
"aliases": [],
|
|
1425
|
-
"summary": "
|
|
1426
|
-
"short": "
|
|
1427
|
-
"headline": "
|
|
1428
|
-
"usage": "w6w
|
|
1429
|
-
"naming": "w6w
|
|
2340
|
+
"summary": "Account-scoped dashboard rollup over the run ledger.",
|
|
2341
|
+
"short": "Account-scoped dashboard rollup over the run ledger",
|
|
2342
|
+
"headline": "account-scoped dashboard rollup over the run ledger",
|
|
2343
|
+
"usage": "w6w dashboard stats [options]",
|
|
2344
|
+
"naming": "w6w dashboard stats [--from <iso>] [--to <iso>] [--bucket day|week]",
|
|
1430
2345
|
"status": "required",
|
|
1431
2346
|
"params": [
|
|
1432
2347
|
{
|
|
1433
|
-
"name": "
|
|
2348
|
+
"name": "from",
|
|
1434
2349
|
"kind": "flag",
|
|
1435
|
-
"display": "--
|
|
1436
|
-
"description": "
|
|
2350
|
+
"display": "--from <iso>",
|
|
2351
|
+
"description": "Start of the window, ISO-8601 (default: the server's)",
|
|
1437
2352
|
"required": false,
|
|
1438
2353
|
},
|
|
1439
2354
|
{
|
|
1440
|
-
"name": "
|
|
2355
|
+
"name": "to",
|
|
1441
2356
|
"kind": "flag",
|
|
1442
|
-
"display": "--
|
|
1443
|
-
"description": "
|
|
2357
|
+
"display": "--to <iso>",
|
|
2358
|
+
"description": "End of the window, ISO-8601 (default: the server's)",
|
|
1444
2359
|
"required": false,
|
|
1445
2360
|
},
|
|
1446
2361
|
{
|
|
1447
|
-
"name": "
|
|
2362
|
+
"name": "bucket",
|
|
1448
2363
|
"kind": "flag",
|
|
1449
|
-
"display": "--
|
|
1450
|
-
"description": "
|
|
2364
|
+
"display": "--bucket <value>",
|
|
2365
|
+
"description": "Series bucket: day|week (default: the server's)",
|
|
1451
2366
|
"required": false,
|
|
1452
2367
|
},
|
|
1453
|
-
],
|
|
1454
|
-
"examples": [
|
|
1455
|
-
"w6w team invite --email new@example.com --role admin",
|
|
1456
|
-
"w6w team invite",
|
|
1457
|
-
],
|
|
1458
|
-
"notes": [],
|
|
1459
|
-
},
|
|
1460
|
-
{
|
|
1461
|
-
"operation": "team.invites.list",
|
|
1462
|
-
"path": [
|
|
1463
|
-
"team",
|
|
1464
|
-
"invites",
|
|
1465
|
-
],
|
|
1466
|
-
"name": "invites",
|
|
1467
|
-
"aliases": [],
|
|
1468
|
-
"summary": "List the caller's account's open (pending, unrevoked, unexpired) invites.",
|
|
1469
|
-
"short": "List the caller's account's open (pending, unrevoked, unexpired) invites",
|
|
1470
|
-
"headline": "list the caller's account's open (pending, unrevoked, unexpired) invites",
|
|
1471
|
-
"usage": "w6w team invites [options]",
|
|
1472
|
-
"naming": "w6w team invites",
|
|
1473
|
-
"status": "required",
|
|
1474
|
-
"params": [
|
|
1475
2368
|
{
|
|
1476
2369
|
"name": "json",
|
|
1477
2370
|
"kind": "flag",
|
|
@@ -1481,32 +2374,61 @@ export const HELP_TREE = {
|
|
|
1481
2374
|
},
|
|
1482
2375
|
],
|
|
1483
2376
|
"examples": [
|
|
1484
|
-
"w6w
|
|
2377
|
+
"w6w dashboard stats",
|
|
2378
|
+
"w6w dashboard stats --from 2026-10-01T00:00:00Z --to 2026-10-08T00:00:00Z --bucket day",
|
|
1485
2379
|
],
|
|
1486
2380
|
"notes": [],
|
|
1487
2381
|
},
|
|
2382
|
+
],
|
|
2383
|
+
"options": [
|
|
1488
2384
|
{
|
|
1489
|
-
"
|
|
2385
|
+
"name": "from",
|
|
2386
|
+
"kind": "flag",
|
|
2387
|
+
"display": "--from <iso>",
|
|
2388
|
+
"description": "Start of the window, ISO-8601 (default: the server's)",
|
|
2389
|
+
"required": false,
|
|
2390
|
+
},
|
|
2391
|
+
{
|
|
2392
|
+
"name": "to",
|
|
2393
|
+
"kind": "flag",
|
|
2394
|
+
"display": "--to <iso>",
|
|
2395
|
+
"description": "End of the window, ISO-8601 (default: the server's)",
|
|
2396
|
+
"required": false,
|
|
2397
|
+
},
|
|
2398
|
+
{
|
|
2399
|
+
"name": "bucket",
|
|
2400
|
+
"kind": "flag",
|
|
2401
|
+
"display": "--bucket <value>",
|
|
2402
|
+
"description": "Series bucket: day|week (default: the server's)",
|
|
2403
|
+
"required": false,
|
|
2404
|
+
},
|
|
2405
|
+
],
|
|
2406
|
+
"examples": [
|
|
2407
|
+
"w6w dashboard stats",
|
|
2408
|
+
"w6w dashboard stats --bucket week",
|
|
2409
|
+
],
|
|
2410
|
+
},
|
|
2411
|
+
{
|
|
2412
|
+
"name": "projects",
|
|
2413
|
+
"summary": "List your projects",
|
|
2414
|
+
"headline": "list your projects",
|
|
2415
|
+
"usage": "w6w projects <command> [options]",
|
|
2416
|
+
"commands": [
|
|
2417
|
+
{
|
|
2418
|
+
"operation": "projects.list",
|
|
1490
2419
|
"path": [
|
|
1491
|
-
"
|
|
1492
|
-
"
|
|
2420
|
+
"projects",
|
|
2421
|
+
"list",
|
|
1493
2422
|
],
|
|
1494
|
-
"name": "
|
|
2423
|
+
"name": "list",
|
|
1495
2424
|
"aliases": [],
|
|
1496
|
-
"summary": "
|
|
1497
|
-
"short": "
|
|
1498
|
-
"headline": "
|
|
1499
|
-
"usage": "w6w
|
|
1500
|
-
"naming": "w6w
|
|
2425
|
+
"summary": "List the account's active projects.",
|
|
2426
|
+
"short": "List the account's active projects",
|
|
2427
|
+
"headline": "list the account's active projects",
|
|
2428
|
+
"usage": "w6w projects list [options]",
|
|
2429
|
+
"naming": "w6w projects list",
|
|
1501
2430
|
"status": "required",
|
|
1502
2431
|
"params": [
|
|
1503
|
-
{
|
|
1504
|
-
"name": "id",
|
|
1505
|
-
"kind": "argument",
|
|
1506
|
-
"display": "<id>",
|
|
1507
|
-
"description": "Invite id (see: w6w team invites)",
|
|
1508
|
-
"required": true,
|
|
1509
|
-
},
|
|
1510
2432
|
{
|
|
1511
2433
|
"name": "json",
|
|
1512
2434
|
"kind": "flag",
|
|
@@ -1516,39 +2438,66 @@ export const HELP_TREE = {
|
|
|
1516
2438
|
},
|
|
1517
2439
|
],
|
|
1518
2440
|
"examples": [
|
|
1519
|
-
"w6w
|
|
2441
|
+
"w6w projects list",
|
|
2442
|
+
"w6w projects list --json",
|
|
1520
2443
|
],
|
|
1521
2444
|
"notes": [],
|
|
1522
2445
|
},
|
|
2446
|
+
],
|
|
2447
|
+
"options": [],
|
|
2448
|
+
"examples": [
|
|
2449
|
+
"w6w projects list",
|
|
2450
|
+
],
|
|
2451
|
+
},
|
|
2452
|
+
{
|
|
2453
|
+
"name": "reliability",
|
|
2454
|
+
"summary": "Health and performance of the apps you use",
|
|
2455
|
+
"headline": "health and performance of the apps you use",
|
|
2456
|
+
"usage": "w6w reliability <command> [options]",
|
|
2457
|
+
"commands": [
|
|
1523
2458
|
{
|
|
1524
|
-
"operation": "
|
|
2459
|
+
"operation": "reliability.list",
|
|
1525
2460
|
"path": [
|
|
1526
|
-
"
|
|
1527
|
-
"
|
|
2461
|
+
"reliability",
|
|
2462
|
+
"list",
|
|
1528
2463
|
],
|
|
1529
|
-
"name": "
|
|
2464
|
+
"name": "list",
|
|
1530
2465
|
"aliases": [],
|
|
1531
|
-
"summary": "
|
|
1532
|
-
"short": "
|
|
1533
|
-
"headline": "
|
|
1534
|
-
"usage": "w6w
|
|
1535
|
-
"naming": "w6w
|
|
2466
|
+
"summary": "Reliability board for a project and an explicit set of apps.",
|
|
2467
|
+
"short": "Reliability board for a project and an explicit set of apps",
|
|
2468
|
+
"headline": "reliability board for a project and an explicit set of apps",
|
|
2469
|
+
"usage": "w6w reliability list --project <id> --apps <ids> [options]",
|
|
2470
|
+
"naming": "w6w reliability list --project <id> --apps <ids> [--days <n>] [--limit <n>]",
|
|
1536
2471
|
"status": "required",
|
|
1537
2472
|
"params": [
|
|
1538
2473
|
{
|
|
1539
|
-
"name": "
|
|
1540
|
-
"kind": "
|
|
1541
|
-
"display": "<
|
|
1542
|
-
"description": "
|
|
2474
|
+
"name": "project",
|
|
2475
|
+
"kind": "flag",
|
|
2476
|
+
"display": "--project <id>",
|
|
2477
|
+
"description": "Project id (see: w6w projects list)",
|
|
1543
2478
|
"required": true,
|
|
1544
2479
|
},
|
|
1545
2480
|
{
|
|
1546
|
-
"name": "
|
|
2481
|
+
"name": "apps",
|
|
1547
2482
|
"kind": "flag",
|
|
1548
|
-
"display": "--
|
|
1549
|
-
"description": "
|
|
2483
|
+
"display": "--apps <ids>",
|
|
2484
|
+
"description": "Comma-separated app ids, at most 10 (e.g. sendgrid,slack)",
|
|
1550
2485
|
"required": true,
|
|
1551
2486
|
},
|
|
2487
|
+
{
|
|
2488
|
+
"name": "days",
|
|
2489
|
+
"kind": "flag",
|
|
2490
|
+
"display": "--days <n>",
|
|
2491
|
+
"description": "Window length in days, a positive integer",
|
|
2492
|
+
"required": false,
|
|
2493
|
+
},
|
|
2494
|
+
{
|
|
2495
|
+
"name": "limit",
|
|
2496
|
+
"kind": "flag",
|
|
2497
|
+
"display": "--limit <n>",
|
|
2498
|
+
"description": "Maximum services to return, a positive integer",
|
|
2499
|
+
"required": false,
|
|
2500
|
+
},
|
|
1552
2501
|
{
|
|
1553
2502
|
"name": "json",
|
|
1554
2503
|
"kind": "flag",
|
|
@@ -1558,32 +2507,42 @@ export const HELP_TREE = {
|
|
|
1558
2507
|
},
|
|
1559
2508
|
],
|
|
1560
2509
|
"examples": [
|
|
1561
|
-
"w6w
|
|
2510
|
+
"w6w reliability list --project prj_01HQ8N --apps sendgrid,slack",
|
|
2511
|
+
"w6w reliability list --project prj_01HQ8N --apps sendgrid --days 7 --limit 20 --json",
|
|
2512
|
+
],
|
|
2513
|
+
"notes": [
|
|
2514
|
+
"--apps takes at most 10 comma-separated app ids; the server rejects more and its error is shown unchanged. --days and --limit are positive integers.",
|
|
1562
2515
|
],
|
|
1563
|
-
"notes": [],
|
|
1564
2516
|
},
|
|
1565
2517
|
{
|
|
1566
|
-
"operation": "
|
|
2518
|
+
"operation": "reliability.members",
|
|
1567
2519
|
"path": [
|
|
1568
|
-
"
|
|
1569
|
-
"
|
|
2520
|
+
"reliability",
|
|
2521
|
+
"members",
|
|
1570
2522
|
],
|
|
1571
|
-
"name": "
|
|
2523
|
+
"name": "members",
|
|
1572
2524
|
"aliases": [],
|
|
1573
|
-
"summary": "
|
|
1574
|
-
"short": "
|
|
1575
|
-
"headline": "
|
|
1576
|
-
"usage": "w6w
|
|
1577
|
-
"naming": "w6w
|
|
2525
|
+
"summary": "List the app ids a project's calls touch.",
|
|
2526
|
+
"short": "List the app ids a project's calls touch",
|
|
2527
|
+
"headline": "list the app ids a project's calls touch",
|
|
2528
|
+
"usage": "w6w reliability members --project <id> [options]",
|
|
2529
|
+
"naming": "w6w reliability members --project <id> [--days <n>]",
|
|
1578
2530
|
"status": "required",
|
|
1579
2531
|
"params": [
|
|
1580
2532
|
{
|
|
1581
|
-
"name": "
|
|
1582
|
-
"kind": "
|
|
1583
|
-
"display": "<
|
|
1584
|
-
"description": "
|
|
2533
|
+
"name": "project",
|
|
2534
|
+
"kind": "flag",
|
|
2535
|
+
"display": "--project <id>",
|
|
2536
|
+
"description": "Project id (see: w6w projects list)",
|
|
1585
2537
|
"required": true,
|
|
1586
2538
|
},
|
|
2539
|
+
{
|
|
2540
|
+
"name": "days",
|
|
2541
|
+
"kind": "flag",
|
|
2542
|
+
"display": "--days <n>",
|
|
2543
|
+
"description": "Window length in days, a positive integer",
|
|
2544
|
+
"required": false,
|
|
2545
|
+
},
|
|
1587
2546
|
{
|
|
1588
2547
|
"name": "json",
|
|
1589
2548
|
"kind": "flag",
|
|
@@ -1593,15 +2552,31 @@ export const HELP_TREE = {
|
|
|
1593
2552
|
},
|
|
1594
2553
|
],
|
|
1595
2554
|
"examples": [
|
|
1596
|
-
"w6w
|
|
2555
|
+
"w6w reliability members --project prj_01HQ8N",
|
|
2556
|
+
"w6w reliability members --project prj_01HQ8N --days 30 --json",
|
|
1597
2557
|
],
|
|
1598
2558
|
"notes": [],
|
|
1599
2559
|
},
|
|
1600
2560
|
],
|
|
1601
|
-
"options": [
|
|
2561
|
+
"options": [
|
|
2562
|
+
{
|
|
2563
|
+
"name": "project",
|
|
2564
|
+
"kind": "flag",
|
|
2565
|
+
"display": "--project <id>",
|
|
2566
|
+
"description": "Project id (see: w6w projects list)",
|
|
2567
|
+
"required": true,
|
|
2568
|
+
},
|
|
2569
|
+
{
|
|
2570
|
+
"name": "days",
|
|
2571
|
+
"kind": "flag",
|
|
2572
|
+
"display": "--days <n>",
|
|
2573
|
+
"description": "Window length in days, a positive integer",
|
|
2574
|
+
"required": false,
|
|
2575
|
+
},
|
|
2576
|
+
],
|
|
1602
2577
|
"examples": [
|
|
1603
|
-
"w6w
|
|
1604
|
-
"w6w
|
|
2578
|
+
"w6w reliability members --project prj_01HQ8N",
|
|
2579
|
+
"w6w reliability list --project prj_01HQ8N --apps sendgrid,slack",
|
|
1605
2580
|
],
|
|
1606
2581
|
},
|
|
1607
2582
|
],
|
|
@@ -1679,6 +2654,14 @@ export const COMMAND_PATHS = [
|
|
|
1679
2654
|
"connections",
|
|
1680
2655
|
"list",
|
|
1681
2656
|
],
|
|
2657
|
+
[
|
|
2658
|
+
"connections",
|
|
2659
|
+
"get",
|
|
2660
|
+
],
|
|
2661
|
+
[
|
|
2662
|
+
"connections",
|
|
2663
|
+
"delete",
|
|
2664
|
+
],
|
|
1682
2665
|
[
|
|
1683
2666
|
"workflows",
|
|
1684
2667
|
"list",
|
|
@@ -1711,6 +2694,34 @@ export const COMMAND_PATHS = [
|
|
|
1711
2694
|
"workflows",
|
|
1712
2695
|
"delete",
|
|
1713
2696
|
],
|
|
2697
|
+
[
|
|
2698
|
+
"workflows",
|
|
2699
|
+
"versions",
|
|
2700
|
+
],
|
|
2701
|
+
[
|
|
2702
|
+
"workflows",
|
|
2703
|
+
"version",
|
|
2704
|
+
],
|
|
2705
|
+
[
|
|
2706
|
+
"workflows",
|
|
2707
|
+
"publish",
|
|
2708
|
+
],
|
|
2709
|
+
[
|
|
2710
|
+
"workflows",
|
|
2711
|
+
"revert",
|
|
2712
|
+
],
|
|
2713
|
+
[
|
|
2714
|
+
"workflows",
|
|
2715
|
+
"enable",
|
|
2716
|
+
],
|
|
2717
|
+
[
|
|
2718
|
+
"workflows",
|
|
2719
|
+
"disable",
|
|
2720
|
+
],
|
|
2721
|
+
[
|
|
2722
|
+
"workflows",
|
|
2723
|
+
"run-version",
|
|
2724
|
+
],
|
|
1714
2725
|
[
|
|
1715
2726
|
"documents",
|
|
1716
2727
|
"list",
|
|
@@ -1783,6 +2794,38 @@ export const COMMAND_PATHS = [
|
|
|
1783
2794
|
"functions",
|
|
1784
2795
|
"delete",
|
|
1785
2796
|
],
|
|
2797
|
+
[
|
|
2798
|
+
"functions",
|
|
2799
|
+
"archive",
|
|
2800
|
+
],
|
|
2801
|
+
[
|
|
2802
|
+
"functions",
|
|
2803
|
+
"versions",
|
|
2804
|
+
],
|
|
2805
|
+
[
|
|
2806
|
+
"functions",
|
|
2807
|
+
"version",
|
|
2808
|
+
],
|
|
2809
|
+
[
|
|
2810
|
+
"functions",
|
|
2811
|
+
"publish",
|
|
2812
|
+
],
|
|
2813
|
+
[
|
|
2814
|
+
"functions",
|
|
2815
|
+
"revert",
|
|
2816
|
+
],
|
|
2817
|
+
[
|
|
2818
|
+
"functions",
|
|
2819
|
+
"enable",
|
|
2820
|
+
],
|
|
2821
|
+
[
|
|
2822
|
+
"functions",
|
|
2823
|
+
"disable",
|
|
2824
|
+
],
|
|
2825
|
+
[
|
|
2826
|
+
"functions",
|
|
2827
|
+
"run-version",
|
|
2828
|
+
],
|
|
1786
2829
|
[
|
|
1787
2830
|
"endpoints",
|
|
1788
2831
|
"run",
|
|
@@ -1811,6 +2854,26 @@ export const COMMAND_PATHS = [
|
|
|
1811
2854
|
"team",
|
|
1812
2855
|
"remove-member",
|
|
1813
2856
|
],
|
|
2857
|
+
[
|
|
2858
|
+
"apps",
|
|
2859
|
+
"by-ids",
|
|
2860
|
+
],
|
|
2861
|
+
[
|
|
2862
|
+
"dashboard",
|
|
2863
|
+
"stats",
|
|
2864
|
+
],
|
|
2865
|
+
[
|
|
2866
|
+
"projects",
|
|
2867
|
+
"list",
|
|
2868
|
+
],
|
|
2869
|
+
[
|
|
2870
|
+
"reliability",
|
|
2871
|
+
"list",
|
|
2872
|
+
],
|
|
2873
|
+
[
|
|
2874
|
+
"reliability",
|
|
2875
|
+
"members",
|
|
2876
|
+
],
|
|
1814
2877
|
];
|
|
1815
2878
|
/** The exit-code contract, verbatim from the shared contract's `cli.exitCodes`. */
|
|
1816
2879
|
export const EXIT_CODES = [
|