forest-cli 5.24.0 → 5.24.1

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.
Files changed (2) hide show
  1. package/oclif.manifest.json +183 -183
  2. package/package.json +2 -11
@@ -1287,6 +1287,188 @@
1287
1287
  "get.js"
1288
1288
  ]
1289
1289
  },
1290
+ "roles:apply": {
1291
+ "aliases": [],
1292
+ "args": {
1293
+ "file": {
1294
+ "description": "Path to the wide-format CSV file.",
1295
+ "name": "file",
1296
+ "required": true
1297
+ }
1298
+ },
1299
+ "description": "Apply a wide-format CSV to update role permissions in an environment.",
1300
+ "flags": {
1301
+ "env": {
1302
+ "char": "e",
1303
+ "description": "Environment name to apply to.",
1304
+ "name": "env",
1305
+ "required": true,
1306
+ "hasDynamicHelp": false,
1307
+ "multiple": false,
1308
+ "type": "option"
1309
+ },
1310
+ "force": {
1311
+ "char": "F",
1312
+ "description": "Skip confirmation prompt.",
1313
+ "name": "force",
1314
+ "allowNo": false,
1315
+ "type": "boolean"
1316
+ },
1317
+ "projectId": {
1318
+ "char": "p",
1319
+ "description": "Forest project ID.",
1320
+ "name": "projectId",
1321
+ "hasDynamicHelp": false,
1322
+ "multiple": false,
1323
+ "type": "option"
1324
+ }
1325
+ },
1326
+ "hasDynamicHelp": false,
1327
+ "hiddenAliases": [],
1328
+ "id": "roles:apply",
1329
+ "pluginAlias": "forest-cli",
1330
+ "pluginName": "forest-cli",
1331
+ "pluginType": "core",
1332
+ "strict": true,
1333
+ "isESM": false,
1334
+ "relativePath": [
1335
+ "dist",
1336
+ "commands",
1337
+ "roles",
1338
+ "apply.js"
1339
+ ]
1340
+ },
1341
+ "roles:copy": {
1342
+ "aliases": [],
1343
+ "args": {},
1344
+ "description": "Copy role permissions from one environment to another.",
1345
+ "flags": {
1346
+ "from": {
1347
+ "char": "f",
1348
+ "description": "Source environment name.",
1349
+ "name": "from",
1350
+ "required": true,
1351
+ "hasDynamicHelp": false,
1352
+ "multiple": false,
1353
+ "type": "option"
1354
+ },
1355
+ "to": {
1356
+ "char": "t",
1357
+ "description": "Destination environment name.",
1358
+ "name": "to",
1359
+ "required": true,
1360
+ "hasDynamicHelp": false,
1361
+ "multiple": false,
1362
+ "type": "option"
1363
+ },
1364
+ "projectId": {
1365
+ "char": "p",
1366
+ "description": "Forest project ID.",
1367
+ "name": "projectId",
1368
+ "hasDynamicHelp": false,
1369
+ "multiple": false,
1370
+ "type": "option"
1371
+ }
1372
+ },
1373
+ "hasDynamicHelp": false,
1374
+ "hiddenAliases": [],
1375
+ "id": "roles:copy",
1376
+ "pluginAlias": "forest-cli",
1377
+ "pluginName": "forest-cli",
1378
+ "pluginType": "core",
1379
+ "strict": true,
1380
+ "isESM": false,
1381
+ "relativePath": [
1382
+ "dist",
1383
+ "commands",
1384
+ "roles",
1385
+ "copy.js"
1386
+ ]
1387
+ },
1388
+ "roles:create": {
1389
+ "aliases": [],
1390
+ "args": {},
1391
+ "description": "Create a new role in a project.",
1392
+ "flags": {
1393
+ "name": {
1394
+ "char": "n",
1395
+ "description": "Name of the role to create.",
1396
+ "name": "name",
1397
+ "required": true,
1398
+ "hasDynamicHelp": false,
1399
+ "multiple": false,
1400
+ "type": "option"
1401
+ },
1402
+ "projectId": {
1403
+ "char": "p",
1404
+ "description": "Forest project ID.",
1405
+ "name": "projectId",
1406
+ "hasDynamicHelp": false,
1407
+ "multiple": false,
1408
+ "type": "option"
1409
+ }
1410
+ },
1411
+ "hasDynamicHelp": false,
1412
+ "hiddenAliases": [],
1413
+ "id": "roles:create",
1414
+ "pluginAlias": "forest-cli",
1415
+ "pluginName": "forest-cli",
1416
+ "pluginType": "core",
1417
+ "strict": true,
1418
+ "isESM": false,
1419
+ "relativePath": [
1420
+ "dist",
1421
+ "commands",
1422
+ "roles",
1423
+ "create.js"
1424
+ ]
1425
+ },
1426
+ "roles:export": {
1427
+ "aliases": [],
1428
+ "args": {},
1429
+ "description": "Export all roles and their permissions to a wide CSV file.",
1430
+ "flags": {
1431
+ "env": {
1432
+ "char": "e",
1433
+ "description": "Environment name to export permissions for.",
1434
+ "name": "env",
1435
+ "required": true,
1436
+ "hasDynamicHelp": false,
1437
+ "multiple": false,
1438
+ "type": "option"
1439
+ },
1440
+ "projectId": {
1441
+ "char": "p",
1442
+ "description": "Forest project ID.",
1443
+ "name": "projectId",
1444
+ "hasDynamicHelp": false,
1445
+ "multiple": false,
1446
+ "type": "option"
1447
+ },
1448
+ "output": {
1449
+ "char": "o",
1450
+ "description": "Output file path (default: stdout).",
1451
+ "name": "output",
1452
+ "hasDynamicHelp": false,
1453
+ "multiple": false,
1454
+ "type": "option"
1455
+ }
1456
+ },
1457
+ "hasDynamicHelp": false,
1458
+ "hiddenAliases": [],
1459
+ "id": "roles:export",
1460
+ "pluginAlias": "forest-cli",
1461
+ "pluginName": "forest-cli",
1462
+ "pluginType": "core",
1463
+ "strict": true,
1464
+ "isESM": false,
1465
+ "relativePath": [
1466
+ "dist",
1467
+ "commands",
1468
+ "roles",
1469
+ "export.js"
1470
+ ]
1471
+ },
1290
1472
  "schema:apply": {
1291
1473
  "aliases": [],
1292
1474
  "args": {},
@@ -1612,188 +1794,6 @@
1612
1794
  "delete.js"
1613
1795
  ]
1614
1796
  },
1615
- "roles:apply": {
1616
- "aliases": [],
1617
- "args": {
1618
- "file": {
1619
- "description": "Path to the wide-format CSV file.",
1620
- "name": "file",
1621
- "required": true
1622
- }
1623
- },
1624
- "description": "Apply a wide-format CSV to update role permissions in an environment.",
1625
- "flags": {
1626
- "env": {
1627
- "char": "e",
1628
- "description": "Environment name to apply to.",
1629
- "name": "env",
1630
- "required": true,
1631
- "hasDynamicHelp": false,
1632
- "multiple": false,
1633
- "type": "option"
1634
- },
1635
- "force": {
1636
- "char": "F",
1637
- "description": "Skip confirmation prompt.",
1638
- "name": "force",
1639
- "allowNo": false,
1640
- "type": "boolean"
1641
- },
1642
- "projectId": {
1643
- "char": "p",
1644
- "description": "Forest project ID.",
1645
- "name": "projectId",
1646
- "hasDynamicHelp": false,
1647
- "multiple": false,
1648
- "type": "option"
1649
- }
1650
- },
1651
- "hasDynamicHelp": false,
1652
- "hiddenAliases": [],
1653
- "id": "roles:apply",
1654
- "pluginAlias": "forest-cli",
1655
- "pluginName": "forest-cli",
1656
- "pluginType": "core",
1657
- "strict": true,
1658
- "isESM": false,
1659
- "relativePath": [
1660
- "dist",
1661
- "commands",
1662
- "roles",
1663
- "apply.js"
1664
- ]
1665
- },
1666
- "roles:copy": {
1667
- "aliases": [],
1668
- "args": {},
1669
- "description": "Copy role permissions from one environment to another.",
1670
- "flags": {
1671
- "from": {
1672
- "char": "f",
1673
- "description": "Source environment name.",
1674
- "name": "from",
1675
- "required": true,
1676
- "hasDynamicHelp": false,
1677
- "multiple": false,
1678
- "type": "option"
1679
- },
1680
- "to": {
1681
- "char": "t",
1682
- "description": "Destination environment name.",
1683
- "name": "to",
1684
- "required": true,
1685
- "hasDynamicHelp": false,
1686
- "multiple": false,
1687
- "type": "option"
1688
- },
1689
- "projectId": {
1690
- "char": "p",
1691
- "description": "Forest project ID.",
1692
- "name": "projectId",
1693
- "hasDynamicHelp": false,
1694
- "multiple": false,
1695
- "type": "option"
1696
- }
1697
- },
1698
- "hasDynamicHelp": false,
1699
- "hiddenAliases": [],
1700
- "id": "roles:copy",
1701
- "pluginAlias": "forest-cli",
1702
- "pluginName": "forest-cli",
1703
- "pluginType": "core",
1704
- "strict": true,
1705
- "isESM": false,
1706
- "relativePath": [
1707
- "dist",
1708
- "commands",
1709
- "roles",
1710
- "copy.js"
1711
- ]
1712
- },
1713
- "roles:create": {
1714
- "aliases": [],
1715
- "args": {},
1716
- "description": "Create a new role in a project.",
1717
- "flags": {
1718
- "name": {
1719
- "char": "n",
1720
- "description": "Name of the role to create.",
1721
- "name": "name",
1722
- "required": true,
1723
- "hasDynamicHelp": false,
1724
- "multiple": false,
1725
- "type": "option"
1726
- },
1727
- "projectId": {
1728
- "char": "p",
1729
- "description": "Forest project ID.",
1730
- "name": "projectId",
1731
- "hasDynamicHelp": false,
1732
- "multiple": false,
1733
- "type": "option"
1734
- }
1735
- },
1736
- "hasDynamicHelp": false,
1737
- "hiddenAliases": [],
1738
- "id": "roles:create",
1739
- "pluginAlias": "forest-cli",
1740
- "pluginName": "forest-cli",
1741
- "pluginType": "core",
1742
- "strict": true,
1743
- "isESM": false,
1744
- "relativePath": [
1745
- "dist",
1746
- "commands",
1747
- "roles",
1748
- "create.js"
1749
- ]
1750
- },
1751
- "roles:export": {
1752
- "aliases": [],
1753
- "args": {},
1754
- "description": "Export all roles and their permissions to a wide CSV file.",
1755
- "flags": {
1756
- "env": {
1757
- "char": "e",
1758
- "description": "Environment name to export permissions for.",
1759
- "name": "env",
1760
- "required": true,
1761
- "hasDynamicHelp": false,
1762
- "multiple": false,
1763
- "type": "option"
1764
- },
1765
- "projectId": {
1766
- "char": "p",
1767
- "description": "Forest project ID.",
1768
- "name": "projectId",
1769
- "hasDynamicHelp": false,
1770
- "multiple": false,
1771
- "type": "option"
1772
- },
1773
- "output": {
1774
- "char": "o",
1775
- "description": "Output file path (default: stdout).",
1776
- "name": "output",
1777
- "hasDynamicHelp": false,
1778
- "multiple": false,
1779
- "type": "option"
1780
- }
1781
- },
1782
- "hasDynamicHelp": false,
1783
- "hiddenAliases": [],
1784
- "id": "roles:export",
1785
- "pluginAlias": "forest-cli",
1786
- "pluginName": "forest-cli",
1787
- "pluginType": "core",
1788
- "strict": true,
1789
- "isESM": false,
1790
- "relativePath": [
1791
- "dist",
1792
- "commands",
1793
- "roles",
1794
- "export.js"
1795
- ]
1796
- },
1797
1797
  "users:edit": {
1798
1798
  "aliases": [],
1799
1799
  "args": {},
@@ -3736,5 +3736,5 @@
3736
3736
  ]
3737
3737
  }
3738
3738
  },
3739
- "version": "5.24.0"
3739
+ "version": "5.24.1"
3740
3740
  }
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.24.0",
4
+ "version": "5.24.1",
5
5
  "author": "Sandro Munda",
6
6
  "contributors": [
7
7
  "Arnaud Valensi <arnaud.valensi@gmail.com>",
@@ -138,17 +138,8 @@
138
138
  "postbuild": "mkdir -p ./dist/services/dumpers/templates && cp -R src/services/dumpers/templates dist/services/dumpers/"
139
139
  },
140
140
  "resolutions": {
141
- "@azure/core-tracing": "1.0.1",
142
- "jws": ">=4.0.1",
143
- "fast-xml-parser": ">=5.7.0",
144
141
  "uuid": "^11.1.1",
145
142
  "inquirer/**/tmp": "^0.2.6",
146
- "brace-expansion": "^1.1.16 || ^2.1.2",
147
- "@oclif/core/js-yaml": "^3.15.2",
148
- "@istanbuljs/load-nyc-config/js-yaml": "^3.15.2",
149
- "eslint/js-yaml": "^4.3.2",
150
- "@eslint/eslintrc/js-yaml": "^4.3.2",
151
- "cosmiconfig/js-yaml": "^4.3.2",
152
- "browserslist": "^4.28.7"
143
+ "mongodb/mongodb-connection-string-url": "^3.0.2"
153
144
  }
154
145
  }