hereya-cli 0.48.0 → 0.50.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.
@@ -939,6 +939,71 @@
939
939
  "index.js"
940
940
  ]
941
941
  },
942
+ "flow:add": {
943
+ "aliases": [],
944
+ "args": {
945
+ "package": {
946
+ "description": "\n The package to add, specified as a GitHub repository in the format owner/repository.\n To change the registry URL, set the HEREYA_REGISTRY_URL environment variable, so that it points to $HEREYA_REGISTRY_URL/owner/repository.\n For local packages, use the format local/path/to/package where path/to/package is the path to the package on your local machine.\n ",
947
+ "name": "package",
948
+ "required": true
949
+ }
950
+ },
951
+ "description": "Add a package to the project in a git branch-based workspace",
952
+ "examples": [
953
+ "<%= config.bin %> <%= command.id %> cloudy/docker_postgres",
954
+ "<%= config.bin %> <%= command.id %> cloudy/docker_postgres --profile staging",
955
+ "<%= config.bin %> <%= command.id %> cloudy/docker_postgres -p DB_NAME=mydb -p DB_USER=admin"
956
+ ],
957
+ "flags": {
958
+ "chdir": {
959
+ "description": "\n 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.\n ",
960
+ "name": "chdir",
961
+ "required": false,
962
+ "hasDynamicHelp": false,
963
+ "multiple": false,
964
+ "type": "option"
965
+ },
966
+ "debug": {
967
+ "description": "enable debug mode",
968
+ "name": "debug",
969
+ "allowNo": false,
970
+ "type": "boolean"
971
+ },
972
+ "parameter": {
973
+ "char": "p",
974
+ "description": "parameter for the package, in the form of 'key=value'. Can be specified multiple times.",
975
+ "name": "parameter",
976
+ "default": [],
977
+ "hasDynamicHelp": false,
978
+ "multiple": true,
979
+ "type": "option"
980
+ },
981
+ "profile": {
982
+ "description": "profile to use for the workspace (will be appended to workspace name)",
983
+ "name": "profile",
984
+ "required": false,
985
+ "hasDynamicHelp": false,
986
+ "multiple": false,
987
+ "type": "option"
988
+ }
989
+ },
990
+ "hasDynamicHelp": false,
991
+ "hiddenAliases": [],
992
+ "id": "flow:add",
993
+ "pluginAlias": "hereya-cli",
994
+ "pluginName": "hereya-cli",
995
+ "pluginType": "core",
996
+ "strict": true,
997
+ "enableJsonFlag": false,
998
+ "isESM": true,
999
+ "relativePath": [
1000
+ "dist",
1001
+ "commands",
1002
+ "flow",
1003
+ "add",
1004
+ "index.js"
1005
+ ]
1006
+ },
942
1007
  "flow:down": {
943
1008
  "aliases": [],
944
1009
  "args": {},
@@ -1013,6 +1078,128 @@
1013
1078
  "index.js"
1014
1079
  ]
1015
1080
  },
1081
+ "flow:env": {
1082
+ "aliases": [],
1083
+ "args": {
1084
+ "name": {
1085
+ "description": "name of the env to display",
1086
+ "name": "name",
1087
+ "required": false
1088
+ }
1089
+ },
1090
+ "description": "Print project environment variables for a git branch-based workspace",
1091
+ "examples": [
1092
+ "<%= config.bin %> <%= command.id %>",
1093
+ "<%= config.bin %> <%= command.id %> myEnv",
1094
+ "<%= config.bin %> <%= command.id %> --profile staging",
1095
+ "<%= config.bin %> <%= command.id %> --pin",
1096
+ "<%= config.bin %> <%= command.id %> -l"
1097
+ ],
1098
+ "flags": {
1099
+ "chdir": {
1100
+ "description": "project root directory",
1101
+ "name": "chdir",
1102
+ "required": false,
1103
+ "hasDynamicHelp": false,
1104
+ "multiple": false,
1105
+ "type": "option"
1106
+ },
1107
+ "list": {
1108
+ "char": "l",
1109
+ "description": "list only the env vars without values",
1110
+ "name": "list",
1111
+ "required": false,
1112
+ "allowNo": false,
1113
+ "type": "boolean"
1114
+ },
1115
+ "pin": {
1116
+ "description": "append git commit SHA to workspace name for commit-specific isolation",
1117
+ "name": "pin",
1118
+ "required": false,
1119
+ "allowNo": false,
1120
+ "type": "boolean"
1121
+ },
1122
+ "profile": {
1123
+ "description": "profile to use for the workspace (will be appended to workspace name)",
1124
+ "name": "profile",
1125
+ "required": false,
1126
+ "hasDynamicHelp": false,
1127
+ "multiple": false,
1128
+ "type": "option"
1129
+ }
1130
+ },
1131
+ "hasDynamicHelp": false,
1132
+ "hiddenAliases": [],
1133
+ "id": "flow:env",
1134
+ "pluginAlias": "hereya-cli",
1135
+ "pluginName": "hereya-cli",
1136
+ "pluginType": "core",
1137
+ "strict": true,
1138
+ "enableJsonFlag": false,
1139
+ "isESM": true,
1140
+ "relativePath": [
1141
+ "dist",
1142
+ "commands",
1143
+ "flow",
1144
+ "env",
1145
+ "index.js"
1146
+ ]
1147
+ },
1148
+ "flow:remove": {
1149
+ "aliases": [],
1150
+ "args": {
1151
+ "package": {
1152
+ "description": "Remove a previously added package.",
1153
+ "name": "package",
1154
+ "required": true
1155
+ }
1156
+ },
1157
+ "description": "Remove a package from the project in a git branch-based workspace",
1158
+ "examples": [
1159
+ "<%= config.bin %> <%= command.id %> cloudy/docker_postgres",
1160
+ "<%= config.bin %> <%= command.id %> cloudy/docker_postgres --profile staging"
1161
+ ],
1162
+ "flags": {
1163
+ "chdir": {
1164
+ "description": "\n 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.\n ",
1165
+ "name": "chdir",
1166
+ "required": false,
1167
+ "hasDynamicHelp": false,
1168
+ "multiple": false,
1169
+ "type": "option"
1170
+ },
1171
+ "debug": {
1172
+ "description": "enable debug mode",
1173
+ "name": "debug",
1174
+ "allowNo": false,
1175
+ "type": "boolean"
1176
+ },
1177
+ "profile": {
1178
+ "description": "profile to use for the workspace (will be appended to workspace name)",
1179
+ "name": "profile",
1180
+ "required": false,
1181
+ "hasDynamicHelp": false,
1182
+ "multiple": false,
1183
+ "type": "option"
1184
+ }
1185
+ },
1186
+ "hasDynamicHelp": false,
1187
+ "hiddenAliases": [],
1188
+ "id": "flow:remove",
1189
+ "pluginAlias": "hereya-cli",
1190
+ "pluginName": "hereya-cli",
1191
+ "pluginType": "core",
1192
+ "strict": true,
1193
+ "enableJsonFlag": false,
1194
+ "isESM": true,
1195
+ "relativePath": [
1196
+ "dist",
1197
+ "commands",
1198
+ "flow",
1199
+ "remove",
1200
+ "index.js"
1201
+ ]
1202
+ },
1016
1203
  "flow:run": {
1017
1204
  "aliases": [],
1018
1205
  "args": {
@@ -1583,5 +1770,5 @@
1583
1770
  ]
1584
1771
  }
1585
1772
  },
1586
- "version": "0.48.0"
1773
+ "version": "0.50.0"
1587
1774
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "hereya-cli",
3
3
  "description": "Infrastructure as Package",
4
- "version": "0.48.0",
4
+ "version": "0.50.0",
5
5
  "author": "Hereya Developers",
6
6
  "bin": {
7
7
  "hereya": "./bin/run.js"