@pump-inc/cli 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/README.md +905 -0
  2. package/bin/dev.cmd +3 -0
  3. package/bin/dev.js +7 -0
  4. package/bin/run-pkg.js +13 -0
  5. package/bin/run.cmd +3 -0
  6. package/bin/run.js +7 -0
  7. package/dist/api-XWM8zKbb.cjs +21 -0
  8. package/dist/api-client-bnV0ib_r.cjs +1207 -0
  9. package/dist/base-command-GfDxcqx6.cjs +451 -0
  10. package/dist/bin.cjs +15 -0
  11. package/dist/chunk-CbDLau6x.cjs +34 -0
  12. package/dist/commands/admin/config/set.cjs +40 -0
  13. package/dist/commands/admin/organization/create.cjs +83 -0
  14. package/dist/commands/admin/organization/get.cjs +77 -0
  15. package/dist/commands/admin/organization/list.cjs +103 -0
  16. package/dist/commands/admin/user/create.cjs +82 -0
  17. package/dist/commands/api-key/create.cjs +81 -0
  18. package/dist/commands/api-key/delete.cjs +48 -0
  19. package/dist/commands/api-key/list.cjs +85 -0
  20. package/dist/commands/api-key/update.cjs +81 -0
  21. package/dist/commands/app/create.cjs +97 -0
  22. package/dist/commands/app/deploy.cjs +74 -0
  23. package/dist/commands/app/list.cjs +64 -0
  24. package/dist/commands/app/secrets.cjs +43 -0
  25. package/dist/commands/app/status.cjs +78 -0
  26. package/dist/commands/app/stop.cjs +49 -0
  27. package/dist/commands/app/usage.cjs +79 -0
  28. package/dist/commands/auth/test.cjs +56 -0
  29. package/dist/commands/config/validate.cjs +32 -0
  30. package/dist/commands/project/create.cjs +79 -0
  31. package/dist/fix-event-emitter-uhRntilb.cjs +21 -0
  32. package/dist/index.cjs +16 -0
  33. package/dist/util/api.cjs +3 -0
  34. package/dist/util/base-command.cjs +4 -0
  35. package/dist/util/fix-event-emitter.cjs +3 -0
  36. package/dist/util/validate-config.cjs +3 -0
  37. package/dist/validate-config-C9krCzRv.cjs +24 -0
  38. package/oclif.manifest.json +1099 -0
  39. package/package.json +85 -0
@@ -0,0 +1,1099 @@
1
+ {
2
+ "commands": {
3
+ "api-key:create": {
4
+ "aliases": [],
5
+ "args": {
6
+ "name": {
7
+ "description": "API key name",
8
+ "name": "name",
9
+ "required": true
10
+ }
11
+ },
12
+ "description": "Create a new API key for your organization",
13
+ "examples": [
14
+ "<%= config.bin %> <%= command.id %> \"My API Key\"",
15
+ "<%= config.bin %> <%= command.id %> \"Production API\" --description=\"For production use\" --status=active",
16
+ "<%= config.bin %> <%= command.id %> \"Test Key\" --description=\"Temporary test key\" --status=pending"
17
+ ],
18
+ "flags": {
19
+ "description": {
20
+ "char": "d",
21
+ "description": "API key description",
22
+ "name": "description",
23
+ "hasDynamicHelp": false,
24
+ "multiple": false,
25
+ "type": "option"
26
+ },
27
+ "status": {
28
+ "char": "s",
29
+ "description": "API key status",
30
+ "name": "status",
31
+ "default": "active",
32
+ "hasDynamicHelp": false,
33
+ "multiple": false,
34
+ "options": [
35
+ "active",
36
+ "inactive",
37
+ "revoked",
38
+ "pending",
39
+ "suspended"
40
+ ],
41
+ "type": "option"
42
+ },
43
+ "apikey": {
44
+ "char": "k",
45
+ "description": "API key to use for authentication (overrides API_KEY env variable)",
46
+ "name": "apikey",
47
+ "hasDynamicHelp": false,
48
+ "multiple": false,
49
+ "type": "option"
50
+ }
51
+ },
52
+ "hasDynamicHelp": false,
53
+ "hiddenAliases": [],
54
+ "id": "api-key:create",
55
+ "pluginAlias": "@pump-inc/cli",
56
+ "pluginName": "@pump-inc/cli",
57
+ "pluginType": "core",
58
+ "strict": true,
59
+ "isESM": false,
60
+ "relativePath": [
61
+ "dist",
62
+ "commands",
63
+ "api-key",
64
+ "create.cjs"
65
+ ]
66
+ },
67
+ "api-key:delete": {
68
+ "aliases": [],
69
+ "args": {
70
+ "id": {
71
+ "description": "API key ID to delete",
72
+ "name": "id",
73
+ "required": true
74
+ }
75
+ },
76
+ "description": "Delete an API key",
77
+ "examples": [
78
+ "<%= config.bin %> <%= command.id %> abc-123",
79
+ "<%= config.bin %> <%= command.id %> abc-123 --force"
80
+ ],
81
+ "flags": {
82
+ "force": {
83
+ "char": "f",
84
+ "description": "Skip confirmation prompt",
85
+ "name": "force",
86
+ "allowNo": false,
87
+ "type": "boolean"
88
+ },
89
+ "apikey": {
90
+ "char": "k",
91
+ "description": "API key to use for authentication (overrides API_KEY env variable)",
92
+ "name": "apikey",
93
+ "hasDynamicHelp": false,
94
+ "multiple": false,
95
+ "type": "option"
96
+ }
97
+ },
98
+ "hasDynamicHelp": false,
99
+ "hiddenAliases": [],
100
+ "id": "api-key:delete",
101
+ "pluginAlias": "@pump-inc/cli",
102
+ "pluginName": "@pump-inc/cli",
103
+ "pluginType": "core",
104
+ "strict": true,
105
+ "isESM": false,
106
+ "relativePath": [
107
+ "dist",
108
+ "commands",
109
+ "api-key",
110
+ "delete.cjs"
111
+ ]
112
+ },
113
+ "api-key:list": {
114
+ "aliases": [],
115
+ "args": {},
116
+ "description": "List all API keys for your organization",
117
+ "examples": [
118
+ "<%= config.bin %> <%= command.id %>",
119
+ "<%= config.bin %> <%= command.id %> --json",
120
+ "<%= config.bin %> <%= command.id %> --status=active"
121
+ ],
122
+ "flags": {
123
+ "json": {
124
+ "char": "j",
125
+ "description": "Output as JSON",
126
+ "name": "json",
127
+ "allowNo": false,
128
+ "type": "boolean"
129
+ },
130
+ "status": {
131
+ "char": "s",
132
+ "description": "Filter by status",
133
+ "name": "status",
134
+ "hasDynamicHelp": false,
135
+ "multiple": false,
136
+ "options": [
137
+ "active",
138
+ "inactive",
139
+ "revoked",
140
+ "pending",
141
+ "suspended"
142
+ ],
143
+ "type": "option"
144
+ },
145
+ "apikey": {
146
+ "char": "k",
147
+ "description": "API key to use for authentication (overrides API_KEY env variable)",
148
+ "name": "apikey",
149
+ "hasDynamicHelp": false,
150
+ "multiple": false,
151
+ "type": "option"
152
+ }
153
+ },
154
+ "hasDynamicHelp": false,
155
+ "hiddenAliases": [],
156
+ "id": "api-key:list",
157
+ "pluginAlias": "@pump-inc/cli",
158
+ "pluginName": "@pump-inc/cli",
159
+ "pluginType": "core",
160
+ "strict": true,
161
+ "isESM": false,
162
+ "relativePath": [
163
+ "dist",
164
+ "commands",
165
+ "api-key",
166
+ "list.cjs"
167
+ ]
168
+ },
169
+ "api-key:update": {
170
+ "aliases": [],
171
+ "args": {
172
+ "id": {
173
+ "description": "API key ID to update",
174
+ "name": "id",
175
+ "required": true
176
+ }
177
+ },
178
+ "description": "Update an existing API key",
179
+ "examples": [
180
+ "<%= config.bin %> <%= command.id %> abc-123 --name=\"Updated Name\"",
181
+ "<%= config.bin %> <%= command.id %> abc-123 --description=\"New description\" --status=inactive",
182
+ "<%= config.bin %> <%= command.id %> abc-123 --status=revoked"
183
+ ],
184
+ "flags": {
185
+ "name": {
186
+ "char": "n",
187
+ "description": "New API key name",
188
+ "name": "name",
189
+ "hasDynamicHelp": false,
190
+ "multiple": false,
191
+ "type": "option"
192
+ },
193
+ "description": {
194
+ "char": "d",
195
+ "description": "New API key description",
196
+ "name": "description",
197
+ "hasDynamicHelp": false,
198
+ "multiple": false,
199
+ "type": "option"
200
+ },
201
+ "status": {
202
+ "char": "s",
203
+ "description": "New API key status",
204
+ "name": "status",
205
+ "hasDynamicHelp": false,
206
+ "multiple": false,
207
+ "options": [
208
+ "active",
209
+ "inactive",
210
+ "revoked",
211
+ "pending",
212
+ "suspended"
213
+ ],
214
+ "type": "option"
215
+ },
216
+ "apikey": {
217
+ "char": "k",
218
+ "description": "API key to use for authentication (overrides API_KEY env variable)",
219
+ "name": "apikey",
220
+ "hasDynamicHelp": false,
221
+ "multiple": false,
222
+ "type": "option"
223
+ }
224
+ },
225
+ "hasDynamicHelp": false,
226
+ "hiddenAliases": [],
227
+ "id": "api-key:update",
228
+ "pluginAlias": "@pump-inc/cli",
229
+ "pluginName": "@pump-inc/cli",
230
+ "pluginType": "core",
231
+ "strict": true,
232
+ "isESM": false,
233
+ "relativePath": [
234
+ "dist",
235
+ "commands",
236
+ "api-key",
237
+ "update.cjs"
238
+ ]
239
+ },
240
+ "app:create": {
241
+ "aliases": [],
242
+ "args": {
243
+ "name": {
244
+ "description": "Application name",
245
+ "name": "name",
246
+ "required": true
247
+ }
248
+ },
249
+ "description": "Create a new application",
250
+ "examples": [
251
+ "<%= config.bin %> <%= command.id %> \"My App\" --project-id=proj-123 --type=processor",
252
+ "<%= config.bin %> <%= command.id %> \"API Service\" --project-id=proj-456 --type=processor --cpu=1 --memory=512",
253
+ "<%= config.bin %> <%= command.id %> \"Worker\" --project-id=proj-789 --type=cron --cpu=2 --status=active",
254
+ "<%= config.bin %> <%= command.id %> \"My App\" --project-id=proj-123 --type=processor --json"
255
+ ],
256
+ "flags": {
257
+ "project-id": {
258
+ "char": "p",
259
+ "description": "Project ID where the application will be created",
260
+ "name": "project-id",
261
+ "required": true,
262
+ "hasDynamicHelp": false,
263
+ "multiple": false,
264
+ "type": "option"
265
+ },
266
+ "type": {
267
+ "char": "t",
268
+ "description": "Application type",
269
+ "name": "type",
270
+ "required": false,
271
+ "default": "processor",
272
+ "hasDynamicHelp": false,
273
+ "multiple": false,
274
+ "options": [
275
+ "processor",
276
+ "cron"
277
+ ],
278
+ "type": "option"
279
+ },
280
+ "status": {
281
+ "char": "s",
282
+ "description": "Application status",
283
+ "name": "status",
284
+ "default": "pending",
285
+ "hasDynamicHelp": false,
286
+ "multiple": false,
287
+ "options": [
288
+ "pending",
289
+ "active",
290
+ "inactive"
291
+ ],
292
+ "type": "option"
293
+ },
294
+ "cpu": {
295
+ "description": "CPU resources (cores)",
296
+ "name": "cpu",
297
+ "hasDynamicHelp": false,
298
+ "multiple": false,
299
+ "type": "option"
300
+ },
301
+ "memory": {
302
+ "description": "Memory resources (MB)",
303
+ "name": "memory",
304
+ "hasDynamicHelp": false,
305
+ "multiple": false,
306
+ "type": "option"
307
+ },
308
+ "storage": {
309
+ "description": "Storage resources (GB)",
310
+ "name": "storage",
311
+ "hasDynamicHelp": false,
312
+ "multiple": false,
313
+ "type": "option"
314
+ },
315
+ "network": {
316
+ "description": "Network resources (Mbps)",
317
+ "name": "network",
318
+ "hasDynamicHelp": false,
319
+ "multiple": false,
320
+ "type": "option"
321
+ },
322
+ "apikey": {
323
+ "char": "k",
324
+ "description": "API key to use for authentication (overrides API_KEY env variable)",
325
+ "name": "apikey",
326
+ "hasDynamicHelp": false,
327
+ "multiple": false,
328
+ "type": "option"
329
+ },
330
+ "json": {
331
+ "description": "Output result as JSON",
332
+ "name": "json",
333
+ "allowNo": false,
334
+ "type": "boolean"
335
+ }
336
+ },
337
+ "hasDynamicHelp": false,
338
+ "hiddenAliases": [],
339
+ "id": "app:create",
340
+ "pluginAlias": "@pump-inc/cli",
341
+ "pluginName": "@pump-inc/cli",
342
+ "pluginType": "core",
343
+ "strict": true,
344
+ "isESM": false,
345
+ "relativePath": [
346
+ "dist",
347
+ "commands",
348
+ "app",
349
+ "create.cjs"
350
+ ]
351
+ },
352
+ "app:deploy": {
353
+ "aliases": [],
354
+ "args": {
355
+ "file": {
356
+ "description": "file to read",
357
+ "name": "file"
358
+ }
359
+ },
360
+ "description": "Deploy an application by providing a config file",
361
+ "examples": [
362
+ "<%= config.bin %> <%= command.id %> config-file.yaml"
363
+ ],
364
+ "flags": {
365
+ "force": {
366
+ "char": "f",
367
+ "name": "force",
368
+ "allowNo": false,
369
+ "type": "boolean"
370
+ },
371
+ "name": {
372
+ "char": "n",
373
+ "description": "Deployment name",
374
+ "name": "name",
375
+ "hasDynamicHelp": false,
376
+ "multiple": false,
377
+ "type": "option"
378
+ },
379
+ "appId": {
380
+ "char": "a",
381
+ "description": "application id to deploy",
382
+ "env": "PUMPINC_APP_ID",
383
+ "name": "appId",
384
+ "required": true,
385
+ "hasDynamicHelp": false,
386
+ "multiple": false,
387
+ "type": "option"
388
+ },
389
+ "apikey": {
390
+ "char": "k",
391
+ "description": "API key to use for authentication (overrides API_KEY env variable)",
392
+ "name": "apikey",
393
+ "hasDynamicHelp": false,
394
+ "multiple": false,
395
+ "type": "option"
396
+ },
397
+ "json": {
398
+ "description": "Output result as JSON",
399
+ "name": "json",
400
+ "allowNo": false,
401
+ "type": "boolean"
402
+ }
403
+ },
404
+ "hasDynamicHelp": false,
405
+ "hiddenAliases": [],
406
+ "id": "app:deploy",
407
+ "pluginAlias": "@pump-inc/cli",
408
+ "pluginName": "@pump-inc/cli",
409
+ "pluginType": "core",
410
+ "strict": true,
411
+ "isESM": false,
412
+ "relativePath": [
413
+ "dist",
414
+ "commands",
415
+ "app",
416
+ "deploy.cjs"
417
+ ]
418
+ },
419
+ "app:list": {
420
+ "aliases": [],
421
+ "args": {
422
+ "file": {
423
+ "description": "file to read",
424
+ "name": "file"
425
+ }
426
+ },
427
+ "description": "describe the command here",
428
+ "examples": [
429
+ "<%= config.bin %> <%= command.id %>"
430
+ ],
431
+ "flags": {
432
+ "verbose": {
433
+ "char": "v",
434
+ "description": "Show detailed application info",
435
+ "name": "verbose",
436
+ "allowNo": false,
437
+ "type": "boolean"
438
+ },
439
+ "apikey": {
440
+ "char": "k",
441
+ "description": "API key to use for authentication (overrides API_KEY env variable)",
442
+ "name": "apikey",
443
+ "hasDynamicHelp": false,
444
+ "multiple": false,
445
+ "type": "option"
446
+ }
447
+ },
448
+ "hasDynamicHelp": false,
449
+ "hiddenAliases": [],
450
+ "id": "app:list",
451
+ "pluginAlias": "@pump-inc/cli",
452
+ "pluginName": "@pump-inc/cli",
453
+ "pluginType": "core",
454
+ "strict": true,
455
+ "isESM": false,
456
+ "relativePath": [
457
+ "dist",
458
+ "commands",
459
+ "app",
460
+ "list.cjs"
461
+ ]
462
+ },
463
+ "app:secrets": {
464
+ "aliases": [],
465
+ "args": {
466
+ "applicationId": {
467
+ "description": "Application ID to list secrets for",
468
+ "name": "applicationId",
469
+ "required": true
470
+ }
471
+ },
472
+ "description": "List all secrets for an application",
473
+ "examples": [
474
+ "<%= config.bin %> <%= command.id %> app_12345",
475
+ "<%= config.bin %> <%= command.id %> app_12345 -k your-api-key"
476
+ ],
477
+ "flags": {
478
+ "apikey": {
479
+ "char": "k",
480
+ "description": "API key to use for authentication (overrides API_KEY env variable)",
481
+ "name": "apikey",
482
+ "hasDynamicHelp": false,
483
+ "multiple": false,
484
+ "type": "option"
485
+ }
486
+ },
487
+ "hasDynamicHelp": false,
488
+ "hiddenAliases": [],
489
+ "id": "app:secrets",
490
+ "pluginAlias": "@pump-inc/cli",
491
+ "pluginName": "@pump-inc/cli",
492
+ "pluginType": "core",
493
+ "strict": true,
494
+ "isESM": false,
495
+ "relativePath": [
496
+ "dist",
497
+ "commands",
498
+ "app",
499
+ "secrets.cjs"
500
+ ]
501
+ },
502
+ "app:status": {
503
+ "aliases": [],
504
+ "args": {
505
+ "applicationId": {
506
+ "description": "Application ID to get status for eg. app_1234567890abcdef",
507
+ "name": "applicationId"
508
+ }
509
+ },
510
+ "description": "Get the status of a specific application by its ID",
511
+ "examples": [
512
+ "<%= config.bin %> <%= command.id %>"
513
+ ],
514
+ "flags": {
515
+ "apikey": {
516
+ "char": "k",
517
+ "description": "API key to use for authentication (overrides API_KEY env variable)",
518
+ "name": "apikey",
519
+ "hasDynamicHelp": false,
520
+ "multiple": false,
521
+ "type": "option"
522
+ }
523
+ },
524
+ "hasDynamicHelp": false,
525
+ "hiddenAliases": [],
526
+ "id": "app:status",
527
+ "pluginAlias": "@pump-inc/cli",
528
+ "pluginName": "@pump-inc/cli",
529
+ "pluginType": "core",
530
+ "strict": true,
531
+ "isESM": false,
532
+ "relativePath": [
533
+ "dist",
534
+ "commands",
535
+ "app",
536
+ "status.cjs"
537
+ ]
538
+ },
539
+ "app:stop": {
540
+ "aliases": [],
541
+ "args": {},
542
+ "description": "Stop the running deployment for an application",
543
+ "examples": [
544
+ "<%= config.bin %> <%= command.id %> --appId <application-id>"
545
+ ],
546
+ "flags": {
547
+ "appId": {
548
+ "char": "a",
549
+ "description": "application id to stop deployment for",
550
+ "env": "PUMPINC_APP_ID",
551
+ "name": "appId",
552
+ "required": true,
553
+ "hasDynamicHelp": false,
554
+ "multiple": false,
555
+ "type": "option"
556
+ },
557
+ "apikey": {
558
+ "char": "k",
559
+ "description": "API key to use for authentication (overrides API_KEY env variable)",
560
+ "name": "apikey",
561
+ "hasDynamicHelp": false,
562
+ "multiple": false,
563
+ "type": "option"
564
+ },
565
+ "json": {
566
+ "description": "Output result as JSON",
567
+ "name": "json",
568
+ "allowNo": false,
569
+ "type": "boolean"
570
+ }
571
+ },
572
+ "hasDynamicHelp": false,
573
+ "hiddenAliases": [],
574
+ "id": "app:stop",
575
+ "pluginAlias": "@pump-inc/cli",
576
+ "pluginName": "@pump-inc/cli",
577
+ "pluginType": "core",
578
+ "strict": true,
579
+ "isESM": false,
580
+ "relativePath": [
581
+ "dist",
582
+ "commands",
583
+ "app",
584
+ "stop.cjs"
585
+ ]
586
+ },
587
+ "app:usage": {
588
+ "aliases": [],
589
+ "args": {
590
+ "applicationId": {
591
+ "description": "application ID to get usage for",
592
+ "name": "applicationId"
593
+ }
594
+ },
595
+ "description": "get usage information for an application including execution units and CPU/memory usage",
596
+ "examples": [
597
+ "<%= config.bin %> <%= command.id %> app_aaaabbbbccccddddeeee"
598
+ ],
599
+ "flags": {
600
+ "hide": {
601
+ "char": "h",
602
+ "description": "hide deployment details",
603
+ "name": "hide",
604
+ "required": false,
605
+ "allowNo": false,
606
+ "type": "boolean"
607
+ },
608
+ "apikey": {
609
+ "char": "k",
610
+ "description": "API key to use for authentication (overrides API_KEY env variable)",
611
+ "name": "apikey",
612
+ "hasDynamicHelp": false,
613
+ "multiple": false,
614
+ "type": "option"
615
+ }
616
+ },
617
+ "hasDynamicHelp": false,
618
+ "hiddenAliases": [],
619
+ "id": "app:usage",
620
+ "pluginAlias": "@pump-inc/cli",
621
+ "pluginName": "@pump-inc/cli",
622
+ "pluginType": "core",
623
+ "strict": true,
624
+ "isESM": false,
625
+ "relativePath": [
626
+ "dist",
627
+ "commands",
628
+ "app",
629
+ "usage.cjs"
630
+ ]
631
+ },
632
+ "auth:test": {
633
+ "aliases": [],
634
+ "args": {},
635
+ "description": "Test API authentication with the configured API key",
636
+ "examples": [
637
+ "<%= config.bin %> <%= command.id %>",
638
+ "<%= config.bin %> <%= command.id %> --verbose"
639
+ ],
640
+ "flags": {
641
+ "verbose": {
642
+ "char": "v",
643
+ "description": "Show detailed authentication information",
644
+ "name": "verbose",
645
+ "allowNo": false,
646
+ "type": "boolean"
647
+ },
648
+ "apikey": {
649
+ "char": "k",
650
+ "description": "API key to use for authentication (overrides API_KEY env variable)",
651
+ "name": "apikey",
652
+ "hasDynamicHelp": false,
653
+ "multiple": false,
654
+ "type": "option"
655
+ }
656
+ },
657
+ "hasDynamicHelp": false,
658
+ "hiddenAliases": [],
659
+ "id": "auth:test",
660
+ "pluginAlias": "@pump-inc/cli",
661
+ "pluginName": "@pump-inc/cli",
662
+ "pluginType": "core",
663
+ "strict": true,
664
+ "isESM": false,
665
+ "relativePath": [
666
+ "dist",
667
+ "commands",
668
+ "auth",
669
+ "test.cjs"
670
+ ]
671
+ },
672
+ "config:validate": {
673
+ "aliases": [],
674
+ "args": {
675
+ "file": {
676
+ "description": "file to read",
677
+ "name": "file"
678
+ }
679
+ },
680
+ "description": "validate a config file",
681
+ "examples": [
682
+ "<%= config.bin %> <%= command.id %> <file>"
683
+ ],
684
+ "flags": {
685
+ "apikey": {
686
+ "char": "k",
687
+ "description": "API key to use for authentication (overrides API_KEY env variable)",
688
+ "name": "apikey",
689
+ "hasDynamicHelp": false,
690
+ "multiple": false,
691
+ "type": "option"
692
+ }
693
+ },
694
+ "hasDynamicHelp": false,
695
+ "hiddenAliases": [],
696
+ "id": "config:validate",
697
+ "pluginAlias": "@pump-inc/cli",
698
+ "pluginName": "@pump-inc/cli",
699
+ "pluginType": "core",
700
+ "strict": true,
701
+ "isESM": false,
702
+ "relativePath": [
703
+ "dist",
704
+ "commands",
705
+ "config",
706
+ "validate.cjs"
707
+ ]
708
+ },
709
+ "project:create": {
710
+ "aliases": [],
711
+ "args": {
712
+ "name": {
713
+ "description": "Project name",
714
+ "name": "name",
715
+ "required": true
716
+ }
717
+ },
718
+ "description": "Create a new project in your organization",
719
+ "examples": [
720
+ "<%= config.bin %> <%= command.id %> \"My Project\"",
721
+ "<%= config.bin %> <%= command.id %> \"Web App\" --description=\"A web application project\"",
722
+ "<%= config.bin %> <%= command.id %> \"API Project\" --description=\"Backend API services\" --status=active",
723
+ "<%= config.bin %> <%= command.id %> \"My Project\" --json"
724
+ ],
725
+ "flags": {
726
+ "description": {
727
+ "char": "d",
728
+ "description": "Project description",
729
+ "name": "description",
730
+ "hasDynamicHelp": false,
731
+ "multiple": false,
732
+ "type": "option"
733
+ },
734
+ "status": {
735
+ "char": "s",
736
+ "description": "Project status",
737
+ "name": "status",
738
+ "default": "active",
739
+ "hasDynamicHelp": false,
740
+ "multiple": false,
741
+ "options": [
742
+ "active",
743
+ "inactive",
744
+ "archived"
745
+ ],
746
+ "type": "option"
747
+ },
748
+ "apikey": {
749
+ "char": "k",
750
+ "description": "API key to use for authentication (overrides API_KEY env variable)",
751
+ "name": "apikey",
752
+ "hasDynamicHelp": false,
753
+ "multiple": false,
754
+ "type": "option"
755
+ },
756
+ "json": {
757
+ "description": "Output result as JSON",
758
+ "name": "json",
759
+ "allowNo": false,
760
+ "type": "boolean"
761
+ }
762
+ },
763
+ "hasDynamicHelp": false,
764
+ "hiddenAliases": [],
765
+ "id": "project:create",
766
+ "pluginAlias": "@pump-inc/cli",
767
+ "pluginName": "@pump-inc/cli",
768
+ "pluginType": "core",
769
+ "strict": true,
770
+ "isESM": false,
771
+ "relativePath": [
772
+ "dist",
773
+ "commands",
774
+ "project",
775
+ "create.cjs"
776
+ ]
777
+ },
778
+ "admin:config:set": {
779
+ "aliases": [],
780
+ "args": {
781
+ "value": {
782
+ "description": "value to set",
783
+ "name": "value"
784
+ }
785
+ },
786
+ "description": "This command is used to set global configuration keys in the DB (admin only)",
787
+ "examples": [
788
+ "<%= config.bin %> <%= command.id %>"
789
+ ],
790
+ "flags": {
791
+ "key": {
792
+ "char": "c",
793
+ "description": "key to set",
794
+ "name": "key",
795
+ "hasDynamicHelp": false,
796
+ "multiple": false,
797
+ "type": "option"
798
+ },
799
+ "apikey": {
800
+ "char": "k",
801
+ "description": "API key to use for authentication (overrides API_KEY env variable)",
802
+ "name": "apikey",
803
+ "hasDynamicHelp": false,
804
+ "multiple": false,
805
+ "type": "option"
806
+ }
807
+ },
808
+ "hasDynamicHelp": false,
809
+ "hiddenAliases": [],
810
+ "id": "admin:config:set",
811
+ "pluginAlias": "@pump-inc/cli",
812
+ "pluginName": "@pump-inc/cli",
813
+ "pluginType": "core",
814
+ "strict": true,
815
+ "isESM": false,
816
+ "relativePath": [
817
+ "dist",
818
+ "commands",
819
+ "admin",
820
+ "config",
821
+ "set.cjs"
822
+ ]
823
+ },
824
+ "admin:user:create": {
825
+ "aliases": [],
826
+ "args": {
827
+ "name": {
828
+ "description": "User's full name",
829
+ "name": "name",
830
+ "required": true
831
+ },
832
+ "email": {
833
+ "description": "User's email address",
834
+ "name": "email",
835
+ "required": true
836
+ }
837
+ },
838
+ "description": "Create a new user (admin only)",
839
+ "examples": [
840
+ "<%= config.bin %> <%= command.id %> \"John Doe\" john@example.com",
841
+ "<%= config.bin %> <%= command.id %> \"Jane Admin\" jane@example.com --admin",
842
+ "<%= config.bin %> <%= command.id %> \"Bob User\" bob@example.com --admin --verified --image=\"https://example.com/avatar.jpg\"",
843
+ "<%= config.bin %> <%= command.id %> \"Json User\" json@example.com --json"
844
+ ],
845
+ "flags": {
846
+ "json": {
847
+ "char": "j",
848
+ "description": "Output as JSON",
849
+ "name": "json",
850
+ "allowNo": false,
851
+ "type": "boolean"
852
+ },
853
+ "admin": {
854
+ "char": "a",
855
+ "description": "Make the user an admin",
856
+ "name": "admin",
857
+ "allowNo": false,
858
+ "type": "boolean"
859
+ },
860
+ "verified": {
861
+ "char": "v",
862
+ "description": "Mark the user's email as verified",
863
+ "name": "verified",
864
+ "allowNo": false,
865
+ "type": "boolean"
866
+ },
867
+ "image": {
868
+ "char": "i",
869
+ "description": "User's profile image URL",
870
+ "name": "image",
871
+ "hasDynamicHelp": false,
872
+ "multiple": false,
873
+ "type": "option"
874
+ },
875
+ "apikey": {
876
+ "char": "k",
877
+ "description": "API key to use for authentication (overrides API_KEY env variable)",
878
+ "name": "apikey",
879
+ "hasDynamicHelp": false,
880
+ "multiple": false,
881
+ "type": "option"
882
+ }
883
+ },
884
+ "hasDynamicHelp": false,
885
+ "hiddenAliases": [],
886
+ "id": "admin:user:create",
887
+ "pluginAlias": "@pump-inc/cli",
888
+ "pluginName": "@pump-inc/cli",
889
+ "pluginType": "core",
890
+ "strict": true,
891
+ "isESM": false,
892
+ "relativePath": [
893
+ "dist",
894
+ "commands",
895
+ "admin",
896
+ "user",
897
+ "create.cjs"
898
+ ]
899
+ },
900
+ "admin:organization:create": {
901
+ "aliases": [],
902
+ "args": {
903
+ "name": {
904
+ "description": "Organization name",
905
+ "name": "name",
906
+ "required": true
907
+ },
908
+ "userId": {
909
+ "description": "User ID to be set as organization owner",
910
+ "name": "userId",
911
+ "required": true
912
+ }
913
+ },
914
+ "description": "Create a new organization (admin only)",
915
+ "examples": [
916
+ "<%= config.bin %> <%= command.id %> \"Acme Corp\" user_1234567890",
917
+ "<%= config.bin %> <%= command.id %> \"Tech Startup\" user_1234567890 --description=\"A cutting-edge technology company\"",
918
+ "<%= config.bin %> <%= command.id %> \"Enterprise Ltd\" user_1234567890 --description=\"Enterprise solutions\" --domain=\"enterprise.com\"",
919
+ "<%= config.bin %> <%= command.id %> \"Quick Org\" user_1234567890 --skipReconcilerJob",
920
+ "<%= config.bin %> <%= command.id %> \"Json Org\" user_1234567890 --json"
921
+ ],
922
+ "flags": {
923
+ "json": {
924
+ "char": "j",
925
+ "description": "Output as JSON",
926
+ "name": "json",
927
+ "allowNo": false,
928
+ "type": "boolean"
929
+ },
930
+ "description": {
931
+ "char": "d",
932
+ "description": "Organization description",
933
+ "name": "description",
934
+ "hasDynamicHelp": false,
935
+ "multiple": false,
936
+ "type": "option"
937
+ },
938
+ "domain": {
939
+ "char": "D",
940
+ "description": "Organization domain name",
941
+ "name": "domain",
942
+ "hasDynamicHelp": false,
943
+ "multiple": false,
944
+ "type": "option"
945
+ },
946
+ "skipReconcilerJob": {
947
+ "char": "s",
948
+ "description": "Skip creating reconciler job for this organization",
949
+ "name": "skipReconcilerJob",
950
+ "allowNo": false,
951
+ "type": "boolean"
952
+ },
953
+ "apikey": {
954
+ "char": "k",
955
+ "description": "API key to use for authentication (overrides API_KEY env variable)",
956
+ "name": "apikey",
957
+ "hasDynamicHelp": false,
958
+ "multiple": false,
959
+ "type": "option"
960
+ }
961
+ },
962
+ "hasDynamicHelp": false,
963
+ "hiddenAliases": [],
964
+ "id": "admin:organization:create",
965
+ "pluginAlias": "@pump-inc/cli",
966
+ "pluginName": "@pump-inc/cli",
967
+ "pluginType": "core",
968
+ "strict": true,
969
+ "isESM": false,
970
+ "relativePath": [
971
+ "dist",
972
+ "commands",
973
+ "admin",
974
+ "organization",
975
+ "create.cjs"
976
+ ]
977
+ },
978
+ "admin:organization:get": {
979
+ "aliases": [],
980
+ "args": {
981
+ "organizationId": {
982
+ "description": "Organization ID to retrieve",
983
+ "name": "organizationId",
984
+ "required": true
985
+ }
986
+ },
987
+ "description": "Get organization details with owner and members (admin only)",
988
+ "examples": [
989
+ "<%= config.bin %> <%= command.id %> org_1234567890",
990
+ "<%= config.bin %> <%= command.id %> org_1234567890 --json",
991
+ "<%= config.bin %> <%= command.id %> org_1234567890 --members-only"
992
+ ],
993
+ "flags": {
994
+ "json": {
995
+ "char": "j",
996
+ "description": "Output as JSON",
997
+ "name": "json",
998
+ "allowNo": false,
999
+ "type": "boolean"
1000
+ },
1001
+ "membersOnly": {
1002
+ "char": "m",
1003
+ "description": "Show only members information",
1004
+ "name": "membersOnly",
1005
+ "allowNo": false,
1006
+ "type": "boolean"
1007
+ },
1008
+ "apikey": {
1009
+ "char": "k",
1010
+ "description": "API key to use for authentication (overrides API_KEY env variable)",
1011
+ "name": "apikey",
1012
+ "hasDynamicHelp": false,
1013
+ "multiple": false,
1014
+ "type": "option"
1015
+ }
1016
+ },
1017
+ "hasDynamicHelp": false,
1018
+ "hiddenAliases": [],
1019
+ "id": "admin:organization:get",
1020
+ "pluginAlias": "@pump-inc/cli",
1021
+ "pluginName": "@pump-inc/cli",
1022
+ "pluginType": "core",
1023
+ "strict": true,
1024
+ "isESM": false,
1025
+ "relativePath": [
1026
+ "dist",
1027
+ "commands",
1028
+ "admin",
1029
+ "organization",
1030
+ "get.cjs"
1031
+ ]
1032
+ },
1033
+ "admin:organization:list": {
1034
+ "aliases": [],
1035
+ "args": {},
1036
+ "description": "List all organizations (admin only)",
1037
+ "examples": [
1038
+ "<%= config.bin %> <%= command.id %>",
1039
+ "<%= config.bin %> <%= command.id %> --json",
1040
+ "<%= config.bin %> <%= command.id %> --sort-by=name",
1041
+ "<%= config.bin %> <%= command.id %> --sort-by=created --desc"
1042
+ ],
1043
+ "flags": {
1044
+ "json": {
1045
+ "char": "j",
1046
+ "description": "Output as JSON",
1047
+ "name": "json",
1048
+ "allowNo": false,
1049
+ "type": "boolean"
1050
+ },
1051
+ "sortBy": {
1052
+ "char": "s",
1053
+ "description": "Sort by field",
1054
+ "name": "sortBy",
1055
+ "default": "name",
1056
+ "hasDynamicHelp": false,
1057
+ "multiple": false,
1058
+ "options": [
1059
+ "name",
1060
+ "created",
1061
+ "members"
1062
+ ],
1063
+ "type": "option"
1064
+ },
1065
+ "desc": {
1066
+ "char": "d",
1067
+ "description": "Sort in descending order",
1068
+ "name": "desc",
1069
+ "allowNo": false,
1070
+ "type": "boolean"
1071
+ },
1072
+ "apikey": {
1073
+ "char": "k",
1074
+ "description": "API key to use for authentication (overrides API_KEY env variable)",
1075
+ "name": "apikey",
1076
+ "hasDynamicHelp": false,
1077
+ "multiple": false,
1078
+ "type": "option"
1079
+ }
1080
+ },
1081
+ "hasDynamicHelp": false,
1082
+ "hiddenAliases": [],
1083
+ "id": "admin:organization:list",
1084
+ "pluginAlias": "@pump-inc/cli",
1085
+ "pluginName": "@pump-inc/cli",
1086
+ "pluginType": "core",
1087
+ "strict": true,
1088
+ "isESM": false,
1089
+ "relativePath": [
1090
+ "dist",
1091
+ "commands",
1092
+ "admin",
1093
+ "organization",
1094
+ "list.cjs"
1095
+ ]
1096
+ }
1097
+ },
1098
+ "version": "0.0.1"
1099
+ }