hereya-cli 0.86.2 → 0.86.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 +64 -64
- package/dist/lib/ephemeral-token.d.ts +9 -2
- package/dist/lib/ephemeral-token.js +56 -3
- package/oclif.manifest.json +299 -299
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -707,26 +707,35 @@
|
|
|
707
707
|
"index.js"
|
|
708
708
|
]
|
|
709
709
|
},
|
|
710
|
-
"
|
|
710
|
+
"provid": {
|
|
711
711
|
"aliases": [],
|
|
712
|
-
"args": {
|
|
713
|
-
|
|
712
|
+
"args": {
|
|
713
|
+
"package": {
|
|
714
|
+
"description": "Package name (e.g., hereya/postgres)",
|
|
715
|
+
"name": "package",
|
|
716
|
+
"required": true
|
|
717
|
+
}
|
|
718
|
+
},
|
|
719
|
+
"description": "Display the provisioning ID for a package",
|
|
714
720
|
"examples": [
|
|
715
|
-
"
|
|
716
|
-
"
|
|
721
|
+
"<%= config.bin %> <%= command.id %> hereya/postgres",
|
|
722
|
+
"<%= config.bin %> <%= command.id %> hereya/postgres -w dev",
|
|
723
|
+
"<%= config.bin %> <%= command.id %> hereya/postgres --workspace staging"
|
|
717
724
|
],
|
|
718
725
|
"flags": {
|
|
719
726
|
"chdir": {
|
|
720
|
-
"
|
|
727
|
+
"char": "C",
|
|
728
|
+
"description": "Project root directory",
|
|
721
729
|
"name": "chdir",
|
|
722
730
|
"required": false,
|
|
723
731
|
"hasDynamicHelp": false,
|
|
724
732
|
"multiple": false,
|
|
725
733
|
"type": "option"
|
|
726
734
|
},
|
|
727
|
-
"
|
|
728
|
-
"
|
|
729
|
-
"
|
|
735
|
+
"workspace": {
|
|
736
|
+
"char": "w",
|
|
737
|
+
"description": "Name of the workspace",
|
|
738
|
+
"name": "workspace",
|
|
730
739
|
"required": false,
|
|
731
740
|
"hasDynamicHelp": false,
|
|
732
741
|
"multiple": false,
|
|
@@ -735,7 +744,7 @@
|
|
|
735
744
|
},
|
|
736
745
|
"hasDynamicHelp": false,
|
|
737
746
|
"hiddenAliases": [],
|
|
738
|
-
"id": "
|
|
747
|
+
"id": "provid",
|
|
739
748
|
"pluginAlias": "hereya-cli",
|
|
740
749
|
"pluginName": "hereya-cli",
|
|
741
750
|
"pluginType": "core",
|
|
@@ -745,39 +754,30 @@
|
|
|
745
754
|
"relativePath": [
|
|
746
755
|
"dist",
|
|
747
756
|
"commands",
|
|
748
|
-
"
|
|
757
|
+
"provid",
|
|
749
758
|
"index.js"
|
|
750
759
|
]
|
|
751
760
|
},
|
|
752
|
-
"
|
|
761
|
+
"publish": {
|
|
753
762
|
"aliases": [],
|
|
754
|
-
"args": {
|
|
755
|
-
|
|
756
|
-
"description": "Package name (e.g., hereya/postgres)",
|
|
757
|
-
"name": "package",
|
|
758
|
-
"required": true
|
|
759
|
-
}
|
|
760
|
-
},
|
|
761
|
-
"description": "Display the provisioning ID for a package",
|
|
763
|
+
"args": {},
|
|
764
|
+
"description": "Publish a package to the Hereya registry",
|
|
762
765
|
"examples": [
|
|
763
|
-
"
|
|
764
|
-
"
|
|
765
|
-
"<%= config.bin %> <%= command.id %> hereya/postgres --workspace staging"
|
|
766
|
+
"$ hereya publish",
|
|
767
|
+
"$ hereya publish --chdir=/path/to/package"
|
|
766
768
|
],
|
|
767
769
|
"flags": {
|
|
768
770
|
"chdir": {
|
|
769
|
-
"
|
|
770
|
-
"description": "Project root directory",
|
|
771
|
+
"description": "\n Directory where the command will be executed.\n If not specified, it defaults to the current working directory.\n ",
|
|
771
772
|
"name": "chdir",
|
|
772
773
|
"required": false,
|
|
773
774
|
"hasDynamicHelp": false,
|
|
774
775
|
"multiple": false,
|
|
775
776
|
"type": "option"
|
|
776
777
|
},
|
|
777
|
-
"
|
|
778
|
-
"
|
|
779
|
-
"
|
|
780
|
-
"name": "workspace",
|
|
778
|
+
"token": {
|
|
779
|
+
"description": "Ephemeral cloud access token used for this invocation only. Held in memory; never written to the keychain or `~/.hereya/secrets/`. Takes precedence over the HEREYA_TOKEN environment variable.",
|
|
780
|
+
"name": "token",
|
|
781
781
|
"required": false,
|
|
782
782
|
"hasDynamicHelp": false,
|
|
783
783
|
"multiple": false,
|
|
@@ -786,7 +786,7 @@
|
|
|
786
786
|
},
|
|
787
787
|
"hasDynamicHelp": false,
|
|
788
788
|
"hiddenAliases": [],
|
|
789
|
-
"id": "
|
|
789
|
+
"id": "publish",
|
|
790
790
|
"pluginAlias": "hereya-cli",
|
|
791
791
|
"pluginName": "hereya-cli",
|
|
792
792
|
"pluginType": "core",
|
|
@@ -796,7 +796,7 @@
|
|
|
796
796
|
"relativePath": [
|
|
797
797
|
"dist",
|
|
798
798
|
"commands",
|
|
799
|
-
"
|
|
799
|
+
"publish",
|
|
800
800
|
"index.js"
|
|
801
801
|
]
|
|
802
802
|
},
|
|
@@ -1622,17 +1622,24 @@
|
|
|
1622
1622
|
"index.js"
|
|
1623
1623
|
]
|
|
1624
1624
|
},
|
|
1625
|
-
"config:
|
|
1625
|
+
"config:export-backend": {
|
|
1626
1626
|
"aliases": [],
|
|
1627
|
-
"args": {
|
|
1628
|
-
|
|
1627
|
+
"args": {
|
|
1628
|
+
"file": {
|
|
1629
|
+
"description": "Path to save the export file. Defaults to cloud-backend.json in current directory",
|
|
1630
|
+
"name": "file",
|
|
1631
|
+
"required": false
|
|
1632
|
+
}
|
|
1633
|
+
},
|
|
1634
|
+
"description": "Export the cloud backend configuration to a file",
|
|
1629
1635
|
"examples": [
|
|
1630
|
-
"<%= config.bin %> <%= command.id %>"
|
|
1636
|
+
"<%= config.bin %> <%= command.id %>",
|
|
1637
|
+
"<%= config.bin %> <%= command.id %> ./path/to/export.json"
|
|
1631
1638
|
],
|
|
1632
1639
|
"flags": {},
|
|
1633
1640
|
"hasDynamicHelp": false,
|
|
1634
1641
|
"hiddenAliases": [],
|
|
1635
|
-
"id": "config:
|
|
1642
|
+
"id": "config:export-backend",
|
|
1636
1643
|
"pluginAlias": "hereya-cli",
|
|
1637
1644
|
"pluginName": "hereya-cli",
|
|
1638
1645
|
"pluginType": "core",
|
|
@@ -1643,28 +1650,21 @@
|
|
|
1643
1650
|
"dist",
|
|
1644
1651
|
"commands",
|
|
1645
1652
|
"config",
|
|
1646
|
-
"
|
|
1653
|
+
"export-backend",
|
|
1647
1654
|
"index.js"
|
|
1648
1655
|
]
|
|
1649
1656
|
},
|
|
1650
|
-
"config:
|
|
1657
|
+
"config:get-backend": {
|
|
1651
1658
|
"aliases": [],
|
|
1652
|
-
"args": {
|
|
1653
|
-
|
|
1654
|
-
"description": "Path to save the export file. Defaults to cloud-backend.json in current directory",
|
|
1655
|
-
"name": "file",
|
|
1656
|
-
"required": false
|
|
1657
|
-
}
|
|
1658
|
-
},
|
|
1659
|
-
"description": "Export the cloud backend configuration to a file",
|
|
1659
|
+
"args": {},
|
|
1660
|
+
"description": "get the current backend type",
|
|
1660
1661
|
"examples": [
|
|
1661
|
-
"<%= config.bin %> <%= command.id %>"
|
|
1662
|
-
"<%= config.bin %> <%= command.id %> ./path/to/export.json"
|
|
1662
|
+
"<%= config.bin %> <%= command.id %>"
|
|
1663
1663
|
],
|
|
1664
1664
|
"flags": {},
|
|
1665
1665
|
"hasDynamicHelp": false,
|
|
1666
1666
|
"hiddenAliases": [],
|
|
1667
|
-
"id": "config:
|
|
1667
|
+
"id": "config:get-backend",
|
|
1668
1668
|
"pluginAlias": "hereya-cli",
|
|
1669
1669
|
"pluginName": "hereya-cli",
|
|
1670
1670
|
"pluginType": "core",
|
|
@@ -1675,28 +1675,27 @@
|
|
|
1675
1675
|
"dist",
|
|
1676
1676
|
"commands",
|
|
1677
1677
|
"config",
|
|
1678
|
-
"
|
|
1678
|
+
"get-backend",
|
|
1679
1679
|
"index.js"
|
|
1680
1680
|
]
|
|
1681
1681
|
},
|
|
1682
|
-
"config:
|
|
1682
|
+
"config:import-backend": {
|
|
1683
1683
|
"aliases": [],
|
|
1684
1684
|
"args": {
|
|
1685
|
-
"
|
|
1686
|
-
"description": "
|
|
1687
|
-
"name": "
|
|
1685
|
+
"file": {
|
|
1686
|
+
"description": "Path to the file containing the backend configuration to import",
|
|
1687
|
+
"name": "file",
|
|
1688
1688
|
"required": true
|
|
1689
1689
|
}
|
|
1690
1690
|
},
|
|
1691
|
-
"description": "
|
|
1691
|
+
"description": "Import a backend configuration from a file",
|
|
1692
1692
|
"examples": [
|
|
1693
|
-
"<%= config.bin %> <%= command.id %>
|
|
1694
|
-
"<%= config.bin %> <%= command.id %> local"
|
|
1693
|
+
"<%= config.bin %> <%= command.id %> ./path/to/cloud-backend.json"
|
|
1695
1694
|
],
|
|
1696
1695
|
"flags": {},
|
|
1697
1696
|
"hasDynamicHelp": false,
|
|
1698
1697
|
"hiddenAliases": [],
|
|
1699
|
-
"id": "config:
|
|
1698
|
+
"id": "config:import-backend",
|
|
1700
1699
|
"pluginAlias": "hereya-cli",
|
|
1701
1700
|
"pluginName": "hereya-cli",
|
|
1702
1701
|
"pluginType": "core",
|
|
@@ -1707,27 +1706,28 @@
|
|
|
1707
1706
|
"dist",
|
|
1708
1707
|
"commands",
|
|
1709
1708
|
"config",
|
|
1710
|
-
"
|
|
1709
|
+
"import-backend",
|
|
1711
1710
|
"index.js"
|
|
1712
1711
|
]
|
|
1713
1712
|
},
|
|
1714
|
-
"config:
|
|
1713
|
+
"config:use-backend": {
|
|
1715
1714
|
"aliases": [],
|
|
1716
1715
|
"args": {
|
|
1717
|
-
"
|
|
1718
|
-
"description": "
|
|
1719
|
-
"name": "
|
|
1716
|
+
"type": {
|
|
1717
|
+
"description": "type of backend to use. Possible values: s3, local",
|
|
1718
|
+
"name": "type",
|
|
1720
1719
|
"required": true
|
|
1721
1720
|
}
|
|
1722
1721
|
},
|
|
1723
|
-
"description": "
|
|
1722
|
+
"description": "set the current backend type",
|
|
1724
1723
|
"examples": [
|
|
1725
|
-
"<%= config.bin %> <%= command.id %>
|
|
1724
|
+
"<%= config.bin %> <%= command.id %> s3",
|
|
1725
|
+
"<%= config.bin %> <%= command.id %> local"
|
|
1726
1726
|
],
|
|
1727
1727
|
"flags": {},
|
|
1728
1728
|
"hasDynamicHelp": false,
|
|
1729
1729
|
"hiddenAliases": [],
|
|
1730
|
-
"id": "config:
|
|
1730
|
+
"id": "config:use-backend",
|
|
1731
1731
|
"pluginAlias": "hereya-cli",
|
|
1732
1732
|
"pluginName": "hereya-cli",
|
|
1733
1733
|
"pluginType": "core",
|
|
@@ -1738,7 +1738,7 @@
|
|
|
1738
1738
|
"dist",
|
|
1739
1739
|
"commands",
|
|
1740
1740
|
"config",
|
|
1741
|
-
"
|
|
1741
|
+
"use-backend",
|
|
1742
1742
|
"index.js"
|
|
1743
1743
|
]
|
|
1744
1744
|
},
|
|
@@ -1981,31 +1981,42 @@
|
|
|
1981
1981
|
"index.js"
|
|
1982
1982
|
]
|
|
1983
1983
|
},
|
|
1984
|
-
"
|
|
1984
|
+
"env:set": {
|
|
1985
1985
|
"aliases": [],
|
|
1986
|
-
"args": {
|
|
1987
|
-
|
|
1986
|
+
"args": {
|
|
1987
|
+
"name": {
|
|
1988
|
+
"description": "name of the environment variable to set",
|
|
1989
|
+
"name": "name"
|
|
1990
|
+
}
|
|
1991
|
+
},
|
|
1992
|
+
"description": "Set an user-defined environment variable for the project",
|
|
1988
1993
|
"examples": [
|
|
1989
|
-
"<%= config.bin %> <%= command.id %> -
|
|
1990
|
-
"<%= config.bin %> <%= command.id %> -
|
|
1991
|
-
"HEREYA_TOKEN=<token> <%= config.bin %> <%= command.id %> -w my-workspace",
|
|
1992
|
-
"HEREYA_TOKEN=<token> HEREYA_CLOUD_URL=https://my-cloud.example.com <%= config.bin %> <%= command.id %> -w my-workspace"
|
|
1994
|
+
"<%= config.bin %> <%= command.id %> FOO -v bar",
|
|
1995
|
+
"<%= config.bin %> <%= command.id %> FOO -v bar -w dev"
|
|
1993
1996
|
],
|
|
1994
1997
|
"flags": {
|
|
1995
|
-
"
|
|
1996
|
-
"
|
|
1997
|
-
"
|
|
1998
|
-
"
|
|
1999
|
-
"
|
|
1998
|
+
"chdir": {
|
|
1999
|
+
"description": "project root directory",
|
|
2000
|
+
"name": "chdir",
|
|
2001
|
+
"required": false,
|
|
2002
|
+
"hasDynamicHelp": false,
|
|
2003
|
+
"multiple": false,
|
|
2004
|
+
"type": "option"
|
|
2005
|
+
},
|
|
2006
|
+
"value": {
|
|
2007
|
+
"char": "v",
|
|
2008
|
+
"description": "value of the environment variable",
|
|
2009
|
+
"name": "value",
|
|
2010
|
+
"required": true,
|
|
2000
2011
|
"hasDynamicHelp": false,
|
|
2001
2012
|
"multiple": false,
|
|
2002
2013
|
"type": "option"
|
|
2003
2014
|
},
|
|
2004
2015
|
"workspace": {
|
|
2005
2016
|
"char": "w",
|
|
2006
|
-
"description": "name of the workspace to
|
|
2017
|
+
"description": "name of the workspace to print the env vars for",
|
|
2007
2018
|
"name": "workspace",
|
|
2008
|
-
"required":
|
|
2019
|
+
"required": false,
|
|
2009
2020
|
"hasDynamicHelp": false,
|
|
2010
2021
|
"multiple": false,
|
|
2011
2022
|
"type": "option"
|
|
@@ -2013,7 +2024,7 @@
|
|
|
2013
2024
|
},
|
|
2014
2025
|
"hasDynamicHelp": false,
|
|
2015
2026
|
"hiddenAliases": [],
|
|
2016
|
-
"id": "
|
|
2027
|
+
"id": "env:set",
|
|
2017
2028
|
"pluginAlias": "hereya-cli",
|
|
2018
2029
|
"pluginName": "hereya-cli",
|
|
2019
2030
|
"pluginType": "core",
|
|
@@ -2023,47 +2034,36 @@
|
|
|
2023
2034
|
"relativePath": [
|
|
2024
2035
|
"dist",
|
|
2025
2036
|
"commands",
|
|
2026
|
-
"
|
|
2027
|
-
"
|
|
2037
|
+
"env",
|
|
2038
|
+
"set",
|
|
2028
2039
|
"index.js"
|
|
2029
2040
|
]
|
|
2030
2041
|
},
|
|
2031
|
-
"
|
|
2042
|
+
"executor:start": {
|
|
2032
2043
|
"aliases": [],
|
|
2033
|
-
"args": {
|
|
2034
|
-
|
|
2035
|
-
"description": "name of the environment variable to set",
|
|
2036
|
-
"name": "name"
|
|
2037
|
-
}
|
|
2038
|
-
},
|
|
2039
|
-
"description": "Set an user-defined environment variable for the project",
|
|
2044
|
+
"args": {},
|
|
2045
|
+
"description": "Start the remote executor process (polls for jobs from hereya cloud).\n\nJobs are executed in parallel up to the concurrency limit (default: 10). Use --concurrency to adjust.\n\nSet the HEREYA_TOKEN environment variable to authenticate without running `hereya login`.\nSet the HEREYA_CLOUD_URL environment variable to target a specific hereya cloud instance (defaults to https://cloud.hereya.dev).",
|
|
2040
2046
|
"examples": [
|
|
2041
|
-
"<%= config.bin %> <%= command.id %>
|
|
2042
|
-
"<%= config.bin %> <%= command.id %>
|
|
2047
|
+
"<%= config.bin %> <%= command.id %> -w my-workspace",
|
|
2048
|
+
"<%= config.bin %> <%= command.id %> -w my-workspace --concurrency 5",
|
|
2049
|
+
"HEREYA_TOKEN=<token> <%= config.bin %> <%= command.id %> -w my-workspace",
|
|
2050
|
+
"HEREYA_TOKEN=<token> HEREYA_CLOUD_URL=https://my-cloud.example.com <%= config.bin %> <%= command.id %> -w my-workspace"
|
|
2043
2051
|
],
|
|
2044
2052
|
"flags": {
|
|
2045
|
-
"
|
|
2046
|
-
"
|
|
2047
|
-
"
|
|
2048
|
-
"
|
|
2049
|
-
"
|
|
2050
|
-
"multiple": false,
|
|
2051
|
-
"type": "option"
|
|
2052
|
-
},
|
|
2053
|
-
"value": {
|
|
2054
|
-
"char": "v",
|
|
2055
|
-
"description": "value of the environment variable",
|
|
2056
|
-
"name": "value",
|
|
2057
|
-
"required": true,
|
|
2053
|
+
"concurrency": {
|
|
2054
|
+
"char": "c",
|
|
2055
|
+
"description": "maximum number of parallel jobs",
|
|
2056
|
+
"name": "concurrency",
|
|
2057
|
+
"default": 10,
|
|
2058
2058
|
"hasDynamicHelp": false,
|
|
2059
2059
|
"multiple": false,
|
|
2060
2060
|
"type": "option"
|
|
2061
2061
|
},
|
|
2062
2062
|
"workspace": {
|
|
2063
2063
|
"char": "w",
|
|
2064
|
-
"description": "name of the workspace to
|
|
2064
|
+
"description": "name of the workspace to poll jobs for",
|
|
2065
2065
|
"name": "workspace",
|
|
2066
|
-
"required":
|
|
2066
|
+
"required": true,
|
|
2067
2067
|
"hasDynamicHelp": false,
|
|
2068
2068
|
"multiple": false,
|
|
2069
2069
|
"type": "option"
|
|
@@ -2071,7 +2071,7 @@
|
|
|
2071
2071
|
},
|
|
2072
2072
|
"hasDynamicHelp": false,
|
|
2073
2073
|
"hiddenAliases": [],
|
|
2074
|
-
"id": "
|
|
2074
|
+
"id": "executor:start",
|
|
2075
2075
|
"pluginAlias": "hereya-cli",
|
|
2076
2076
|
"pluginName": "hereya-cli",
|
|
2077
2077
|
"pluginType": "core",
|
|
@@ -2081,8 +2081,8 @@
|
|
|
2081
2081
|
"relativePath": [
|
|
2082
2082
|
"dist",
|
|
2083
2083
|
"commands",
|
|
2084
|
-
"
|
|
2085
|
-
"
|
|
2084
|
+
"executor",
|
|
2085
|
+
"start",
|
|
2086
2086
|
"index.js"
|
|
2087
2087
|
]
|
|
2088
2088
|
},
|
|
@@ -2225,40 +2225,49 @@
|
|
|
2225
2225
|
"index.js"
|
|
2226
2226
|
]
|
|
2227
2227
|
},
|
|
2228
|
-
"flow:
|
|
2228
|
+
"flow:env": {
|
|
2229
2229
|
"aliases": [],
|
|
2230
2230
|
"args": {
|
|
2231
|
-
"
|
|
2232
|
-
"description": "
|
|
2233
|
-
"name": "
|
|
2234
|
-
"required":
|
|
2231
|
+
"name": {
|
|
2232
|
+
"description": "name of the env to display",
|
|
2233
|
+
"name": "name",
|
|
2234
|
+
"required": false
|
|
2235
2235
|
}
|
|
2236
2236
|
},
|
|
2237
|
-
"description": "
|
|
2237
|
+
"description": "Print project environment variables for a git branch-based workspace",
|
|
2238
2238
|
"examples": [
|
|
2239
|
-
"<%= config.bin %> <%= command.id %>
|
|
2240
|
-
"<%= config.bin %> <%= command.id %>
|
|
2241
|
-
"<%= config.bin %> <%= command.id %>
|
|
2239
|
+
"<%= config.bin %> <%= command.id %>",
|
|
2240
|
+
"<%= config.bin %> <%= command.id %> myEnv",
|
|
2241
|
+
"<%= config.bin %> <%= command.id %> --profile staging",
|
|
2242
|
+
"<%= config.bin %> <%= command.id %> --pin",
|
|
2243
|
+
"<%= config.bin %> <%= command.id %> -l"
|
|
2242
2244
|
],
|
|
2243
2245
|
"flags": {
|
|
2244
2246
|
"chdir": {
|
|
2245
|
-
"
|
|
2246
|
-
"description": "Project root directory",
|
|
2247
|
+
"description": "project root directory",
|
|
2247
2248
|
"name": "chdir",
|
|
2248
2249
|
"required": false,
|
|
2249
2250
|
"hasDynamicHelp": false,
|
|
2250
2251
|
"multiple": false,
|
|
2251
2252
|
"type": "option"
|
|
2252
2253
|
},
|
|
2253
|
-
"
|
|
2254
|
-
"
|
|
2255
|
-
"
|
|
2254
|
+
"list": {
|
|
2255
|
+
"char": "l",
|
|
2256
|
+
"description": "list only the env vars without values",
|
|
2257
|
+
"name": "list",
|
|
2256
2258
|
"required": false,
|
|
2257
2259
|
"allowNo": false,
|
|
2258
2260
|
"type": "boolean"
|
|
2259
2261
|
},
|
|
2260
|
-
"
|
|
2261
|
-
"description": "
|
|
2262
|
+
"pin": {
|
|
2263
|
+
"description": "append git commit SHA to workspace name for commit-specific isolation",
|
|
2264
|
+
"name": "pin",
|
|
2265
|
+
"required": false,
|
|
2266
|
+
"allowNo": false,
|
|
2267
|
+
"type": "boolean"
|
|
2268
|
+
},
|
|
2269
|
+
"profile": {
|
|
2270
|
+
"description": "profile to use for the workspace (will be appended to workspace name)",
|
|
2262
2271
|
"name": "profile",
|
|
2263
2272
|
"required": false,
|
|
2264
2273
|
"hasDynamicHelp": false,
|
|
@@ -2268,7 +2277,7 @@
|
|
|
2268
2277
|
},
|
|
2269
2278
|
"hasDynamicHelp": false,
|
|
2270
2279
|
"hiddenAliases": [],
|
|
2271
|
-
"id": "flow:
|
|
2280
|
+
"id": "flow:env",
|
|
2272
2281
|
"pluginAlias": "hereya-cli",
|
|
2273
2282
|
"pluginName": "hereya-cli",
|
|
2274
2283
|
"pluginType": "core",
|
|
@@ -2279,53 +2288,44 @@
|
|
|
2279
2288
|
"dist",
|
|
2280
2289
|
"commands",
|
|
2281
2290
|
"flow",
|
|
2282
|
-
"
|
|
2291
|
+
"env",
|
|
2283
2292
|
"index.js"
|
|
2284
2293
|
]
|
|
2285
2294
|
},
|
|
2286
|
-
"flow:
|
|
2295
|
+
"flow:provid": {
|
|
2287
2296
|
"aliases": [],
|
|
2288
2297
|
"args": {
|
|
2289
|
-
"
|
|
2290
|
-
"description": "name
|
|
2291
|
-
"name": "
|
|
2292
|
-
"required":
|
|
2298
|
+
"package": {
|
|
2299
|
+
"description": "Package name (e.g., hereya/postgres)",
|
|
2300
|
+
"name": "package",
|
|
2301
|
+
"required": true
|
|
2293
2302
|
}
|
|
2294
2303
|
},
|
|
2295
|
-
"description": "
|
|
2304
|
+
"description": "Display the provisioning ID for a package in a git branch-based workspace",
|
|
2296
2305
|
"examples": [
|
|
2297
|
-
"<%= config.bin %> <%= command.id %>",
|
|
2298
|
-
"<%= config.bin %> <%= command.id %>
|
|
2299
|
-
"<%= config.bin %> <%= command.id %> --
|
|
2300
|
-
"<%= config.bin %> <%= command.id %> --pin",
|
|
2301
|
-
"<%= config.bin %> <%= command.id %> -l"
|
|
2306
|
+
"<%= config.bin %> <%= command.id %> hereya/postgres",
|
|
2307
|
+
"<%= config.bin %> <%= command.id %> hereya/postgres --profile staging",
|
|
2308
|
+
"<%= config.bin %> <%= command.id %> hereya/postgres --pin"
|
|
2302
2309
|
],
|
|
2303
2310
|
"flags": {
|
|
2304
2311
|
"chdir": {
|
|
2305
|
-
"
|
|
2312
|
+
"char": "C",
|
|
2313
|
+
"description": "Project root directory",
|
|
2306
2314
|
"name": "chdir",
|
|
2307
2315
|
"required": false,
|
|
2308
2316
|
"hasDynamicHelp": false,
|
|
2309
2317
|
"multiple": false,
|
|
2310
2318
|
"type": "option"
|
|
2311
2319
|
},
|
|
2312
|
-
"list": {
|
|
2313
|
-
"char": "l",
|
|
2314
|
-
"description": "list only the env vars without values",
|
|
2315
|
-
"name": "list",
|
|
2316
|
-
"required": false,
|
|
2317
|
-
"allowNo": false,
|
|
2318
|
-
"type": "boolean"
|
|
2319
|
-
},
|
|
2320
2320
|
"pin": {
|
|
2321
|
-
"description": "
|
|
2321
|
+
"description": "Append git commit SHA to workspace name for commit-specific isolation",
|
|
2322
2322
|
"name": "pin",
|
|
2323
2323
|
"required": false,
|
|
2324
2324
|
"allowNo": false,
|
|
2325
2325
|
"type": "boolean"
|
|
2326
2326
|
},
|
|
2327
2327
|
"profile": {
|
|
2328
|
-
"description": "
|
|
2328
|
+
"description": "Profile to use for the workspace (will be appended to workspace name)",
|
|
2329
2329
|
"name": "profile",
|
|
2330
2330
|
"required": false,
|
|
2331
2331
|
"hasDynamicHelp": false,
|
|
@@ -2335,7 +2335,7 @@
|
|
|
2335
2335
|
},
|
|
2336
2336
|
"hasDynamicHelp": false,
|
|
2337
2337
|
"hiddenAliases": [],
|
|
2338
|
-
"id": "flow:
|
|
2338
|
+
"id": "flow:provid",
|
|
2339
2339
|
"pluginAlias": "hereya-cli",
|
|
2340
2340
|
"pluginName": "hereya-cli",
|
|
2341
2341
|
"pluginType": "core",
|
|
@@ -2346,7 +2346,7 @@
|
|
|
2346
2346
|
"dist",
|
|
2347
2347
|
"commands",
|
|
2348
2348
|
"flow",
|
|
2349
|
-
"
|
|
2349
|
+
"provid",
|
|
2350
2350
|
"index.js"
|
|
2351
2351
|
]
|
|
2352
2352
|
},
|
|
@@ -2462,62 +2462,6 @@
|
|
|
2462
2462
|
"index.js"
|
|
2463
2463
|
]
|
|
2464
2464
|
},
|
|
2465
|
-
"workspace:create": {
|
|
2466
|
-
"aliases": [],
|
|
2467
|
-
"args": {
|
|
2468
|
-
"name": {
|
|
2469
|
-
"description": "name of the workspace to create",
|
|
2470
|
-
"name": "name",
|
|
2471
|
-
"required": true
|
|
2472
|
-
}
|
|
2473
|
-
},
|
|
2474
|
-
"description": "Create a new workspace if it does not exist.",
|
|
2475
|
-
"examples": [
|
|
2476
|
-
"<%= config.bin %> <%= command.id %> dev"
|
|
2477
|
-
],
|
|
2478
|
-
"flags": {
|
|
2479
|
-
"deployment": {
|
|
2480
|
-
"char": "d",
|
|
2481
|
-
"description": "mark workspace as a deployment workspace",
|
|
2482
|
-
"name": "deployment",
|
|
2483
|
-
"required": false,
|
|
2484
|
-
"allowNo": false,
|
|
2485
|
-
"type": "boolean"
|
|
2486
|
-
},
|
|
2487
|
-
"mirror": {
|
|
2488
|
-
"description": "workspace to mirror",
|
|
2489
|
-
"name": "mirror",
|
|
2490
|
-
"required": false,
|
|
2491
|
-
"hasDynamicHelp": false,
|
|
2492
|
-
"multiple": false,
|
|
2493
|
-
"type": "option"
|
|
2494
|
-
},
|
|
2495
|
-
"profile": {
|
|
2496
|
-
"description": "workspace profile to set (cloud backend only)",
|
|
2497
|
-
"name": "profile",
|
|
2498
|
-
"required": false,
|
|
2499
|
-
"hasDynamicHelp": false,
|
|
2500
|
-
"multiple": false,
|
|
2501
|
-
"type": "option"
|
|
2502
|
-
}
|
|
2503
|
-
},
|
|
2504
|
-
"hasDynamicHelp": false,
|
|
2505
|
-
"hiddenAliases": [],
|
|
2506
|
-
"id": "workspace:create",
|
|
2507
|
-
"pluginAlias": "hereya-cli",
|
|
2508
|
-
"pluginName": "hereya-cli",
|
|
2509
|
-
"pluginType": "core",
|
|
2510
|
-
"strict": true,
|
|
2511
|
-
"enableJsonFlag": false,
|
|
2512
|
-
"isESM": true,
|
|
2513
|
-
"relativePath": [
|
|
2514
|
-
"dist",
|
|
2515
|
-
"commands",
|
|
2516
|
-
"workspace",
|
|
2517
|
-
"create",
|
|
2518
|
-
"index.js"
|
|
2519
|
-
]
|
|
2520
|
-
},
|
|
2521
2465
|
"flow:up": {
|
|
2522
2466
|
"aliases": [],
|
|
2523
2467
|
"args": {},
|
|
@@ -2592,34 +2536,40 @@
|
|
|
2592
2536
|
"index.js"
|
|
2593
2537
|
]
|
|
2594
2538
|
},
|
|
2595
|
-
"workspace:
|
|
2539
|
+
"workspace:create": {
|
|
2596
2540
|
"aliases": [],
|
|
2597
2541
|
"args": {
|
|
2598
2542
|
"name": {
|
|
2599
|
-
"description": "name of the
|
|
2543
|
+
"description": "name of the workspace to create",
|
|
2600
2544
|
"name": "name",
|
|
2601
|
-
"required":
|
|
2545
|
+
"required": true
|
|
2602
2546
|
}
|
|
2603
2547
|
},
|
|
2604
|
-
"description": "
|
|
2548
|
+
"description": "Create a new workspace if it does not exist.",
|
|
2605
2549
|
"examples": [
|
|
2606
|
-
"<%= config.bin %> <%= command.id %>
|
|
2607
|
-
"<%= config.bin %> <%= command.id %> myEnv -w dev"
|
|
2550
|
+
"<%= config.bin %> <%= command.id %> dev"
|
|
2608
2551
|
],
|
|
2609
2552
|
"flags": {
|
|
2610
|
-
"
|
|
2611
|
-
"char": "
|
|
2612
|
-
"description": "
|
|
2613
|
-
"name": "
|
|
2553
|
+
"deployment": {
|
|
2554
|
+
"char": "d",
|
|
2555
|
+
"description": "mark workspace as a deployment workspace",
|
|
2556
|
+
"name": "deployment",
|
|
2614
2557
|
"required": false,
|
|
2615
2558
|
"allowNo": false,
|
|
2616
2559
|
"type": "boolean"
|
|
2617
2560
|
},
|
|
2618
|
-
"
|
|
2619
|
-
"
|
|
2620
|
-
"
|
|
2621
|
-
"
|
|
2622
|
-
"
|
|
2561
|
+
"mirror": {
|
|
2562
|
+
"description": "workspace to mirror",
|
|
2563
|
+
"name": "mirror",
|
|
2564
|
+
"required": false,
|
|
2565
|
+
"hasDynamicHelp": false,
|
|
2566
|
+
"multiple": false,
|
|
2567
|
+
"type": "option"
|
|
2568
|
+
},
|
|
2569
|
+
"profile": {
|
|
2570
|
+
"description": "workspace profile to set (cloud backend only)",
|
|
2571
|
+
"name": "profile",
|
|
2572
|
+
"required": false,
|
|
2623
2573
|
"hasDynamicHelp": false,
|
|
2624
2574
|
"multiple": false,
|
|
2625
2575
|
"type": "option"
|
|
@@ -2627,7 +2577,7 @@
|
|
|
2627
2577
|
},
|
|
2628
2578
|
"hasDynamicHelp": false,
|
|
2629
2579
|
"hiddenAliases": [],
|
|
2630
|
-
"id": "workspace:
|
|
2580
|
+
"id": "workspace:create",
|
|
2631
2581
|
"pluginAlias": "hereya-cli",
|
|
2632
2582
|
"pluginName": "hereya-cli",
|
|
2633
2583
|
"pluginType": "core",
|
|
@@ -2638,7 +2588,7 @@
|
|
|
2638
2588
|
"dist",
|
|
2639
2589
|
"commands",
|
|
2640
2590
|
"workspace",
|
|
2641
|
-
"
|
|
2591
|
+
"create",
|
|
2642
2592
|
"index.js"
|
|
2643
2593
|
]
|
|
2644
2594
|
},
|
|
@@ -2673,6 +2623,56 @@
|
|
|
2673
2623
|
"index.js"
|
|
2674
2624
|
]
|
|
2675
2625
|
},
|
|
2626
|
+
"workspace:env": {
|
|
2627
|
+
"aliases": [],
|
|
2628
|
+
"args": {
|
|
2629
|
+
"name": {
|
|
2630
|
+
"description": "name of the env to display",
|
|
2631
|
+
"name": "name",
|
|
2632
|
+
"required": false
|
|
2633
|
+
}
|
|
2634
|
+
},
|
|
2635
|
+
"description": "Print workspace env vars.",
|
|
2636
|
+
"examples": [
|
|
2637
|
+
"<%= config.bin %> <%= command.id %> -w dev",
|
|
2638
|
+
"<%= config.bin %> <%= command.id %> myEnv -w dev"
|
|
2639
|
+
],
|
|
2640
|
+
"flags": {
|
|
2641
|
+
"list": {
|
|
2642
|
+
"char": "l",
|
|
2643
|
+
"description": "list only the env vars without values",
|
|
2644
|
+
"name": "list",
|
|
2645
|
+
"required": false,
|
|
2646
|
+
"allowNo": false,
|
|
2647
|
+
"type": "boolean"
|
|
2648
|
+
},
|
|
2649
|
+
"workspace": {
|
|
2650
|
+
"char": "w",
|
|
2651
|
+
"description": "name of the workspace to print env vars for",
|
|
2652
|
+
"name": "workspace",
|
|
2653
|
+
"required": true,
|
|
2654
|
+
"hasDynamicHelp": false,
|
|
2655
|
+
"multiple": false,
|
|
2656
|
+
"type": "option"
|
|
2657
|
+
}
|
|
2658
|
+
},
|
|
2659
|
+
"hasDynamicHelp": false,
|
|
2660
|
+
"hiddenAliases": [],
|
|
2661
|
+
"id": "workspace:env",
|
|
2662
|
+
"pluginAlias": "hereya-cli",
|
|
2663
|
+
"pluginName": "hereya-cli",
|
|
2664
|
+
"pluginType": "core",
|
|
2665
|
+
"strict": true,
|
|
2666
|
+
"enableJsonFlag": false,
|
|
2667
|
+
"isESM": true,
|
|
2668
|
+
"relativePath": [
|
|
2669
|
+
"dist",
|
|
2670
|
+
"commands",
|
|
2671
|
+
"workspace",
|
|
2672
|
+
"env",
|
|
2673
|
+
"index.js"
|
|
2674
|
+
]
|
|
2675
|
+
},
|
|
2676
2676
|
"workspace:install": {
|
|
2677
2677
|
"aliases": [],
|
|
2678
2678
|
"args": {
|
|
@@ -2966,6 +2966,56 @@
|
|
|
2966
2966
|
"index.js"
|
|
2967
2967
|
]
|
|
2968
2968
|
},
|
|
2969
|
+
"devenv:project:uninit": {
|
|
2970
|
+
"aliases": [],
|
|
2971
|
+
"args": {
|
|
2972
|
+
"project": {
|
|
2973
|
+
"description": "project name",
|
|
2974
|
+
"name": "project",
|
|
2975
|
+
"required": true
|
|
2976
|
+
}
|
|
2977
|
+
},
|
|
2978
|
+
"description": "Uninitialize a project on a remote dev environment.",
|
|
2979
|
+
"examples": [
|
|
2980
|
+
"<%= config.bin %> <%= command.id %> my-app -w my-workspace",
|
|
2981
|
+
"<%= config.bin %> <%= command.id %> my-app -w my-workspace --force"
|
|
2982
|
+
],
|
|
2983
|
+
"flags": {
|
|
2984
|
+
"force": {
|
|
2985
|
+
"char": "f",
|
|
2986
|
+
"description": "also remove the project directory after uninit",
|
|
2987
|
+
"name": "force",
|
|
2988
|
+
"allowNo": false,
|
|
2989
|
+
"type": "boolean"
|
|
2990
|
+
},
|
|
2991
|
+
"workspace": {
|
|
2992
|
+
"char": "w",
|
|
2993
|
+
"description": "name of the workspace",
|
|
2994
|
+
"name": "workspace",
|
|
2995
|
+
"required": true,
|
|
2996
|
+
"hasDynamicHelp": false,
|
|
2997
|
+
"multiple": false,
|
|
2998
|
+
"type": "option"
|
|
2999
|
+
}
|
|
3000
|
+
},
|
|
3001
|
+
"hasDynamicHelp": false,
|
|
3002
|
+
"hiddenAliases": [],
|
|
3003
|
+
"id": "devenv:project:uninit",
|
|
3004
|
+
"pluginAlias": "hereya-cli",
|
|
3005
|
+
"pluginName": "hereya-cli",
|
|
3006
|
+
"pluginType": "core",
|
|
3007
|
+
"strict": true,
|
|
3008
|
+
"enableJsonFlag": false,
|
|
3009
|
+
"isESM": true,
|
|
3010
|
+
"relativePath": [
|
|
3011
|
+
"dist",
|
|
3012
|
+
"commands",
|
|
3013
|
+
"devenv",
|
|
3014
|
+
"project",
|
|
3015
|
+
"uninit",
|
|
3016
|
+
"index.js"
|
|
3017
|
+
]
|
|
3018
|
+
},
|
|
2969
3019
|
"flow:docker:run": {
|
|
2970
3020
|
"aliases": [],
|
|
2971
3021
|
"args": {
|
|
@@ -3034,56 +3084,6 @@
|
|
|
3034
3084
|
"index.js"
|
|
3035
3085
|
]
|
|
3036
3086
|
},
|
|
3037
|
-
"devenv:project:uninit": {
|
|
3038
|
-
"aliases": [],
|
|
3039
|
-
"args": {
|
|
3040
|
-
"project": {
|
|
3041
|
-
"description": "project name",
|
|
3042
|
-
"name": "project",
|
|
3043
|
-
"required": true
|
|
3044
|
-
}
|
|
3045
|
-
},
|
|
3046
|
-
"description": "Uninitialize a project on a remote dev environment.",
|
|
3047
|
-
"examples": [
|
|
3048
|
-
"<%= config.bin %> <%= command.id %> my-app -w my-workspace",
|
|
3049
|
-
"<%= config.bin %> <%= command.id %> my-app -w my-workspace --force"
|
|
3050
|
-
],
|
|
3051
|
-
"flags": {
|
|
3052
|
-
"force": {
|
|
3053
|
-
"char": "f",
|
|
3054
|
-
"description": "also remove the project directory after uninit",
|
|
3055
|
-
"name": "force",
|
|
3056
|
-
"allowNo": false,
|
|
3057
|
-
"type": "boolean"
|
|
3058
|
-
},
|
|
3059
|
-
"workspace": {
|
|
3060
|
-
"char": "w",
|
|
3061
|
-
"description": "name of the workspace",
|
|
3062
|
-
"name": "workspace",
|
|
3063
|
-
"required": true,
|
|
3064
|
-
"hasDynamicHelp": false,
|
|
3065
|
-
"multiple": false,
|
|
3066
|
-
"type": "option"
|
|
3067
|
-
}
|
|
3068
|
-
},
|
|
3069
|
-
"hasDynamicHelp": false,
|
|
3070
|
-
"hiddenAliases": [],
|
|
3071
|
-
"id": "devenv:project:uninit",
|
|
3072
|
-
"pluginAlias": "hereya-cli",
|
|
3073
|
-
"pluginName": "hereya-cli",
|
|
3074
|
-
"pluginType": "core",
|
|
3075
|
-
"strict": true,
|
|
3076
|
-
"enableJsonFlag": false,
|
|
3077
|
-
"isESM": true,
|
|
3078
|
-
"relativePath": [
|
|
3079
|
-
"dist",
|
|
3080
|
-
"commands",
|
|
3081
|
-
"devenv",
|
|
3082
|
-
"project",
|
|
3083
|
-
"uninit",
|
|
3084
|
-
"index.js"
|
|
3085
|
-
]
|
|
3086
|
-
},
|
|
3087
3087
|
"workspace:env:set": {
|
|
3088
3088
|
"aliases": [],
|
|
3089
3089
|
"args": {},
|
|
@@ -3199,11 +3199,24 @@
|
|
|
3199
3199
|
"index.js"
|
|
3200
3200
|
]
|
|
3201
3201
|
},
|
|
3202
|
-
"workspace:executor:
|
|
3202
|
+
"workspace:executor:install": {
|
|
3203
3203
|
"aliases": [],
|
|
3204
3204
|
"args": {},
|
|
3205
|
-
"description": "
|
|
3205
|
+
"description": "Install a remote executor into a workspace",
|
|
3206
3206
|
"flags": {
|
|
3207
|
+
"debug": {
|
|
3208
|
+
"description": "enable debug mode",
|
|
3209
|
+
"name": "debug",
|
|
3210
|
+
"allowNo": false,
|
|
3211
|
+
"type": "boolean"
|
|
3212
|
+
},
|
|
3213
|
+
"force": {
|
|
3214
|
+
"char": "f",
|
|
3215
|
+
"description": "force reinstall even if executor is already installed",
|
|
3216
|
+
"name": "force",
|
|
3217
|
+
"allowNo": false,
|
|
3218
|
+
"type": "boolean"
|
|
3219
|
+
},
|
|
3207
3220
|
"token": {
|
|
3208
3221
|
"description": "Ephemeral cloud access token used for this invocation only. Held in memory; never written to the keychain or `~/.hereya/secrets/`. Takes precedence over the HEREYA_TOKEN environment variable.",
|
|
3209
3222
|
"name": "token",
|
|
@@ -3224,7 +3237,7 @@
|
|
|
3224
3237
|
},
|
|
3225
3238
|
"hasDynamicHelp": false,
|
|
3226
3239
|
"hiddenAliases": [],
|
|
3227
|
-
"id": "workspace:executor:
|
|
3240
|
+
"id": "workspace:executor:install",
|
|
3228
3241
|
"pluginAlias": "hereya-cli",
|
|
3229
3242
|
"pluginName": "hereya-cli",
|
|
3230
3243
|
"pluginType": "core",
|
|
@@ -3236,28 +3249,15 @@
|
|
|
3236
3249
|
"commands",
|
|
3237
3250
|
"workspace",
|
|
3238
3251
|
"executor",
|
|
3239
|
-
"
|
|
3252
|
+
"install",
|
|
3240
3253
|
"index.js"
|
|
3241
3254
|
]
|
|
3242
3255
|
},
|
|
3243
|
-
"workspace:executor:
|
|
3256
|
+
"workspace:executor:token": {
|
|
3244
3257
|
"aliases": [],
|
|
3245
3258
|
"args": {},
|
|
3246
|
-
"description": "
|
|
3259
|
+
"description": "Generate a workspace-scoped executor token for the remote executor",
|
|
3247
3260
|
"flags": {
|
|
3248
|
-
"debug": {
|
|
3249
|
-
"description": "enable debug mode",
|
|
3250
|
-
"name": "debug",
|
|
3251
|
-
"allowNo": false,
|
|
3252
|
-
"type": "boolean"
|
|
3253
|
-
},
|
|
3254
|
-
"force": {
|
|
3255
|
-
"char": "f",
|
|
3256
|
-
"description": "force reinstall even if executor is already installed",
|
|
3257
|
-
"name": "force",
|
|
3258
|
-
"allowNo": false,
|
|
3259
|
-
"type": "boolean"
|
|
3260
|
-
},
|
|
3261
3261
|
"token": {
|
|
3262
3262
|
"description": "Ephemeral cloud access token used for this invocation only. Held in memory; never written to the keychain or `~/.hereya/secrets/`. Takes precedence over the HEREYA_TOKEN environment variable.",
|
|
3263
3263
|
"name": "token",
|
|
@@ -3278,7 +3278,7 @@
|
|
|
3278
3278
|
},
|
|
3279
3279
|
"hasDynamicHelp": false,
|
|
3280
3280
|
"hiddenAliases": [],
|
|
3281
|
-
"id": "workspace:executor:
|
|
3281
|
+
"id": "workspace:executor:token",
|
|
3282
3282
|
"pluginAlias": "hereya-cli",
|
|
3283
3283
|
"pluginName": "hereya-cli",
|
|
3284
3284
|
"pluginType": "core",
|
|
@@ -3290,7 +3290,7 @@
|
|
|
3290
3290
|
"commands",
|
|
3291
3291
|
"workspace",
|
|
3292
3292
|
"executor",
|
|
3293
|
-
"
|
|
3293
|
+
"token",
|
|
3294
3294
|
"index.js"
|
|
3295
3295
|
]
|
|
3296
3296
|
},
|
|
@@ -3342,5 +3342,5 @@
|
|
|
3342
3342
|
]
|
|
3343
3343
|
}
|
|
3344
3344
|
},
|
|
3345
|
-
"version": "0.86.
|
|
3345
|
+
"version": "0.86.3"
|
|
3346
3346
|
}
|