hereya-cli 0.100.1 → 0.100.3
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 +66 -66
- package/dist/commands/devenv/config/index.js +3 -1
- package/dist/commands/devenv/ssh/index.d.ts +6 -0
- package/dist/commands/devenv/ssh/index.js +15 -1
- package/dist/executor/resolve-env.d.ts +9 -1
- package/dist/executor/resolve-env.js +10 -2
- package/dist/lib/git-utils.js +4 -4
- package/dist/lib/shell.d.ts +20 -0
- package/dist/lib/shell.js +55 -0
- package/oclif.manifest.json +182 -182
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -1354,46 +1354,29 @@
|
|
|
1354
1354
|
"index.js"
|
|
1355
1355
|
]
|
|
1356
1356
|
},
|
|
1357
|
-
"app:
|
|
1357
|
+
"app:env": {
|
|
1358
1358
|
"aliases": [],
|
|
1359
1359
|
"args": {
|
|
1360
1360
|
"name": {
|
|
1361
1361
|
"description": "app name in org/name format",
|
|
1362
1362
|
"name": "name",
|
|
1363
1363
|
"required": true
|
|
1364
|
+
},
|
|
1365
|
+
"key": {
|
|
1366
|
+
"description": "optional env var key to print (omit to print all)",
|
|
1367
|
+
"name": "key",
|
|
1368
|
+
"required": false
|
|
1364
1369
|
}
|
|
1365
1370
|
},
|
|
1366
|
-
"description": "
|
|
1371
|
+
"description": "Print environment variables exported by a hereya-app deployment.",
|
|
1367
1372
|
"examples": [
|
|
1368
|
-
"<%= config.bin %> <%= command.id %> my-org/my-app -w my-workspace"
|
|
1373
|
+
"<%= config.bin %> <%= command.id %> my-org/my-app -w my-workspace",
|
|
1374
|
+
"<%= config.bin %> <%= command.id %> my-org/my-app -w my-workspace DATABASE_URL"
|
|
1369
1375
|
],
|
|
1370
1376
|
"flags": {
|
|
1371
|
-
"chdir": {
|
|
1372
|
-
"description": "Directory where the command will be executed.\n If not specified, it defaults to the current working directory.\n Alternatively, you can define the project root by setting the HEREYA_PROJECT_ROOT_DIR environment variable.",
|
|
1373
|
-
"name": "chdir",
|
|
1374
|
-
"required": false,
|
|
1375
|
-
"hasDynamicHelp": false,
|
|
1376
|
-
"multiple": false,
|
|
1377
|
-
"type": "option"
|
|
1378
|
-
},
|
|
1379
|
-
"local": {
|
|
1380
|
-
"description": "force local execution (skip remote executor)",
|
|
1381
|
-
"name": "local",
|
|
1382
|
-
"allowNo": false,
|
|
1383
|
-
"type": "boolean"
|
|
1384
|
-
},
|
|
1385
|
-
"parameter": {
|
|
1386
|
-
"char": "p",
|
|
1387
|
-
"description": "parameter for the app deployment, in the form of key=value (repeatable)",
|
|
1388
|
-
"name": "parameter",
|
|
1389
|
-
"default": [],
|
|
1390
|
-
"hasDynamicHelp": false,
|
|
1391
|
-
"multiple": true,
|
|
1392
|
-
"type": "option"
|
|
1393
|
-
},
|
|
1394
1377
|
"workspace": {
|
|
1395
1378
|
"char": "w",
|
|
1396
|
-
"description": "workspace
|
|
1379
|
+
"description": "workspace to read env outputs from",
|
|
1397
1380
|
"name": "workspace",
|
|
1398
1381
|
"required": true,
|
|
1399
1382
|
"hasDynamicHelp": false,
|
|
@@ -1403,7 +1386,7 @@
|
|
|
1403
1386
|
},
|
|
1404
1387
|
"hasDynamicHelp": false,
|
|
1405
1388
|
"hiddenAliases": [],
|
|
1406
|
-
"id": "app:
|
|
1389
|
+
"id": "app:env",
|
|
1407
1390
|
"pluginAlias": "hereya-cli",
|
|
1408
1391
|
"pluginName": "hereya-cli",
|
|
1409
1392
|
"pluginType": "core",
|
|
@@ -1414,33 +1397,50 @@
|
|
|
1414
1397
|
"dist",
|
|
1415
1398
|
"commands",
|
|
1416
1399
|
"app",
|
|
1417
|
-
"
|
|
1400
|
+
"env",
|
|
1418
1401
|
"index.js"
|
|
1419
1402
|
]
|
|
1420
1403
|
},
|
|
1421
|
-
"app:
|
|
1404
|
+
"app:destroy": {
|
|
1422
1405
|
"aliases": [],
|
|
1423
1406
|
"args": {
|
|
1424
1407
|
"name": {
|
|
1425
1408
|
"description": "app name in org/name format",
|
|
1426
1409
|
"name": "name",
|
|
1427
1410
|
"required": true
|
|
1428
|
-
},
|
|
1429
|
-
"key": {
|
|
1430
|
-
"description": "optional env var key to print (omit to print all)",
|
|
1431
|
-
"name": "key",
|
|
1432
|
-
"required": false
|
|
1433
1411
|
}
|
|
1434
1412
|
},
|
|
1435
|
-
"description": "
|
|
1413
|
+
"description": "Destroy a hereya-app deployment from a workspace.",
|
|
1436
1414
|
"examples": [
|
|
1437
|
-
"<%= config.bin %> <%= command.id %> my-org/my-app -w my-workspace"
|
|
1438
|
-
"<%= config.bin %> <%= command.id %> my-org/my-app -w my-workspace DATABASE_URL"
|
|
1415
|
+
"<%= config.bin %> <%= command.id %> my-org/my-app -w my-workspace"
|
|
1439
1416
|
],
|
|
1440
1417
|
"flags": {
|
|
1418
|
+
"chdir": {
|
|
1419
|
+
"description": "Directory where the command will be executed.\n If not specified, it defaults to the current working directory.\n Alternatively, you can define the project root by setting the HEREYA_PROJECT_ROOT_DIR environment variable.",
|
|
1420
|
+
"name": "chdir",
|
|
1421
|
+
"required": false,
|
|
1422
|
+
"hasDynamicHelp": false,
|
|
1423
|
+
"multiple": false,
|
|
1424
|
+
"type": "option"
|
|
1425
|
+
},
|
|
1426
|
+
"local": {
|
|
1427
|
+
"description": "force local execution (skip remote executor)",
|
|
1428
|
+
"name": "local",
|
|
1429
|
+
"allowNo": false,
|
|
1430
|
+
"type": "boolean"
|
|
1431
|
+
},
|
|
1432
|
+
"parameter": {
|
|
1433
|
+
"char": "p",
|
|
1434
|
+
"description": "parameter for the app deployment, in the form of key=value (repeatable)",
|
|
1435
|
+
"name": "parameter",
|
|
1436
|
+
"default": [],
|
|
1437
|
+
"hasDynamicHelp": false,
|
|
1438
|
+
"multiple": true,
|
|
1439
|
+
"type": "option"
|
|
1440
|
+
},
|
|
1441
1441
|
"workspace": {
|
|
1442
1442
|
"char": "w",
|
|
1443
|
-
"description": "workspace
|
|
1443
|
+
"description": "workspace where the app is currently deployed",
|
|
1444
1444
|
"name": "workspace",
|
|
1445
1445
|
"required": true,
|
|
1446
1446
|
"hasDynamicHelp": false,
|
|
@@ -1450,7 +1450,7 @@
|
|
|
1450
1450
|
},
|
|
1451
1451
|
"hasDynamicHelp": false,
|
|
1452
1452
|
"hiddenAliases": [],
|
|
1453
|
-
"id": "app:
|
|
1453
|
+
"id": "app:destroy",
|
|
1454
1454
|
"pluginAlias": "hereya-cli",
|
|
1455
1455
|
"pluginName": "hereya-cli",
|
|
1456
1456
|
"pluginType": "core",
|
|
@@ -1461,7 +1461,7 @@
|
|
|
1461
1461
|
"dist",
|
|
1462
1462
|
"commands",
|
|
1463
1463
|
"app",
|
|
1464
|
-
"
|
|
1464
|
+
"destroy",
|
|
1465
1465
|
"index.js"
|
|
1466
1466
|
]
|
|
1467
1467
|
},
|
|
@@ -1490,33 +1490,24 @@
|
|
|
1490
1490
|
"index.js"
|
|
1491
1491
|
]
|
|
1492
1492
|
},
|
|
1493
|
-
"app:
|
|
1493
|
+
"app:status": {
|
|
1494
1494
|
"aliases": [],
|
|
1495
1495
|
"args": {
|
|
1496
|
-
"
|
|
1497
|
-
"description": "
|
|
1498
|
-
"name": "
|
|
1496
|
+
"name": {
|
|
1497
|
+
"description": "app name in org/name format",
|
|
1498
|
+
"name": "name",
|
|
1499
1499
|
"required": true
|
|
1500
1500
|
}
|
|
1501
1501
|
},
|
|
1502
|
-
"description": "
|
|
1502
|
+
"description": "Show the deployment status of a hereya-app on a workspace.",
|
|
1503
1503
|
"examples": [
|
|
1504
|
-
"<%= config.bin %> <%= command.id %>
|
|
1505
|
-
"<%= config.bin %> <%= command.id %> ./my-app -n my-org/my-app --description \"An ai-app-builder app\""
|
|
1504
|
+
"<%= config.bin %> <%= command.id %> my-org/my-app -w my-workspace"
|
|
1506
1505
|
],
|
|
1507
1506
|
"flags": {
|
|
1508
|
-
"
|
|
1509
|
-
"
|
|
1510
|
-
"
|
|
1511
|
-
"
|
|
1512
|
-
"hasDynamicHelp": false,
|
|
1513
|
-
"multiple": false,
|
|
1514
|
-
"type": "option"
|
|
1515
|
-
},
|
|
1516
|
-
"name": {
|
|
1517
|
-
"char": "n",
|
|
1518
|
-
"description": "app name in org/name format (e.g. my-org/my-app)",
|
|
1519
|
-
"name": "name",
|
|
1507
|
+
"workspace": {
|
|
1508
|
+
"char": "w",
|
|
1509
|
+
"description": "workspace to read deployment status from",
|
|
1510
|
+
"name": "workspace",
|
|
1520
1511
|
"required": true,
|
|
1521
1512
|
"hasDynamicHelp": false,
|
|
1522
1513
|
"multiple": false,
|
|
@@ -1525,7 +1516,7 @@
|
|
|
1525
1516
|
},
|
|
1526
1517
|
"hasDynamicHelp": false,
|
|
1527
1518
|
"hiddenAliases": [],
|
|
1528
|
-
"id": "app:
|
|
1519
|
+
"id": "app:status",
|
|
1529
1520
|
"pluginAlias": "hereya-cli",
|
|
1530
1521
|
"pluginName": "hereya-cli",
|
|
1531
1522
|
"pluginType": "core",
|
|
@@ -1536,28 +1527,37 @@
|
|
|
1536
1527
|
"dist",
|
|
1537
1528
|
"commands",
|
|
1538
1529
|
"app",
|
|
1539
|
-
"
|
|
1530
|
+
"status",
|
|
1540
1531
|
"index.js"
|
|
1541
1532
|
]
|
|
1542
1533
|
},
|
|
1543
|
-
"app:
|
|
1534
|
+
"app:new": {
|
|
1544
1535
|
"aliases": [],
|
|
1545
1536
|
"args": {
|
|
1546
|
-
"
|
|
1547
|
-
"description": "app
|
|
1548
|
-
"name": "
|
|
1537
|
+
"dirname": {
|
|
1538
|
+
"description": "directory to create the app skeleton in",
|
|
1539
|
+
"name": "dirname",
|
|
1549
1540
|
"required": true
|
|
1550
1541
|
}
|
|
1551
1542
|
},
|
|
1552
|
-
"description": "
|
|
1543
|
+
"description": "Scaffold a new hereya-app directory with starter hereyarc.yaml + hereya.yaml.",
|
|
1553
1544
|
"examples": [
|
|
1554
|
-
"<%= config.bin %> <%= command.id %> my-
|
|
1545
|
+
"<%= config.bin %> <%= command.id %> ./my-app -n my-org/my-app",
|
|
1546
|
+
"<%= config.bin %> <%= command.id %> ./my-app -n my-org/my-app --description \"An ai-app-builder app\""
|
|
1555
1547
|
],
|
|
1556
1548
|
"flags": {
|
|
1557
|
-
"
|
|
1558
|
-
"
|
|
1559
|
-
"
|
|
1560
|
-
"
|
|
1549
|
+
"description": {
|
|
1550
|
+
"description": "description of the app",
|
|
1551
|
+
"name": "description",
|
|
1552
|
+
"required": false,
|
|
1553
|
+
"hasDynamicHelp": false,
|
|
1554
|
+
"multiple": false,
|
|
1555
|
+
"type": "option"
|
|
1556
|
+
},
|
|
1557
|
+
"name": {
|
|
1558
|
+
"char": "n",
|
|
1559
|
+
"description": "app name in org/name format (e.g. my-org/my-app)",
|
|
1560
|
+
"name": "name",
|
|
1561
1561
|
"required": true,
|
|
1562
1562
|
"hasDynamicHelp": false,
|
|
1563
1563
|
"multiple": false,
|
|
@@ -1566,7 +1566,7 @@
|
|
|
1566
1566
|
},
|
|
1567
1567
|
"hasDynamicHelp": false,
|
|
1568
1568
|
"hiddenAliases": [],
|
|
1569
|
-
"id": "app:
|
|
1569
|
+
"id": "app:new",
|
|
1570
1570
|
"pluginAlias": "hereya-cli",
|
|
1571
1571
|
"pluginName": "hereya-cli",
|
|
1572
1572
|
"pluginType": "core",
|
|
@@ -1577,7 +1577,7 @@
|
|
|
1577
1577
|
"dist",
|
|
1578
1578
|
"commands",
|
|
1579
1579
|
"app",
|
|
1580
|
-
"
|
|
1580
|
+
"new",
|
|
1581
1581
|
"index.js"
|
|
1582
1582
|
]
|
|
1583
1583
|
},
|
|
@@ -1960,44 +1960,40 @@
|
|
|
1960
1960
|
"index.js"
|
|
1961
1961
|
]
|
|
1962
1962
|
},
|
|
1963
|
-
"
|
|
1963
|
+
"env:set": {
|
|
1964
1964
|
"aliases": [],
|
|
1965
1965
|
"args": {
|
|
1966
|
-
"
|
|
1967
|
-
"description": "
|
|
1968
|
-
"name": "
|
|
1969
|
-
"required": true
|
|
1966
|
+
"name": {
|
|
1967
|
+
"description": "name of the environment variable to set",
|
|
1968
|
+
"name": "name"
|
|
1970
1969
|
}
|
|
1971
1970
|
},
|
|
1972
|
-
"description": "
|
|
1971
|
+
"description": "Set an user-defined environment variable for the project",
|
|
1973
1972
|
"examples": [
|
|
1974
|
-
"<%= config.bin %> <%= command.id %>
|
|
1975
|
-
"<%= config.bin %> <%= command.id %> -w
|
|
1976
|
-
"<%= config.bin %> <%= command.id %> -p 3000 myapp:latest",
|
|
1977
|
-
"<%= config.bin %> <%= command.id %> myapp:latest -- --rm -v ./data:/data"
|
|
1973
|
+
"<%= config.bin %> <%= command.id %> FOO -v bar",
|
|
1974
|
+
"<%= config.bin %> <%= command.id %> FOO -v bar -w dev"
|
|
1978
1975
|
],
|
|
1979
1976
|
"flags": {
|
|
1980
1977
|
"chdir": {
|
|
1981
|
-
"description": "
|
|
1978
|
+
"description": "project root directory",
|
|
1982
1979
|
"name": "chdir",
|
|
1983
1980
|
"required": false,
|
|
1984
1981
|
"hasDynamicHelp": false,
|
|
1985
1982
|
"multiple": false,
|
|
1986
1983
|
"type": "option"
|
|
1987
1984
|
},
|
|
1988
|
-
"
|
|
1989
|
-
"char": "
|
|
1990
|
-
"description": "
|
|
1991
|
-
"name": "
|
|
1992
|
-
"required":
|
|
1993
|
-
"default": 8080,
|
|
1985
|
+
"value": {
|
|
1986
|
+
"char": "v",
|
|
1987
|
+
"description": "value of the environment variable",
|
|
1988
|
+
"name": "value",
|
|
1989
|
+
"required": true,
|
|
1994
1990
|
"hasDynamicHelp": false,
|
|
1995
1991
|
"multiple": false,
|
|
1996
1992
|
"type": "option"
|
|
1997
1993
|
},
|
|
1998
1994
|
"workspace": {
|
|
1999
1995
|
"char": "w",
|
|
2000
|
-
"description": "name of the workspace to
|
|
1996
|
+
"description": "name of the workspace to print the env vars for",
|
|
2001
1997
|
"name": "workspace",
|
|
2002
1998
|
"required": false,
|
|
2003
1999
|
"hasDynamicHelp": false,
|
|
@@ -2007,55 +2003,59 @@
|
|
|
2007
2003
|
},
|
|
2008
2004
|
"hasDynamicHelp": false,
|
|
2009
2005
|
"hiddenAliases": [],
|
|
2010
|
-
"id": "
|
|
2006
|
+
"id": "env:set",
|
|
2011
2007
|
"pluginAlias": "hereya-cli",
|
|
2012
2008
|
"pluginName": "hereya-cli",
|
|
2013
2009
|
"pluginType": "core",
|
|
2014
|
-
"strict":
|
|
2010
|
+
"strict": true,
|
|
2015
2011
|
"enableJsonFlag": false,
|
|
2016
2012
|
"isESM": true,
|
|
2017
2013
|
"relativePath": [
|
|
2018
2014
|
"dist",
|
|
2019
2015
|
"commands",
|
|
2020
|
-
"
|
|
2021
|
-
"
|
|
2016
|
+
"env",
|
|
2017
|
+
"set",
|
|
2022
2018
|
"index.js"
|
|
2023
2019
|
]
|
|
2024
2020
|
},
|
|
2025
|
-
"
|
|
2021
|
+
"docker:run": {
|
|
2026
2022
|
"aliases": [],
|
|
2027
2023
|
"args": {
|
|
2028
|
-
"
|
|
2029
|
-
"description": "
|
|
2030
|
-
"name": "
|
|
2024
|
+
"image": {
|
|
2025
|
+
"description": "Docker image to run",
|
|
2026
|
+
"name": "image",
|
|
2027
|
+
"required": true
|
|
2031
2028
|
}
|
|
2032
2029
|
},
|
|
2033
|
-
"description": "
|
|
2030
|
+
"description": "Run a Docker container with hereya env vars injected as -e flags.",
|
|
2034
2031
|
"examples": [
|
|
2035
|
-
"<%= config.bin %> <%= command.id %>
|
|
2036
|
-
"<%= config.bin %> <%= command.id %>
|
|
2032
|
+
"<%= config.bin %> <%= command.id %> myapp:latest",
|
|
2033
|
+
"<%= config.bin %> <%= command.id %> -w staging myapp:latest",
|
|
2034
|
+
"<%= config.bin %> <%= command.id %> -p 3000 myapp:latest",
|
|
2035
|
+
"<%= config.bin %> <%= command.id %> myapp:latest -- --rm -v ./data:/data"
|
|
2037
2036
|
],
|
|
2038
2037
|
"flags": {
|
|
2039
2038
|
"chdir": {
|
|
2040
|
-
"description": "
|
|
2039
|
+
"description": "directory to run command in",
|
|
2041
2040
|
"name": "chdir",
|
|
2042
2041
|
"required": false,
|
|
2043
2042
|
"hasDynamicHelp": false,
|
|
2044
2043
|
"multiple": false,
|
|
2045
2044
|
"type": "option"
|
|
2046
2045
|
},
|
|
2047
|
-
"
|
|
2048
|
-
"char": "
|
|
2049
|
-
"description": "
|
|
2050
|
-
"name": "
|
|
2051
|
-
"required":
|
|
2046
|
+
"port": {
|
|
2047
|
+
"char": "p",
|
|
2048
|
+
"description": "port to forward and set as PORT env var (default: 8080)",
|
|
2049
|
+
"name": "port",
|
|
2050
|
+
"required": false,
|
|
2051
|
+
"default": 8080,
|
|
2052
2052
|
"hasDynamicHelp": false,
|
|
2053
2053
|
"multiple": false,
|
|
2054
2054
|
"type": "option"
|
|
2055
2055
|
},
|
|
2056
2056
|
"workspace": {
|
|
2057
2057
|
"char": "w",
|
|
2058
|
-
"description": "name of the workspace to
|
|
2058
|
+
"description": "name of the workspace to use",
|
|
2059
2059
|
"name": "workspace",
|
|
2060
2060
|
"required": false,
|
|
2061
2061
|
"hasDynamicHelp": false,
|
|
@@ -2065,18 +2065,18 @@
|
|
|
2065
2065
|
},
|
|
2066
2066
|
"hasDynamicHelp": false,
|
|
2067
2067
|
"hiddenAliases": [],
|
|
2068
|
-
"id": "
|
|
2068
|
+
"id": "docker:run",
|
|
2069
2069
|
"pluginAlias": "hereya-cli",
|
|
2070
2070
|
"pluginName": "hereya-cli",
|
|
2071
2071
|
"pluginType": "core",
|
|
2072
|
-
"strict":
|
|
2072
|
+
"strict": false,
|
|
2073
2073
|
"enableJsonFlag": false,
|
|
2074
2074
|
"isESM": true,
|
|
2075
2075
|
"relativePath": [
|
|
2076
2076
|
"dist",
|
|
2077
2077
|
"commands",
|
|
2078
|
-
"
|
|
2079
|
-
"
|
|
2078
|
+
"docker",
|
|
2079
|
+
"run",
|
|
2080
2080
|
"index.js"
|
|
2081
2081
|
]
|
|
2082
2082
|
},
|
|
@@ -2588,6 +2588,37 @@
|
|
|
2588
2588
|
"index.js"
|
|
2589
2589
|
]
|
|
2590
2590
|
},
|
|
2591
|
+
"workspace:delete": {
|
|
2592
|
+
"aliases": [],
|
|
2593
|
+
"args": {
|
|
2594
|
+
"name": {
|
|
2595
|
+
"description": "name of the workspace to delete",
|
|
2596
|
+
"name": "name",
|
|
2597
|
+
"required": true
|
|
2598
|
+
}
|
|
2599
|
+
},
|
|
2600
|
+
"description": "Delete a workspace if it exists.",
|
|
2601
|
+
"examples": [
|
|
2602
|
+
"<%= config.bin %> <%= command.id %> dev"
|
|
2603
|
+
],
|
|
2604
|
+
"flags": {},
|
|
2605
|
+
"hasDynamicHelp": false,
|
|
2606
|
+
"hiddenAliases": [],
|
|
2607
|
+
"id": "workspace:delete",
|
|
2608
|
+
"pluginAlias": "hereya-cli",
|
|
2609
|
+
"pluginName": "hereya-cli",
|
|
2610
|
+
"pluginType": "core",
|
|
2611
|
+
"strict": true,
|
|
2612
|
+
"enableJsonFlag": false,
|
|
2613
|
+
"isESM": true,
|
|
2614
|
+
"relativePath": [
|
|
2615
|
+
"dist",
|
|
2616
|
+
"commands",
|
|
2617
|
+
"workspace",
|
|
2618
|
+
"delete",
|
|
2619
|
+
"index.js"
|
|
2620
|
+
]
|
|
2621
|
+
},
|
|
2591
2622
|
"workspace:create": {
|
|
2592
2623
|
"aliases": [],
|
|
2593
2624
|
"args": {
|
|
@@ -2644,37 +2675,6 @@
|
|
|
2644
2675
|
"index.js"
|
|
2645
2676
|
]
|
|
2646
2677
|
},
|
|
2647
|
-
"workspace:delete": {
|
|
2648
|
-
"aliases": [],
|
|
2649
|
-
"args": {
|
|
2650
|
-
"name": {
|
|
2651
|
-
"description": "name of the workspace to delete",
|
|
2652
|
-
"name": "name",
|
|
2653
|
-
"required": true
|
|
2654
|
-
}
|
|
2655
|
-
},
|
|
2656
|
-
"description": "Delete a workspace if it exists.",
|
|
2657
|
-
"examples": [
|
|
2658
|
-
"<%= config.bin %> <%= command.id %> dev"
|
|
2659
|
-
],
|
|
2660
|
-
"flags": {},
|
|
2661
|
-
"hasDynamicHelp": false,
|
|
2662
|
-
"hiddenAliases": [],
|
|
2663
|
-
"id": "workspace:delete",
|
|
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
|
-
"delete",
|
|
2675
|
-
"index.js"
|
|
2676
|
-
]
|
|
2677
|
-
},
|
|
2678
2678
|
"workspace:env": {
|
|
2679
2679
|
"aliases": [],
|
|
2680
2680
|
"args": {
|
|
@@ -2789,21 +2789,33 @@
|
|
|
2789
2789
|
"index.js"
|
|
2790
2790
|
]
|
|
2791
2791
|
},
|
|
2792
|
-
"workspace:
|
|
2792
|
+
"workspace:set-profile": {
|
|
2793
2793
|
"aliases": [],
|
|
2794
|
-
"args": {
|
|
2795
|
-
|
|
2794
|
+
"args": {
|
|
2795
|
+
"profile": {
|
|
2796
|
+
"description": "AWS profile name to set for the workspace",
|
|
2797
|
+
"name": "profile",
|
|
2798
|
+
"required": true
|
|
2799
|
+
}
|
|
2800
|
+
},
|
|
2801
|
+
"description": "Set AWS profile and deployment status for a workspace (cloud backend only).",
|
|
2796
2802
|
"examples": [
|
|
2797
|
-
"<%= config.bin %> <%= command.id %>"
|
|
2798
|
-
"<%= config.bin %> <%= command.id %> --org my-org",
|
|
2799
|
-
"<%= config.bin %> <%= command.id %> --org personal"
|
|
2803
|
+
"<%= config.bin %> <%= command.id %> prod-profile -w production"
|
|
2800
2804
|
],
|
|
2801
2805
|
"flags": {
|
|
2802
|
-
"
|
|
2803
|
-
"char": "
|
|
2804
|
-
"description": "
|
|
2805
|
-
"name": "
|
|
2806
|
+
"deployment": {
|
|
2807
|
+
"char": "d",
|
|
2808
|
+
"description": "mark workspace as a deployment workspace (use --no-deployment to unset)",
|
|
2809
|
+
"name": "deployment",
|
|
2806
2810
|
"required": false,
|
|
2811
|
+
"allowNo": true,
|
|
2812
|
+
"type": "boolean"
|
|
2813
|
+
},
|
|
2814
|
+
"workspace": {
|
|
2815
|
+
"char": "w",
|
|
2816
|
+
"description": "workspace name",
|
|
2817
|
+
"name": "workspace",
|
|
2818
|
+
"required": true,
|
|
2807
2819
|
"hasDynamicHelp": false,
|
|
2808
2820
|
"multiple": false,
|
|
2809
2821
|
"type": "option"
|
|
@@ -2811,7 +2823,7 @@
|
|
|
2811
2823
|
},
|
|
2812
2824
|
"hasDynamicHelp": false,
|
|
2813
2825
|
"hiddenAliases": [],
|
|
2814
|
-
"id": "workspace:
|
|
2826
|
+
"id": "workspace:set-profile",
|
|
2815
2827
|
"pluginAlias": "hereya-cli",
|
|
2816
2828
|
"pluginName": "hereya-cli",
|
|
2817
2829
|
"pluginType": "core",
|
|
@@ -2822,37 +2834,25 @@
|
|
|
2822
2834
|
"dist",
|
|
2823
2835
|
"commands",
|
|
2824
2836
|
"workspace",
|
|
2825
|
-
"
|
|
2837
|
+
"set-profile",
|
|
2826
2838
|
"index.js"
|
|
2827
2839
|
]
|
|
2828
2840
|
},
|
|
2829
|
-
"workspace:
|
|
2841
|
+
"workspace:list": {
|
|
2830
2842
|
"aliases": [],
|
|
2831
|
-
"args": {
|
|
2832
|
-
|
|
2833
|
-
"description": "AWS profile name to set for the workspace",
|
|
2834
|
-
"name": "profile",
|
|
2835
|
-
"required": true
|
|
2836
|
-
}
|
|
2837
|
-
},
|
|
2838
|
-
"description": "Set AWS profile and deployment status for a workspace (cloud backend only).",
|
|
2843
|
+
"args": {},
|
|
2844
|
+
"description": "List workspaces.",
|
|
2839
2845
|
"examples": [
|
|
2840
|
-
"<%= config.bin %> <%= command.id %>
|
|
2846
|
+
"<%= config.bin %> <%= command.id %>",
|
|
2847
|
+
"<%= config.bin %> <%= command.id %> --org my-org",
|
|
2848
|
+
"<%= config.bin %> <%= command.id %> --org personal"
|
|
2841
2849
|
],
|
|
2842
2850
|
"flags": {
|
|
2843
|
-
"
|
|
2844
|
-
"char": "
|
|
2845
|
-
"description": "
|
|
2846
|
-
"name": "
|
|
2851
|
+
"org": {
|
|
2852
|
+
"char": "o",
|
|
2853
|
+
"description": "Filter workspaces by organization name. Use \"personal\" to show only your personal workspaces.",
|
|
2854
|
+
"name": "org",
|
|
2847
2855
|
"required": false,
|
|
2848
|
-
"allowNo": true,
|
|
2849
|
-
"type": "boolean"
|
|
2850
|
-
},
|
|
2851
|
-
"workspace": {
|
|
2852
|
-
"char": "w",
|
|
2853
|
-
"description": "workspace name",
|
|
2854
|
-
"name": "workspace",
|
|
2855
|
-
"required": true,
|
|
2856
2856
|
"hasDynamicHelp": false,
|
|
2857
2857
|
"multiple": false,
|
|
2858
2858
|
"type": "option"
|
|
@@ -2860,7 +2860,7 @@
|
|
|
2860
2860
|
},
|
|
2861
2861
|
"hasDynamicHelp": false,
|
|
2862
2862
|
"hiddenAliases": [],
|
|
2863
|
-
"id": "workspace:
|
|
2863
|
+
"id": "workspace:list",
|
|
2864
2864
|
"pluginAlias": "hereya-cli",
|
|
2865
2865
|
"pluginName": "hereya-cli",
|
|
2866
2866
|
"pluginType": "core",
|
|
@@ -2871,7 +2871,7 @@
|
|
|
2871
2871
|
"dist",
|
|
2872
2872
|
"commands",
|
|
2873
2873
|
"workspace",
|
|
2874
|
-
"
|
|
2874
|
+
"list",
|
|
2875
2875
|
"index.js"
|
|
2876
2876
|
]
|
|
2877
2877
|
},
|
|
@@ -3409,5 +3409,5 @@
|
|
|
3409
3409
|
]
|
|
3410
3410
|
}
|
|
3411
3411
|
},
|
|
3412
|
-
"version": "0.100.
|
|
3412
|
+
"version": "0.100.3"
|
|
3413
3413
|
}
|