forest-cli 5.11.0 → 5.13.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.
@@ -1129,6 +1129,188 @@
1129
1129
  "get.js"
1130
1130
  ]
1131
1131
  },
1132
+ "roles:apply": {
1133
+ "aliases": [],
1134
+ "args": {
1135
+ "file": {
1136
+ "description": "Path to the wide-format CSV file.",
1137
+ "name": "file",
1138
+ "required": true
1139
+ }
1140
+ },
1141
+ "description": "Apply a wide-format CSV to update role permissions in an environment.",
1142
+ "flags": {
1143
+ "env": {
1144
+ "char": "e",
1145
+ "description": "Environment name to apply to.",
1146
+ "name": "env",
1147
+ "required": true,
1148
+ "hasDynamicHelp": false,
1149
+ "multiple": false,
1150
+ "type": "option"
1151
+ },
1152
+ "force": {
1153
+ "char": "F",
1154
+ "description": "Skip confirmation prompt.",
1155
+ "name": "force",
1156
+ "allowNo": false,
1157
+ "type": "boolean"
1158
+ },
1159
+ "projectId": {
1160
+ "char": "p",
1161
+ "description": "Forest project ID.",
1162
+ "name": "projectId",
1163
+ "hasDynamicHelp": false,
1164
+ "multiple": false,
1165
+ "type": "option"
1166
+ }
1167
+ },
1168
+ "hasDynamicHelp": false,
1169
+ "hiddenAliases": [],
1170
+ "id": "roles:apply",
1171
+ "pluginAlias": "forest-cli",
1172
+ "pluginName": "forest-cli",
1173
+ "pluginType": "core",
1174
+ "strict": true,
1175
+ "isESM": false,
1176
+ "relativePath": [
1177
+ "dist",
1178
+ "commands",
1179
+ "roles",
1180
+ "apply.js"
1181
+ ]
1182
+ },
1183
+ "roles:copy": {
1184
+ "aliases": [],
1185
+ "args": {},
1186
+ "description": "Copy role permissions from one environment to another.",
1187
+ "flags": {
1188
+ "from": {
1189
+ "char": "f",
1190
+ "description": "Source environment name.",
1191
+ "name": "from",
1192
+ "required": true,
1193
+ "hasDynamicHelp": false,
1194
+ "multiple": false,
1195
+ "type": "option"
1196
+ },
1197
+ "to": {
1198
+ "char": "t",
1199
+ "description": "Destination environment name.",
1200
+ "name": "to",
1201
+ "required": true,
1202
+ "hasDynamicHelp": false,
1203
+ "multiple": false,
1204
+ "type": "option"
1205
+ },
1206
+ "projectId": {
1207
+ "char": "p",
1208
+ "description": "Forest project ID.",
1209
+ "name": "projectId",
1210
+ "hasDynamicHelp": false,
1211
+ "multiple": false,
1212
+ "type": "option"
1213
+ }
1214
+ },
1215
+ "hasDynamicHelp": false,
1216
+ "hiddenAliases": [],
1217
+ "id": "roles:copy",
1218
+ "pluginAlias": "forest-cli",
1219
+ "pluginName": "forest-cli",
1220
+ "pluginType": "core",
1221
+ "strict": true,
1222
+ "isESM": false,
1223
+ "relativePath": [
1224
+ "dist",
1225
+ "commands",
1226
+ "roles",
1227
+ "copy.js"
1228
+ ]
1229
+ },
1230
+ "roles:create": {
1231
+ "aliases": [],
1232
+ "args": {},
1233
+ "description": "Create a new role in a project.",
1234
+ "flags": {
1235
+ "name": {
1236
+ "char": "n",
1237
+ "description": "Name of the role to create.",
1238
+ "name": "name",
1239
+ "required": true,
1240
+ "hasDynamicHelp": false,
1241
+ "multiple": false,
1242
+ "type": "option"
1243
+ },
1244
+ "projectId": {
1245
+ "char": "p",
1246
+ "description": "Forest project ID.",
1247
+ "name": "projectId",
1248
+ "hasDynamicHelp": false,
1249
+ "multiple": false,
1250
+ "type": "option"
1251
+ }
1252
+ },
1253
+ "hasDynamicHelp": false,
1254
+ "hiddenAliases": [],
1255
+ "id": "roles:create",
1256
+ "pluginAlias": "forest-cli",
1257
+ "pluginName": "forest-cli",
1258
+ "pluginType": "core",
1259
+ "strict": true,
1260
+ "isESM": false,
1261
+ "relativePath": [
1262
+ "dist",
1263
+ "commands",
1264
+ "roles",
1265
+ "create.js"
1266
+ ]
1267
+ },
1268
+ "roles:export": {
1269
+ "aliases": [],
1270
+ "args": {},
1271
+ "description": "Export all roles and their permissions to a wide CSV file.",
1272
+ "flags": {
1273
+ "env": {
1274
+ "char": "e",
1275
+ "description": "Environment name to export permissions for.",
1276
+ "name": "env",
1277
+ "required": true,
1278
+ "hasDynamicHelp": false,
1279
+ "multiple": false,
1280
+ "type": "option"
1281
+ },
1282
+ "projectId": {
1283
+ "char": "p",
1284
+ "description": "Forest project ID.",
1285
+ "name": "projectId",
1286
+ "hasDynamicHelp": false,
1287
+ "multiple": false,
1288
+ "type": "option"
1289
+ },
1290
+ "output": {
1291
+ "char": "o",
1292
+ "description": "Output file path (default: stdout).",
1293
+ "name": "output",
1294
+ "hasDynamicHelp": false,
1295
+ "multiple": false,
1296
+ "type": "option"
1297
+ }
1298
+ },
1299
+ "hasDynamicHelp": false,
1300
+ "hiddenAliases": [],
1301
+ "id": "roles:export",
1302
+ "pluginAlias": "forest-cli",
1303
+ "pluginName": "forest-cli",
1304
+ "pluginType": "core",
1305
+ "strict": true,
1306
+ "isESM": false,
1307
+ "relativePath": [
1308
+ "dist",
1309
+ "commands",
1310
+ "roles",
1311
+ "export.js"
1312
+ ]
1313
+ },
1132
1314
  "schema:apply": {
1133
1315
  "aliases": [],
1134
1316
  "args": {},
@@ -2962,5 +3144,5 @@
2962
3144
  ]
2963
3145
  }
2964
3146
  },
2965
- "version": "5.11.0"
3147
+ "version": "5.13.0"
2966
3148
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "forest-cli",
3
3
  "description": "The Lumberjacks' toolbelt is the Forest CLI which makes easy to manage your back office application directly from the terminal.",
4
- "version": "5.11.0",
4
+ "version": "5.13.0",
5
5
  "author": "Sandro Munda",
6
6
  "contributors": [
7
7
  "Arnaud Valensi <arnaud.valensi@gmail.com>",