hereya-cli 0.95.4 → 0.96.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +73 -72
- package/dist/commands/devenv/config/index.d.ts +12 -0
- package/dist/commands/devenv/config/index.js +66 -13
- package/dist/commands/devenv/ssh-proxy/index.d.ts +27 -0
- package/dist/commands/devenv/ssh-proxy/index.js +80 -0
- package/dist/commands/workspace/executor/install/index.js +4 -4
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/lib/package/cloud.js +34 -9
- package/dist/lib/package/github.js +65 -21
- package/oclif.manifest.json +277 -244
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -1704,7 +1704,7 @@
|
|
|
1704
1704
|
"devenv:config": {
|
|
1705
1705
|
"aliases": [],
|
|
1706
1706
|
"args": {},
|
|
1707
|
-
"description": "Configure SSH for a dev environment and display connection details.",
|
|
1707
|
+
"description": "Configure SSH for a dev environment and display connection details. On-demand devenvs use a ProxyCommand that wakes the instance on first connection.",
|
|
1708
1708
|
"examples": [
|
|
1709
1709
|
"<%= config.bin %> <%= command.id %> -w my-workspace"
|
|
1710
1710
|
],
|
|
@@ -1886,6 +1886,39 @@
|
|
|
1886
1886
|
"index.js"
|
|
1887
1887
|
]
|
|
1888
1888
|
},
|
|
1889
|
+
"devenv:ssh-proxy": {
|
|
1890
|
+
"aliases": [],
|
|
1891
|
+
"args": {},
|
|
1892
|
+
"description": "Internal: SSH ProxyCommand for on-demand devenvs (wake + connect).",
|
|
1893
|
+
"flags": {
|
|
1894
|
+
"workspace": {
|
|
1895
|
+
"char": "w",
|
|
1896
|
+
"description": "name of the workspace to proxy SSH for",
|
|
1897
|
+
"name": "workspace",
|
|
1898
|
+
"required": true,
|
|
1899
|
+
"hasDynamicHelp": false,
|
|
1900
|
+
"multiple": false,
|
|
1901
|
+
"type": "option"
|
|
1902
|
+
}
|
|
1903
|
+
},
|
|
1904
|
+
"hasDynamicHelp": false,
|
|
1905
|
+
"hidden": true,
|
|
1906
|
+
"hiddenAliases": [],
|
|
1907
|
+
"id": "devenv:ssh-proxy",
|
|
1908
|
+
"pluginAlias": "hereya-cli",
|
|
1909
|
+
"pluginName": "hereya-cli",
|
|
1910
|
+
"pluginType": "core",
|
|
1911
|
+
"strict": true,
|
|
1912
|
+
"enableJsonFlag": false,
|
|
1913
|
+
"isESM": true,
|
|
1914
|
+
"relativePath": [
|
|
1915
|
+
"dist",
|
|
1916
|
+
"commands",
|
|
1917
|
+
"devenv",
|
|
1918
|
+
"ssh-proxy",
|
|
1919
|
+
"index.js"
|
|
1920
|
+
]
|
|
1921
|
+
},
|
|
1889
1922
|
"devenv:uninstall": {
|
|
1890
1923
|
"aliases": [],
|
|
1891
1924
|
"args": {},
|
|
@@ -2311,64 +2344,6 @@
|
|
|
2311
2344
|
"index.js"
|
|
2312
2345
|
]
|
|
2313
2346
|
},
|
|
2314
|
-
"flow:provid": {
|
|
2315
|
-
"aliases": [],
|
|
2316
|
-
"args": {
|
|
2317
|
-
"package": {
|
|
2318
|
-
"description": "Package name (e.g., hereya/postgres)",
|
|
2319
|
-
"name": "package",
|
|
2320
|
-
"required": true
|
|
2321
|
-
}
|
|
2322
|
-
},
|
|
2323
|
-
"description": "Display the provisioning ID for a package in a git branch-based workspace",
|
|
2324
|
-
"examples": [
|
|
2325
|
-
"<%= config.bin %> <%= command.id %> hereya/postgres",
|
|
2326
|
-
"<%= config.bin %> <%= command.id %> hereya/postgres --profile staging",
|
|
2327
|
-
"<%= config.bin %> <%= command.id %> hereya/postgres --pin"
|
|
2328
|
-
],
|
|
2329
|
-
"flags": {
|
|
2330
|
-
"chdir": {
|
|
2331
|
-
"char": "C",
|
|
2332
|
-
"description": "Project root directory",
|
|
2333
|
-
"name": "chdir",
|
|
2334
|
-
"required": false,
|
|
2335
|
-
"hasDynamicHelp": false,
|
|
2336
|
-
"multiple": false,
|
|
2337
|
-
"type": "option"
|
|
2338
|
-
},
|
|
2339
|
-
"pin": {
|
|
2340
|
-
"description": "Append git commit SHA to workspace name for commit-specific isolation",
|
|
2341
|
-
"name": "pin",
|
|
2342
|
-
"required": false,
|
|
2343
|
-
"allowNo": false,
|
|
2344
|
-
"type": "boolean"
|
|
2345
|
-
},
|
|
2346
|
-
"profile": {
|
|
2347
|
-
"description": "Profile to use for the workspace (will be appended to workspace name)",
|
|
2348
|
-
"name": "profile",
|
|
2349
|
-
"required": false,
|
|
2350
|
-
"hasDynamicHelp": false,
|
|
2351
|
-
"multiple": false,
|
|
2352
|
-
"type": "option"
|
|
2353
|
-
}
|
|
2354
|
-
},
|
|
2355
|
-
"hasDynamicHelp": false,
|
|
2356
|
-
"hiddenAliases": [],
|
|
2357
|
-
"id": "flow:provid",
|
|
2358
|
-
"pluginAlias": "hereya-cli",
|
|
2359
|
-
"pluginName": "hereya-cli",
|
|
2360
|
-
"pluginType": "core",
|
|
2361
|
-
"strict": true,
|
|
2362
|
-
"enableJsonFlag": false,
|
|
2363
|
-
"isESM": true,
|
|
2364
|
-
"relativePath": [
|
|
2365
|
-
"dist",
|
|
2366
|
-
"commands",
|
|
2367
|
-
"flow",
|
|
2368
|
-
"provid",
|
|
2369
|
-
"index.js"
|
|
2370
|
-
]
|
|
2371
|
-
},
|
|
2372
2347
|
"flow:remove": {
|
|
2373
2348
|
"aliases": [],
|
|
2374
2349
|
"args": {
|
|
@@ -2424,24 +2399,25 @@
|
|
|
2424
2399
|
"index.js"
|
|
2425
2400
|
]
|
|
2426
2401
|
},
|
|
2427
|
-
"flow:
|
|
2402
|
+
"flow:provid": {
|
|
2428
2403
|
"aliases": [],
|
|
2429
2404
|
"args": {
|
|
2430
|
-
"
|
|
2431
|
-
"description": "
|
|
2432
|
-
"name": "
|
|
2405
|
+
"package": {
|
|
2406
|
+
"description": "Package name (e.g., hereya/postgres)",
|
|
2407
|
+
"name": "package",
|
|
2433
2408
|
"required": true
|
|
2434
2409
|
}
|
|
2435
2410
|
},
|
|
2436
|
-
"description": "
|
|
2411
|
+
"description": "Display the provisioning ID for a package in a git branch-based workspace",
|
|
2437
2412
|
"examples": [
|
|
2438
|
-
"<%= config.bin %> <%= command.id %>
|
|
2439
|
-
"<%= config.bin %> <%= command.id %> --profile staging
|
|
2440
|
-
"<%= config.bin %> <%= command.id %> --pin
|
|
2413
|
+
"<%= config.bin %> <%= command.id %> hereya/postgres",
|
|
2414
|
+
"<%= config.bin %> <%= command.id %> hereya/postgres --profile staging",
|
|
2415
|
+
"<%= config.bin %> <%= command.id %> hereya/postgres --pin"
|
|
2441
2416
|
],
|
|
2442
2417
|
"flags": {
|
|
2443
2418
|
"chdir": {
|
|
2444
|
-
"
|
|
2419
|
+
"char": "C",
|
|
2420
|
+
"description": "Project root directory",
|
|
2445
2421
|
"name": "chdir",
|
|
2446
2422
|
"required": false,
|
|
2447
2423
|
"hasDynamicHelp": false,
|
|
@@ -2449,14 +2425,14 @@
|
|
|
2449
2425
|
"type": "option"
|
|
2450
2426
|
},
|
|
2451
2427
|
"pin": {
|
|
2452
|
-
"description": "
|
|
2428
|
+
"description": "Append git commit SHA to workspace name for commit-specific isolation",
|
|
2453
2429
|
"name": "pin",
|
|
2454
2430
|
"required": false,
|
|
2455
2431
|
"allowNo": false,
|
|
2456
2432
|
"type": "boolean"
|
|
2457
2433
|
},
|
|
2458
2434
|
"profile": {
|
|
2459
|
-
"description": "
|
|
2435
|
+
"description": "Profile to use for the workspace (will be appended to workspace name)",
|
|
2460
2436
|
"name": "profile",
|
|
2461
2437
|
"required": false,
|
|
2462
2438
|
"hasDynamicHelp": false,
|
|
@@ -2466,18 +2442,18 @@
|
|
|
2466
2442
|
},
|
|
2467
2443
|
"hasDynamicHelp": false,
|
|
2468
2444
|
"hiddenAliases": [],
|
|
2469
|
-
"id": "flow:
|
|
2445
|
+
"id": "flow:provid",
|
|
2470
2446
|
"pluginAlias": "hereya-cli",
|
|
2471
2447
|
"pluginName": "hereya-cli",
|
|
2472
2448
|
"pluginType": "core",
|
|
2473
|
-
"strict":
|
|
2449
|
+
"strict": true,
|
|
2474
2450
|
"enableJsonFlag": false,
|
|
2475
2451
|
"isESM": true,
|
|
2476
2452
|
"relativePath": [
|
|
2477
2453
|
"dist",
|
|
2478
2454
|
"commands",
|
|
2479
2455
|
"flow",
|
|
2480
|
-
"
|
|
2456
|
+
"provid",
|
|
2481
2457
|
"index.js"
|
|
2482
2458
|
]
|
|
2483
2459
|
},
|
|
@@ -2555,38 +2531,39 @@
|
|
|
2555
2531
|
"index.js"
|
|
2556
2532
|
]
|
|
2557
2533
|
},
|
|
2558
|
-
"
|
|
2534
|
+
"flow:run": {
|
|
2559
2535
|
"aliases": [],
|
|
2560
2536
|
"args": {
|
|
2561
|
-
"
|
|
2562
|
-
"description": "
|
|
2563
|
-
"name": "
|
|
2537
|
+
"cmd": {
|
|
2538
|
+
"description": "command to run",
|
|
2539
|
+
"name": "cmd",
|
|
2564
2540
|
"required": true
|
|
2565
2541
|
}
|
|
2566
2542
|
},
|
|
2567
|
-
"description": "
|
|
2543
|
+
"description": "Run a command with hereya env vars in a git branch-based workspace",
|
|
2568
2544
|
"examples": [
|
|
2569
|
-
"<%= config.bin %> <%= command.id %> dev"
|
|
2545
|
+
"<%= config.bin %> <%= command.id %> -- npm run dev",
|
|
2546
|
+
"<%= config.bin %> <%= command.id %> --profile staging -- node index.js",
|
|
2547
|
+
"<%= config.bin %> <%= command.id %> --pin -- npm test"
|
|
2570
2548
|
],
|
|
2571
2549
|
"flags": {
|
|
2572
|
-
"
|
|
2573
|
-
"
|
|
2574
|
-
"
|
|
2575
|
-
"name": "deployment",
|
|
2576
|
-
"required": false,
|
|
2577
|
-
"allowNo": false,
|
|
2578
|
-
"type": "boolean"
|
|
2579
|
-
},
|
|
2580
|
-
"mirror": {
|
|
2581
|
-
"description": "workspace to mirror",
|
|
2582
|
-
"name": "mirror",
|
|
2550
|
+
"chdir": {
|
|
2551
|
+
"description": "directory to run command in",
|
|
2552
|
+
"name": "chdir",
|
|
2583
2553
|
"required": false,
|
|
2584
2554
|
"hasDynamicHelp": false,
|
|
2585
2555
|
"multiple": false,
|
|
2586
2556
|
"type": "option"
|
|
2587
2557
|
},
|
|
2558
|
+
"pin": {
|
|
2559
|
+
"description": "append git commit SHA to workspace name for commit-specific isolation",
|
|
2560
|
+
"name": "pin",
|
|
2561
|
+
"required": false,
|
|
2562
|
+
"allowNo": false,
|
|
2563
|
+
"type": "boolean"
|
|
2564
|
+
},
|
|
2588
2565
|
"profile": {
|
|
2589
|
-
"description": "
|
|
2566
|
+
"description": "profile to use for the workspace (will be appended to workspace name)",
|
|
2590
2567
|
"name": "profile",
|
|
2591
2568
|
"required": false,
|
|
2592
2569
|
"hasDynamicHelp": false,
|
|
@@ -2596,18 +2573,18 @@
|
|
|
2596
2573
|
},
|
|
2597
2574
|
"hasDynamicHelp": false,
|
|
2598
2575
|
"hiddenAliases": [],
|
|
2599
|
-
"id": "
|
|
2576
|
+
"id": "flow:run",
|
|
2600
2577
|
"pluginAlias": "hereya-cli",
|
|
2601
2578
|
"pluginName": "hereya-cli",
|
|
2602
2579
|
"pluginType": "core",
|
|
2603
|
-
"strict":
|
|
2580
|
+
"strict": false,
|
|
2604
2581
|
"enableJsonFlag": false,
|
|
2605
2582
|
"isESM": true,
|
|
2606
2583
|
"relativePath": [
|
|
2607
2584
|
"dist",
|
|
2608
2585
|
"commands",
|
|
2609
|
-
"
|
|
2610
|
-
"
|
|
2586
|
+
"flow",
|
|
2587
|
+
"run",
|
|
2611
2588
|
"index.js"
|
|
2612
2589
|
]
|
|
2613
2590
|
},
|
|
@@ -2642,6 +2619,62 @@
|
|
|
2642
2619
|
"index.js"
|
|
2643
2620
|
]
|
|
2644
2621
|
},
|
|
2622
|
+
"workspace:create": {
|
|
2623
|
+
"aliases": [],
|
|
2624
|
+
"args": {
|
|
2625
|
+
"name": {
|
|
2626
|
+
"description": "name of the workspace to create",
|
|
2627
|
+
"name": "name",
|
|
2628
|
+
"required": true
|
|
2629
|
+
}
|
|
2630
|
+
},
|
|
2631
|
+
"description": "Create a new workspace if it does not exist.",
|
|
2632
|
+
"examples": [
|
|
2633
|
+
"<%= config.bin %> <%= command.id %> dev"
|
|
2634
|
+
],
|
|
2635
|
+
"flags": {
|
|
2636
|
+
"deployment": {
|
|
2637
|
+
"char": "d",
|
|
2638
|
+
"description": "mark workspace as a deployment workspace",
|
|
2639
|
+
"name": "deployment",
|
|
2640
|
+
"required": false,
|
|
2641
|
+
"allowNo": false,
|
|
2642
|
+
"type": "boolean"
|
|
2643
|
+
},
|
|
2644
|
+
"mirror": {
|
|
2645
|
+
"description": "workspace to mirror",
|
|
2646
|
+
"name": "mirror",
|
|
2647
|
+
"required": false,
|
|
2648
|
+
"hasDynamicHelp": false,
|
|
2649
|
+
"multiple": false,
|
|
2650
|
+
"type": "option"
|
|
2651
|
+
},
|
|
2652
|
+
"profile": {
|
|
2653
|
+
"description": "workspace profile to set (cloud backend only)",
|
|
2654
|
+
"name": "profile",
|
|
2655
|
+
"required": false,
|
|
2656
|
+
"hasDynamicHelp": false,
|
|
2657
|
+
"multiple": false,
|
|
2658
|
+
"type": "option"
|
|
2659
|
+
}
|
|
2660
|
+
},
|
|
2661
|
+
"hasDynamicHelp": false,
|
|
2662
|
+
"hiddenAliases": [],
|
|
2663
|
+
"id": "workspace:create",
|
|
2664
|
+
"pluginAlias": "hereya-cli",
|
|
2665
|
+
"pluginName": "hereya-cli",
|
|
2666
|
+
"pluginType": "core",
|
|
2667
|
+
"strict": true,
|
|
2668
|
+
"enableJsonFlag": false,
|
|
2669
|
+
"isESM": true,
|
|
2670
|
+
"relativePath": [
|
|
2671
|
+
"dist",
|
|
2672
|
+
"commands",
|
|
2673
|
+
"workspace",
|
|
2674
|
+
"create",
|
|
2675
|
+
"index.js"
|
|
2676
|
+
]
|
|
2677
|
+
},
|
|
2645
2678
|
"workspace:env": {
|
|
2646
2679
|
"aliases": [],
|
|
2647
2680
|
"args": {
|
|
@@ -2842,46 +2875,60 @@
|
|
|
2842
2875
|
"index.js"
|
|
2843
2876
|
]
|
|
2844
2877
|
},
|
|
2845
|
-
"
|
|
2878
|
+
"devenv:project:init": {
|
|
2846
2879
|
"aliases": [],
|
|
2847
2880
|
"args": {
|
|
2848
|
-
"
|
|
2849
|
-
"description": "
|
|
2850
|
-
"name": "
|
|
2881
|
+
"project": {
|
|
2882
|
+
"description": "project name",
|
|
2883
|
+
"name": "project",
|
|
2851
2884
|
"required": true
|
|
2852
2885
|
}
|
|
2853
2886
|
},
|
|
2854
|
-
"description": "
|
|
2887
|
+
"description": "Initialize a project on a remote dev environment.",
|
|
2855
2888
|
"examples": [
|
|
2856
|
-
"<%= config.bin %> <%= command.id %>
|
|
2889
|
+
"<%= config.bin %> <%= command.id %> my-app -w my-workspace",
|
|
2890
|
+
"<%= config.bin %> <%= command.id %> my-app -w my-workspace -t acme/node-starter",
|
|
2891
|
+
"<%= config.bin %> <%= command.id %> my-app -w my-workspace -t acme/node-starter -p region=us-east-1"
|
|
2857
2892
|
],
|
|
2858
2893
|
"flags": {
|
|
2859
|
-
"
|
|
2860
|
-
"
|
|
2861
|
-
"
|
|
2894
|
+
"deploy-workspace": {
|
|
2895
|
+
"char": "d",
|
|
2896
|
+
"description": "workspace used for deployment (required when using a template)",
|
|
2897
|
+
"name": "deploy-workspace",
|
|
2898
|
+
"required": false,
|
|
2899
|
+
"hasDynamicHelp": false,
|
|
2900
|
+
"multiple": false,
|
|
2901
|
+
"type": "option"
|
|
2902
|
+
},
|
|
2903
|
+
"force": {
|
|
2904
|
+
"char": "f",
|
|
2905
|
+
"description": "continue even if folder already exists",
|
|
2906
|
+
"name": "force",
|
|
2862
2907
|
"allowNo": false,
|
|
2863
2908
|
"type": "boolean"
|
|
2864
2909
|
},
|
|
2865
2910
|
"parameter": {
|
|
2866
2911
|
"char": "p",
|
|
2867
|
-
"description": "parameter for the
|
|
2912
|
+
"description": "parameter for the template, in the form of 'key=value'. Can be specified multiple times.",
|
|
2868
2913
|
"name": "parameter",
|
|
2914
|
+
"required": false,
|
|
2869
2915
|
"default": [],
|
|
2870
2916
|
"hasDynamicHelp": false,
|
|
2871
2917
|
"multiple": true,
|
|
2872
2918
|
"type": "option"
|
|
2873
2919
|
},
|
|
2874
|
-
"
|
|
2875
|
-
"char": "
|
|
2876
|
-
"description": "
|
|
2877
|
-
"name": "
|
|
2920
|
+
"template": {
|
|
2921
|
+
"char": "t",
|
|
2922
|
+
"description": "template package to scaffold the project from",
|
|
2923
|
+
"name": "template",
|
|
2924
|
+
"required": false,
|
|
2878
2925
|
"hasDynamicHelp": false,
|
|
2879
2926
|
"multiple": false,
|
|
2880
2927
|
"type": "option"
|
|
2881
2928
|
},
|
|
2882
2929
|
"workspace": {
|
|
2883
2930
|
"char": "w",
|
|
2884
|
-
"description": "name of the workspace
|
|
2931
|
+
"description": "name of the workspace",
|
|
2885
2932
|
"name": "workspace",
|
|
2886
2933
|
"required": true,
|
|
2887
2934
|
"hasDynamicHelp": false,
|
|
@@ -2891,7 +2938,7 @@
|
|
|
2891
2938
|
},
|
|
2892
2939
|
"hasDynamicHelp": false,
|
|
2893
2940
|
"hiddenAliases": [],
|
|
2894
|
-
"id": "
|
|
2941
|
+
"id": "devenv:project:init",
|
|
2895
2942
|
"pluginAlias": "hereya-cli",
|
|
2896
2943
|
"pluginName": "hereya-cli",
|
|
2897
2944
|
"pluginType": "core",
|
|
@@ -2901,65 +2948,52 @@
|
|
|
2901
2948
|
"relativePath": [
|
|
2902
2949
|
"dist",
|
|
2903
2950
|
"commands",
|
|
2904
|
-
"
|
|
2905
|
-
"
|
|
2951
|
+
"devenv",
|
|
2952
|
+
"project",
|
|
2953
|
+
"init",
|
|
2906
2954
|
"index.js"
|
|
2907
2955
|
]
|
|
2908
2956
|
},
|
|
2909
|
-
"
|
|
2957
|
+
"workspace:uninstall": {
|
|
2910
2958
|
"aliases": [],
|
|
2911
2959
|
"args": {
|
|
2912
|
-
"
|
|
2913
|
-
"description": "
|
|
2914
|
-
"name": "
|
|
2960
|
+
"package": {
|
|
2961
|
+
"description": "The package to remove. Packages are gitHub repositories. Use the format owner/repository",
|
|
2962
|
+
"name": "package",
|
|
2915
2963
|
"required": true
|
|
2916
2964
|
}
|
|
2917
2965
|
},
|
|
2918
|
-
"description": "
|
|
2966
|
+
"description": "Remove a package from a workspace.",
|
|
2919
2967
|
"examples": [
|
|
2920
|
-
"<%= config.bin %> <%= command.id %>
|
|
2921
|
-
"<%= config.bin %> <%= command.id %> my-app -w my-workspace -t acme/node-starter",
|
|
2922
|
-
"<%= config.bin %> <%= command.id %> my-app -w my-workspace -t acme/node-starter -p region=us-east-1"
|
|
2968
|
+
"<%= config.bin %> <%= command.id %> hereya/aws-cognito"
|
|
2923
2969
|
],
|
|
2924
2970
|
"flags": {
|
|
2925
|
-
"
|
|
2926
|
-
"
|
|
2927
|
-
"
|
|
2928
|
-
"name": "deploy-workspace",
|
|
2929
|
-
"required": false,
|
|
2930
|
-
"hasDynamicHelp": false,
|
|
2931
|
-
"multiple": false,
|
|
2932
|
-
"type": "option"
|
|
2933
|
-
},
|
|
2934
|
-
"force": {
|
|
2935
|
-
"char": "f",
|
|
2936
|
-
"description": "continue even if folder already exists",
|
|
2937
|
-
"name": "force",
|
|
2971
|
+
"debug": {
|
|
2972
|
+
"description": "enable debug mode",
|
|
2973
|
+
"name": "debug",
|
|
2938
2974
|
"allowNo": false,
|
|
2939
2975
|
"type": "boolean"
|
|
2940
2976
|
},
|
|
2941
2977
|
"parameter": {
|
|
2942
2978
|
"char": "p",
|
|
2943
|
-
"description": "parameter for the
|
|
2979
|
+
"description": "parameter for the package, in the form of 'key=value'. Can be specified multiple times.",
|
|
2944
2980
|
"name": "parameter",
|
|
2945
|
-
"required": false,
|
|
2946
2981
|
"default": [],
|
|
2947
2982
|
"hasDynamicHelp": false,
|
|
2948
2983
|
"multiple": true,
|
|
2949
2984
|
"type": "option"
|
|
2950
2985
|
},
|
|
2951
|
-
"
|
|
2952
|
-
"char": "
|
|
2953
|
-
"description": "
|
|
2954
|
-
"name": "
|
|
2955
|
-
"required": false,
|
|
2986
|
+
"parameter-file": {
|
|
2987
|
+
"char": "f",
|
|
2988
|
+
"description": "path to a file containing parameters for the package",
|
|
2989
|
+
"name": "parameter-file",
|
|
2956
2990
|
"hasDynamicHelp": false,
|
|
2957
2991
|
"multiple": false,
|
|
2958
2992
|
"type": "option"
|
|
2959
2993
|
},
|
|
2960
2994
|
"workspace": {
|
|
2961
2995
|
"char": "w",
|
|
2962
|
-
"description": "name of the workspace",
|
|
2996
|
+
"description": "name of the workspace to remove the package from",
|
|
2963
2997
|
"name": "workspace",
|
|
2964
2998
|
"required": true,
|
|
2965
2999
|
"hasDynamicHelp": false,
|
|
@@ -2969,7 +3003,7 @@
|
|
|
2969
3003
|
},
|
|
2970
3004
|
"hasDynamicHelp": false,
|
|
2971
3005
|
"hiddenAliases": [],
|
|
2972
|
-
"id": "
|
|
3006
|
+
"id": "workspace:uninstall",
|
|
2973
3007
|
"pluginAlias": "hereya-cli",
|
|
2974
3008
|
"pluginName": "hereya-cli",
|
|
2975
3009
|
"pluginType": "core",
|
|
@@ -2979,9 +3013,8 @@
|
|
|
2979
3013
|
"relativePath": [
|
|
2980
3014
|
"dist",
|
|
2981
3015
|
"commands",
|
|
2982
|
-
"
|
|
2983
|
-
"
|
|
2984
|
-
"init",
|
|
3016
|
+
"workspace",
|
|
3017
|
+
"uninstall",
|
|
2985
3018
|
"index.js"
|
|
2986
3019
|
]
|
|
2987
3020
|
},
|
|
@@ -3103,96 +3136,14 @@
|
|
|
3103
3136
|
"index.js"
|
|
3104
3137
|
]
|
|
3105
3138
|
},
|
|
3106
|
-
"workspace:
|
|
3107
|
-
"aliases": [],
|
|
3108
|
-
"args": {},
|
|
3109
|
-
"description": "set an env var for a workspace",
|
|
3110
|
-
"examples": [
|
|
3111
|
-
"<%= config.bin %> <%= command.id %> -w my-workspace -n myVar -v my-value -i aws -s"
|
|
3112
|
-
],
|
|
3113
|
-
"flags": {
|
|
3114
|
-
"infra": {
|
|
3115
|
-
"char": "i",
|
|
3116
|
-
"description": "the infrastructure to store the env var in",
|
|
3117
|
-
"name": "infra",
|
|
3118
|
-
"required": true,
|
|
3119
|
-
"hasDynamicHelp": false,
|
|
3120
|
-
"multiple": false,
|
|
3121
|
-
"type": "option"
|
|
3122
|
-
},
|
|
3123
|
-
"name": {
|
|
3124
|
-
"char": "n",
|
|
3125
|
-
"description": "name of the env var to set",
|
|
3126
|
-
"name": "name",
|
|
3127
|
-
"required": true,
|
|
3128
|
-
"hasDynamicHelp": false,
|
|
3129
|
-
"multiple": false,
|
|
3130
|
-
"type": "option"
|
|
3131
|
-
},
|
|
3132
|
-
"sensitive": {
|
|
3133
|
-
"char": "s",
|
|
3134
|
-
"description": "whether the env var is sensitive",
|
|
3135
|
-
"name": "sensitive",
|
|
3136
|
-
"allowNo": false,
|
|
3137
|
-
"type": "boolean"
|
|
3138
|
-
},
|
|
3139
|
-
"value": {
|
|
3140
|
-
"char": "v",
|
|
3141
|
-
"description": "value of the env var to set",
|
|
3142
|
-
"name": "value",
|
|
3143
|
-
"required": true,
|
|
3144
|
-
"hasDynamicHelp": false,
|
|
3145
|
-
"multiple": false,
|
|
3146
|
-
"type": "option"
|
|
3147
|
-
},
|
|
3148
|
-
"workspace": {
|
|
3149
|
-
"char": "w",
|
|
3150
|
-
"description": "name of the workspace to set an env var for",
|
|
3151
|
-
"name": "workspace",
|
|
3152
|
-
"required": true,
|
|
3153
|
-
"hasDynamicHelp": false,
|
|
3154
|
-
"multiple": false,
|
|
3155
|
-
"type": "option"
|
|
3156
|
-
}
|
|
3157
|
-
},
|
|
3158
|
-
"hasDynamicHelp": false,
|
|
3159
|
-
"hiddenAliases": [],
|
|
3160
|
-
"id": "workspace:env:set",
|
|
3161
|
-
"pluginAlias": "hereya-cli",
|
|
3162
|
-
"pluginName": "hereya-cli",
|
|
3163
|
-
"pluginType": "core",
|
|
3164
|
-
"strict": true,
|
|
3165
|
-
"enableJsonFlag": false,
|
|
3166
|
-
"isESM": true,
|
|
3167
|
-
"relativePath": [
|
|
3168
|
-
"dist",
|
|
3169
|
-
"commands",
|
|
3170
|
-
"workspace",
|
|
3171
|
-
"env",
|
|
3172
|
-
"set",
|
|
3173
|
-
"index.js"
|
|
3174
|
-
]
|
|
3175
|
-
},
|
|
3176
|
-
"workspace:env:unset": {
|
|
3139
|
+
"workspace:executor:token": {
|
|
3177
3140
|
"aliases": [],
|
|
3178
3141
|
"args": {},
|
|
3179
|
-
"description": "
|
|
3180
|
-
"examples": [
|
|
3181
|
-
"<%= config.bin %> <%= command.id %> -w my-workspace -n myVar"
|
|
3182
|
-
],
|
|
3142
|
+
"description": "Generate a workspace-scoped executor token for the remote executor",
|
|
3183
3143
|
"flags": {
|
|
3184
|
-
"name": {
|
|
3185
|
-
"char": "n",
|
|
3186
|
-
"description": "name of the env var to unset",
|
|
3187
|
-
"name": "name",
|
|
3188
|
-
"required": true,
|
|
3189
|
-
"hasDynamicHelp": false,
|
|
3190
|
-
"multiple": false,
|
|
3191
|
-
"type": "option"
|
|
3192
|
-
},
|
|
3193
3144
|
"workspace": {
|
|
3194
3145
|
"char": "w",
|
|
3195
|
-
"description": "name of the workspace
|
|
3146
|
+
"description": "name of the workspace",
|
|
3196
3147
|
"name": "workspace",
|
|
3197
3148
|
"required": true,
|
|
3198
3149
|
"hasDynamicHelp": false,
|
|
@@ -3202,7 +3153,7 @@
|
|
|
3202
3153
|
},
|
|
3203
3154
|
"hasDynamicHelp": false,
|
|
3204
3155
|
"hiddenAliases": [],
|
|
3205
|
-
"id": "workspace:
|
|
3156
|
+
"id": "workspace:executor:token",
|
|
3206
3157
|
"pluginAlias": "hereya-cli",
|
|
3207
3158
|
"pluginName": "hereya-cli",
|
|
3208
3159
|
"pluginType": "core",
|
|
@@ -3213,15 +3164,15 @@
|
|
|
3213
3164
|
"dist",
|
|
3214
3165
|
"commands",
|
|
3215
3166
|
"workspace",
|
|
3216
|
-
"
|
|
3217
|
-
"
|
|
3167
|
+
"executor",
|
|
3168
|
+
"token",
|
|
3218
3169
|
"index.js"
|
|
3219
3170
|
]
|
|
3220
3171
|
},
|
|
3221
3172
|
"workspace:executor:install": {
|
|
3222
3173
|
"aliases": [],
|
|
3223
3174
|
"args": {},
|
|
3224
|
-
"description": "Install a remote executor into a workspace.\n\nProvisions hereya/remote-executor-aws. Two modes are supported:\n -
|
|
3175
|
+
"description": "Install a remote executor into a workspace.\n\nProvisions hereya/remote-executor-aws. Two modes are supported:\n - ephemeral (default): ASG scaled to 0 with a broker Lambda + OIDC for on-demand wake.\n - always-on: a long-lived EC2 polls hereya-cloud 24/7 (legacy).",
|
|
3225
3176
|
"flags": {
|
|
3226
3177
|
"debug": {
|
|
3227
3178
|
"description": "enable debug mode",
|
|
@@ -3237,9 +3188,9 @@
|
|
|
3237
3188
|
"type": "boolean"
|
|
3238
3189
|
},
|
|
3239
3190
|
"mode": {
|
|
3240
|
-
"description": "executor mode:
|
|
3191
|
+
"description": "executor mode: ephemeral (ASG min=0/max=1 with broker Lambda) or always-on (legacy long-lived EC2)",
|
|
3241
3192
|
"name": "mode",
|
|
3242
|
-
"default": "
|
|
3193
|
+
"default": "ephemeral",
|
|
3243
3194
|
"hasDynamicHelp": false,
|
|
3244
3195
|
"multiple": false,
|
|
3245
3196
|
"options": [
|
|
@@ -3284,14 +3235,51 @@
|
|
|
3284
3235
|
"index.js"
|
|
3285
3236
|
]
|
|
3286
3237
|
},
|
|
3287
|
-
"workspace:
|
|
3238
|
+
"workspace:env:set": {
|
|
3288
3239
|
"aliases": [],
|
|
3289
3240
|
"args": {},
|
|
3290
|
-
"description": "
|
|
3241
|
+
"description": "set an env var for a workspace",
|
|
3242
|
+
"examples": [
|
|
3243
|
+
"<%= config.bin %> <%= command.id %> -w my-workspace -n myVar -v my-value -i aws -s"
|
|
3244
|
+
],
|
|
3291
3245
|
"flags": {
|
|
3246
|
+
"infra": {
|
|
3247
|
+
"char": "i",
|
|
3248
|
+
"description": "the infrastructure to store the env var in",
|
|
3249
|
+
"name": "infra",
|
|
3250
|
+
"required": true,
|
|
3251
|
+
"hasDynamicHelp": false,
|
|
3252
|
+
"multiple": false,
|
|
3253
|
+
"type": "option"
|
|
3254
|
+
},
|
|
3255
|
+
"name": {
|
|
3256
|
+
"char": "n",
|
|
3257
|
+
"description": "name of the env var to set",
|
|
3258
|
+
"name": "name",
|
|
3259
|
+
"required": true,
|
|
3260
|
+
"hasDynamicHelp": false,
|
|
3261
|
+
"multiple": false,
|
|
3262
|
+
"type": "option"
|
|
3263
|
+
},
|
|
3264
|
+
"sensitive": {
|
|
3265
|
+
"char": "s",
|
|
3266
|
+
"description": "whether the env var is sensitive",
|
|
3267
|
+
"name": "sensitive",
|
|
3268
|
+
"allowNo": false,
|
|
3269
|
+
"type": "boolean"
|
|
3270
|
+
},
|
|
3271
|
+
"value": {
|
|
3272
|
+
"char": "v",
|
|
3273
|
+
"description": "value of the env var to set",
|
|
3274
|
+
"name": "value",
|
|
3275
|
+
"required": true,
|
|
3276
|
+
"hasDynamicHelp": false,
|
|
3277
|
+
"multiple": false,
|
|
3278
|
+
"type": "option"
|
|
3279
|
+
},
|
|
3292
3280
|
"workspace": {
|
|
3293
3281
|
"char": "w",
|
|
3294
|
-
"description": "name of the workspace",
|
|
3282
|
+
"description": "name of the workspace to set an env var for",
|
|
3295
3283
|
"name": "workspace",
|
|
3296
3284
|
"required": true,
|
|
3297
3285
|
"hasDynamicHelp": false,
|
|
@@ -3301,7 +3289,7 @@
|
|
|
3301
3289
|
},
|
|
3302
3290
|
"hasDynamicHelp": false,
|
|
3303
3291
|
"hiddenAliases": [],
|
|
3304
|
-
"id": "workspace:
|
|
3292
|
+
"id": "workspace:env:set",
|
|
3305
3293
|
"pluginAlias": "hereya-cli",
|
|
3306
3294
|
"pluginName": "hereya-cli",
|
|
3307
3295
|
"pluginType": "core",
|
|
@@ -3312,8 +3300,8 @@
|
|
|
3312
3300
|
"dist",
|
|
3313
3301
|
"commands",
|
|
3314
3302
|
"workspace",
|
|
3315
|
-
"
|
|
3316
|
-
"
|
|
3303
|
+
"env",
|
|
3304
|
+
"set",
|
|
3317
3305
|
"index.js"
|
|
3318
3306
|
]
|
|
3319
3307
|
},
|
|
@@ -3367,7 +3355,52 @@
|
|
|
3367
3355
|
"uninstall",
|
|
3368
3356
|
"index.js"
|
|
3369
3357
|
]
|
|
3358
|
+
},
|
|
3359
|
+
"workspace:env:unset": {
|
|
3360
|
+
"aliases": [],
|
|
3361
|
+
"args": {},
|
|
3362
|
+
"description": "unset an env var for a workspace",
|
|
3363
|
+
"examples": [
|
|
3364
|
+
"<%= config.bin %> <%= command.id %> -w my-workspace -n myVar"
|
|
3365
|
+
],
|
|
3366
|
+
"flags": {
|
|
3367
|
+
"name": {
|
|
3368
|
+
"char": "n",
|
|
3369
|
+
"description": "name of the env var to unset",
|
|
3370
|
+
"name": "name",
|
|
3371
|
+
"required": true,
|
|
3372
|
+
"hasDynamicHelp": false,
|
|
3373
|
+
"multiple": false,
|
|
3374
|
+
"type": "option"
|
|
3375
|
+
},
|
|
3376
|
+
"workspace": {
|
|
3377
|
+
"char": "w",
|
|
3378
|
+
"description": "name of the workspace to unset an env var for",
|
|
3379
|
+
"name": "workspace",
|
|
3380
|
+
"required": true,
|
|
3381
|
+
"hasDynamicHelp": false,
|
|
3382
|
+
"multiple": false,
|
|
3383
|
+
"type": "option"
|
|
3384
|
+
}
|
|
3385
|
+
},
|
|
3386
|
+
"hasDynamicHelp": false,
|
|
3387
|
+
"hiddenAliases": [],
|
|
3388
|
+
"id": "workspace:env:unset",
|
|
3389
|
+
"pluginAlias": "hereya-cli",
|
|
3390
|
+
"pluginName": "hereya-cli",
|
|
3391
|
+
"pluginType": "core",
|
|
3392
|
+
"strict": true,
|
|
3393
|
+
"enableJsonFlag": false,
|
|
3394
|
+
"isESM": true,
|
|
3395
|
+
"relativePath": [
|
|
3396
|
+
"dist",
|
|
3397
|
+
"commands",
|
|
3398
|
+
"workspace",
|
|
3399
|
+
"env",
|
|
3400
|
+
"unset",
|
|
3401
|
+
"index.js"
|
|
3402
|
+
]
|
|
3370
3403
|
}
|
|
3371
3404
|
},
|
|
3372
|
-
"version": "0.
|
|
3405
|
+
"version": "0.96.0"
|
|
3373
3406
|
}
|