forest-cli 5.23.0 → 5.24.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.
- package/dist/commands/skills/init.d.ts +23 -0
- package/dist/commands/skills/init.d.ts.map +1 -0
- package/dist/commands/skills/init.js +170 -0
- package/dist/commands/skills/update.d.ts +12 -0
- package/dist/commands/skills/update.d.ts.map +1 -0
- package/dist/commands/skills/update.js +110 -0
- package/dist/services/skills/skills-manager.d.ts +181 -0
- package/dist/services/skills/skills-manager.d.ts.map +1 -0
- package/dist/services/skills/skills-manager.js +593 -0
- package/oclif.manifest.json +243 -165
- package/package.json +2 -1
package/oclif.manifest.json
CHANGED
|
@@ -1287,37 +1287,98 @@
|
|
|
1287
1287
|
"get.js"
|
|
1288
1288
|
]
|
|
1289
1289
|
},
|
|
1290
|
-
"
|
|
1290
|
+
"schema:apply": {
|
|
1291
|
+
"aliases": [],
|
|
1292
|
+
"args": {},
|
|
1293
|
+
"description": "Apply the current schema of your repository to the specified environment (using your \".forestadmin-schema.json\" file).",
|
|
1294
|
+
"flags": {
|
|
1295
|
+
"secret": {
|
|
1296
|
+
"char": "s",
|
|
1297
|
+
"description": "Environment secret of the project (FOREST_ENV_SECRET).",
|
|
1298
|
+
"name": "secret",
|
|
1299
|
+
"required": false,
|
|
1300
|
+
"hasDynamicHelp": false,
|
|
1301
|
+
"multiple": false,
|
|
1302
|
+
"type": "option"
|
|
1303
|
+
}
|
|
1304
|
+
},
|
|
1305
|
+
"hasDynamicHelp": false,
|
|
1306
|
+
"hiddenAliases": [],
|
|
1307
|
+
"id": "schema:apply",
|
|
1308
|
+
"pluginAlias": "forest-cli",
|
|
1309
|
+
"pluginName": "forest-cli",
|
|
1310
|
+
"pluginType": "core",
|
|
1311
|
+
"strict": true,
|
|
1312
|
+
"isESM": false,
|
|
1313
|
+
"relativePath": [
|
|
1314
|
+
"dist",
|
|
1315
|
+
"commands",
|
|
1316
|
+
"schema",
|
|
1317
|
+
"apply.js"
|
|
1318
|
+
]
|
|
1319
|
+
},
|
|
1320
|
+
"schema:diff": {
|
|
1291
1321
|
"aliases": [],
|
|
1292
1322
|
"args": {
|
|
1293
|
-
"
|
|
1294
|
-
"description": "
|
|
1295
|
-
"name": "
|
|
1323
|
+
"environmentIdFrom": {
|
|
1324
|
+
"description": "ID of an environment to compare.",
|
|
1325
|
+
"name": "environmentIdFrom",
|
|
1326
|
+
"required": true
|
|
1327
|
+
},
|
|
1328
|
+
"environmentIdTo": {
|
|
1329
|
+
"description": "ID of an environment to compare.",
|
|
1330
|
+
"name": "environmentIdTo",
|
|
1296
1331
|
"required": true
|
|
1297
1332
|
}
|
|
1298
1333
|
},
|
|
1299
|
-
"description": "
|
|
1334
|
+
"description": "Allow to compare two environment schemas",
|
|
1300
1335
|
"flags": {
|
|
1301
|
-
"
|
|
1302
|
-
"
|
|
1303
|
-
"
|
|
1304
|
-
"
|
|
1305
|
-
"
|
|
1336
|
+
"help": {
|
|
1337
|
+
"description": "Display usage information.",
|
|
1338
|
+
"name": "help",
|
|
1339
|
+
"allowNo": false,
|
|
1340
|
+
"type": "boolean"
|
|
1341
|
+
}
|
|
1342
|
+
},
|
|
1343
|
+
"hasDynamicHelp": false,
|
|
1344
|
+
"hiddenAliases": [],
|
|
1345
|
+
"id": "schema:diff",
|
|
1346
|
+
"pluginAlias": "forest-cli",
|
|
1347
|
+
"pluginName": "forest-cli",
|
|
1348
|
+
"pluginType": "core",
|
|
1349
|
+
"strict": true,
|
|
1350
|
+
"isESM": false,
|
|
1351
|
+
"relativePath": [
|
|
1352
|
+
"dist",
|
|
1353
|
+
"commands",
|
|
1354
|
+
"schema",
|
|
1355
|
+
"diff.js"
|
|
1356
|
+
]
|
|
1357
|
+
},
|
|
1358
|
+
"schema:update": {
|
|
1359
|
+
"aliases": [],
|
|
1360
|
+
"args": {},
|
|
1361
|
+
"description": "Refresh your schema by generating files that do not currently exist.",
|
|
1362
|
+
"flags": {
|
|
1363
|
+
"config": {
|
|
1364
|
+
"char": "c",
|
|
1365
|
+
"dependsOn": [],
|
|
1366
|
+
"description": "Database configuration file to use.",
|
|
1367
|
+
"exclusive": [],
|
|
1368
|
+
"name": "config",
|
|
1369
|
+
"required": false,
|
|
1370
|
+
"default": "config/databases.js",
|
|
1306
1371
|
"hasDynamicHelp": false,
|
|
1307
1372
|
"multiple": false,
|
|
1308
1373
|
"type": "option"
|
|
1309
1374
|
},
|
|
1310
|
-
"
|
|
1311
|
-
"char": "
|
|
1312
|
-
"
|
|
1313
|
-
"
|
|
1314
|
-
"
|
|
1315
|
-
"
|
|
1316
|
-
|
|
1317
|
-
"projectId": {
|
|
1318
|
-
"char": "p",
|
|
1319
|
-
"description": "Forest project ID.",
|
|
1320
|
-
"name": "projectId",
|
|
1375
|
+
"outputDirectory": {
|
|
1376
|
+
"char": "o",
|
|
1377
|
+
"dependsOn": [],
|
|
1378
|
+
"description": "Output directory where to generate new files.",
|
|
1379
|
+
"exclusive": [],
|
|
1380
|
+
"name": "outputDirectory",
|
|
1381
|
+
"required": false,
|
|
1321
1382
|
"hasDynamicHelp": false,
|
|
1322
1383
|
"multiple": false,
|
|
1323
1384
|
"type": "option"
|
|
@@ -1325,7 +1386,7 @@
|
|
|
1325
1386
|
},
|
|
1326
1387
|
"hasDynamicHelp": false,
|
|
1327
1388
|
"hiddenAliases": [],
|
|
1328
|
-
"id": "
|
|
1389
|
+
"id": "schema:update",
|
|
1329
1390
|
"pluginAlias": "forest-cli",
|
|
1330
1391
|
"pluginName": "forest-cli",
|
|
1331
1392
|
"pluginType": "core",
|
|
@@ -1334,45 +1395,47 @@
|
|
|
1334
1395
|
"relativePath": [
|
|
1335
1396
|
"dist",
|
|
1336
1397
|
"commands",
|
|
1337
|
-
"
|
|
1338
|
-
"
|
|
1398
|
+
"schema",
|
|
1399
|
+
"update.js"
|
|
1339
1400
|
]
|
|
1340
1401
|
},
|
|
1341
|
-
"
|
|
1402
|
+
"skills:init": {
|
|
1342
1403
|
"aliases": [],
|
|
1343
1404
|
"args": {},
|
|
1344
|
-
"description": "
|
|
1405
|
+
"description": "Give your coding agent the Forest skills: installs the Forest plugin (Claude Code, Codex) or copies the skills into the repo (Cursor, OpenCode, …).",
|
|
1345
1406
|
"flags": {
|
|
1346
|
-
"
|
|
1347
|
-
"
|
|
1348
|
-
"
|
|
1349
|
-
"name": "from",
|
|
1350
|
-
"required": true,
|
|
1407
|
+
"agent": {
|
|
1408
|
+
"description": "Coding agent(s) to set up: claude, codex, cursor, opencode, other. Repeatable. Skips the prompt; without it, the agents this repo or this machine points to are detected and used. Required only when nothing is detected.",
|
|
1409
|
+
"name": "agent",
|
|
1351
1410
|
"hasDynamicHelp": false,
|
|
1352
|
-
"multiple":
|
|
1411
|
+
"multiple": true,
|
|
1412
|
+
"options": [
|
|
1413
|
+
"claude",
|
|
1414
|
+
"codex",
|
|
1415
|
+
"cursor",
|
|
1416
|
+
"opencode",
|
|
1417
|
+
"other"
|
|
1418
|
+
],
|
|
1353
1419
|
"type": "option"
|
|
1354
1420
|
},
|
|
1355
|
-
"
|
|
1356
|
-
"
|
|
1357
|
-
"
|
|
1358
|
-
"
|
|
1359
|
-
"required": true,
|
|
1421
|
+
"ref": {
|
|
1422
|
+
"description": "Marketplace version (git ref).",
|
|
1423
|
+
"name": "ref",
|
|
1424
|
+
"default": "main",
|
|
1360
1425
|
"hasDynamicHelp": false,
|
|
1361
1426
|
"multiple": false,
|
|
1362
1427
|
"type": "option"
|
|
1363
1428
|
},
|
|
1364
|
-
"
|
|
1365
|
-
"
|
|
1366
|
-
"
|
|
1367
|
-
"
|
|
1368
|
-
"
|
|
1369
|
-
"multiple": false,
|
|
1370
|
-
"type": "option"
|
|
1429
|
+
"force": {
|
|
1430
|
+
"description": "Overwrite skill files already installed by a previous run (copy route only).",
|
|
1431
|
+
"name": "force",
|
|
1432
|
+
"allowNo": false,
|
|
1433
|
+
"type": "boolean"
|
|
1371
1434
|
}
|
|
1372
1435
|
},
|
|
1373
1436
|
"hasDynamicHelp": false,
|
|
1374
1437
|
"hiddenAliases": [],
|
|
1375
|
-
"id": "
|
|
1438
|
+
"id": "skills:init",
|
|
1376
1439
|
"pluginAlias": "forest-cli",
|
|
1377
1440
|
"pluginName": "forest-cli",
|
|
1378
1441
|
"pluginType": "core",
|
|
@@ -1381,28 +1444,19 @@
|
|
|
1381
1444
|
"relativePath": [
|
|
1382
1445
|
"dist",
|
|
1383
1446
|
"commands",
|
|
1384
|
-
"
|
|
1385
|
-
"
|
|
1447
|
+
"skills",
|
|
1448
|
+
"init.js"
|
|
1386
1449
|
]
|
|
1387
1450
|
},
|
|
1388
|
-
"
|
|
1451
|
+
"skills:update": {
|
|
1389
1452
|
"aliases": [],
|
|
1390
1453
|
"args": {},
|
|
1391
|
-
"description": "
|
|
1454
|
+
"description": "Refresh what `forest skills:init` installed (anti-drift): re-installs the Forest plugin for Claude Code / Codex, and re-copies the skills for the other agents — overwriting the managed files and pruning what was dropped upstream (git shows the diff). Files you wrote yourself are left untouched.",
|
|
1392
1455
|
"flags": {
|
|
1393
|
-
"
|
|
1394
|
-
"
|
|
1395
|
-
"
|
|
1396
|
-
"
|
|
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",
|
|
1456
|
+
"ref": {
|
|
1457
|
+
"description": "Marketplace version (git ref).",
|
|
1458
|
+
"name": "ref",
|
|
1459
|
+
"default": "main",
|
|
1406
1460
|
"hasDynamicHelp": false,
|
|
1407
1461
|
"multiple": false,
|
|
1408
1462
|
"type": "option"
|
|
@@ -1410,7 +1464,7 @@
|
|
|
1410
1464
|
},
|
|
1411
1465
|
"hasDynamicHelp": false,
|
|
1412
1466
|
"hiddenAliases": [],
|
|
1413
|
-
"id": "
|
|
1467
|
+
"id": "skills:update",
|
|
1414
1468
|
"pluginAlias": "forest-cli",
|
|
1415
1469
|
"pluginName": "forest-cli",
|
|
1416
1470
|
"pluginType": "core",
|
|
@@ -1419,19 +1473,28 @@
|
|
|
1419
1473
|
"relativePath": [
|
|
1420
1474
|
"dist",
|
|
1421
1475
|
"commands",
|
|
1422
|
-
"
|
|
1423
|
-
"
|
|
1476
|
+
"skills",
|
|
1477
|
+
"update.js"
|
|
1424
1478
|
]
|
|
1425
1479
|
},
|
|
1426
|
-
"
|
|
1480
|
+
"teams:copy-layout": {
|
|
1427
1481
|
"aliases": [],
|
|
1428
1482
|
"args": {},
|
|
1429
|
-
"description": "
|
|
1483
|
+
"description": "Copy a team's whole layout onto another team of the same project.",
|
|
1430
1484
|
"flags": {
|
|
1431
|
-
"
|
|
1432
|
-
"char": "
|
|
1433
|
-
"description": "
|
|
1434
|
-
"name": "
|
|
1485
|
+
"from": {
|
|
1486
|
+
"char": "f",
|
|
1487
|
+
"description": "Name of the team to copy the layout from.",
|
|
1488
|
+
"name": "from",
|
|
1489
|
+
"required": true,
|
|
1490
|
+
"hasDynamicHelp": false,
|
|
1491
|
+
"multiple": false,
|
|
1492
|
+
"type": "option"
|
|
1493
|
+
},
|
|
1494
|
+
"to": {
|
|
1495
|
+
"char": "t",
|
|
1496
|
+
"description": "Name of the team to copy the layout to (its layout is overwritten).",
|
|
1497
|
+
"name": "to",
|
|
1435
1498
|
"required": true,
|
|
1436
1499
|
"hasDynamicHelp": false,
|
|
1437
1500
|
"multiple": false,
|
|
@@ -1445,18 +1508,16 @@
|
|
|
1445
1508
|
"multiple": false,
|
|
1446
1509
|
"type": "option"
|
|
1447
1510
|
},
|
|
1448
|
-
"
|
|
1449
|
-
"
|
|
1450
|
-
"
|
|
1451
|
-
"
|
|
1452
|
-
"
|
|
1453
|
-
"multiple": false,
|
|
1454
|
-
"type": "option"
|
|
1511
|
+
"force": {
|
|
1512
|
+
"description": "Skip the confirmation prompt.",
|
|
1513
|
+
"name": "force",
|
|
1514
|
+
"allowNo": false,
|
|
1515
|
+
"type": "boolean"
|
|
1455
1516
|
}
|
|
1456
1517
|
},
|
|
1457
1518
|
"hasDynamicHelp": false,
|
|
1458
1519
|
"hiddenAliases": [],
|
|
1459
|
-
"id": "
|
|
1520
|
+
"id": "teams:copy-layout",
|
|
1460
1521
|
"pluginAlias": "forest-cli",
|
|
1461
1522
|
"pluginName": "forest-cli",
|
|
1462
1523
|
"pluginType": "core",
|
|
@@ -1465,20 +1526,28 @@
|
|
|
1465
1526
|
"relativePath": [
|
|
1466
1527
|
"dist",
|
|
1467
1528
|
"commands",
|
|
1468
|
-
"
|
|
1469
|
-
"
|
|
1529
|
+
"teams",
|
|
1530
|
+
"copy-layout.js"
|
|
1470
1531
|
]
|
|
1471
1532
|
},
|
|
1472
|
-
"
|
|
1533
|
+
"teams:create": {
|
|
1473
1534
|
"aliases": [],
|
|
1474
1535
|
"args": {},
|
|
1475
|
-
"description": "
|
|
1536
|
+
"description": "Create a new team in a project.",
|
|
1476
1537
|
"flags": {
|
|
1477
|
-
"
|
|
1478
|
-
"char": "
|
|
1479
|
-
"description": "
|
|
1480
|
-
"name": "
|
|
1481
|
-
"required":
|
|
1538
|
+
"name": {
|
|
1539
|
+
"char": "n",
|
|
1540
|
+
"description": "Name of the team to create.",
|
|
1541
|
+
"name": "name",
|
|
1542
|
+
"required": true,
|
|
1543
|
+
"hasDynamicHelp": false,
|
|
1544
|
+
"multiple": false,
|
|
1545
|
+
"type": "option"
|
|
1546
|
+
},
|
|
1547
|
+
"projectId": {
|
|
1548
|
+
"char": "p",
|
|
1549
|
+
"description": "Forest project ID.",
|
|
1550
|
+
"name": "projectId",
|
|
1482
1551
|
"hasDynamicHelp": false,
|
|
1483
1552
|
"multiple": false,
|
|
1484
1553
|
"type": "option"
|
|
@@ -1486,7 +1555,7 @@
|
|
|
1486
1555
|
},
|
|
1487
1556
|
"hasDynamicHelp": false,
|
|
1488
1557
|
"hiddenAliases": [],
|
|
1489
|
-
"id": "
|
|
1558
|
+
"id": "teams:create",
|
|
1490
1559
|
"pluginAlias": "forest-cli",
|
|
1491
1560
|
"pluginName": "forest-cli",
|
|
1492
1561
|
"pluginType": "core",
|
|
@@ -1495,36 +1564,42 @@
|
|
|
1495
1564
|
"relativePath": [
|
|
1496
1565
|
"dist",
|
|
1497
1566
|
"commands",
|
|
1498
|
-
"
|
|
1499
|
-
"
|
|
1567
|
+
"teams",
|
|
1568
|
+
"create.js"
|
|
1500
1569
|
]
|
|
1501
1570
|
},
|
|
1502
|
-
"
|
|
1571
|
+
"teams:delete": {
|
|
1503
1572
|
"aliases": [],
|
|
1504
|
-
"args": {
|
|
1505
|
-
|
|
1506
|
-
"description": "ID of an environment to compare.",
|
|
1507
|
-
"name": "environmentIdFrom",
|
|
1508
|
-
"required": true
|
|
1509
|
-
},
|
|
1510
|
-
"environmentIdTo": {
|
|
1511
|
-
"description": "ID of an environment to compare.",
|
|
1512
|
-
"name": "environmentIdTo",
|
|
1513
|
-
"required": true
|
|
1514
|
-
}
|
|
1515
|
-
},
|
|
1516
|
-
"description": "Allow to compare two environment schemas",
|
|
1573
|
+
"args": {},
|
|
1574
|
+
"description": "Delete a team from a project.",
|
|
1517
1575
|
"flags": {
|
|
1518
|
-
"
|
|
1519
|
-
"
|
|
1520
|
-
"
|
|
1576
|
+
"name": {
|
|
1577
|
+
"char": "n",
|
|
1578
|
+
"description": "Name of the team to delete.",
|
|
1579
|
+
"name": "name",
|
|
1580
|
+
"required": true,
|
|
1581
|
+
"hasDynamicHelp": false,
|
|
1582
|
+
"multiple": false,
|
|
1583
|
+
"type": "option"
|
|
1584
|
+
},
|
|
1585
|
+
"projectId": {
|
|
1586
|
+
"char": "p",
|
|
1587
|
+
"description": "Forest project ID.",
|
|
1588
|
+
"name": "projectId",
|
|
1589
|
+
"hasDynamicHelp": false,
|
|
1590
|
+
"multiple": false,
|
|
1591
|
+
"type": "option"
|
|
1592
|
+
},
|
|
1593
|
+
"force": {
|
|
1594
|
+
"description": "Skip the confirmation prompt.",
|
|
1595
|
+
"name": "force",
|
|
1521
1596
|
"allowNo": false,
|
|
1522
1597
|
"type": "boolean"
|
|
1523
1598
|
}
|
|
1524
1599
|
},
|
|
1525
1600
|
"hasDynamicHelp": false,
|
|
1526
1601
|
"hiddenAliases": [],
|
|
1527
|
-
"id": "
|
|
1602
|
+
"id": "teams:delete",
|
|
1528
1603
|
"pluginAlias": "forest-cli",
|
|
1529
1604
|
"pluginName": "forest-cli",
|
|
1530
1605
|
"pluginType": "core",
|
|
@@ -1533,34 +1608,41 @@
|
|
|
1533
1608
|
"relativePath": [
|
|
1534
1609
|
"dist",
|
|
1535
1610
|
"commands",
|
|
1536
|
-
"
|
|
1537
|
-
"
|
|
1611
|
+
"teams",
|
|
1612
|
+
"delete.js"
|
|
1538
1613
|
]
|
|
1539
1614
|
},
|
|
1540
|
-
"
|
|
1615
|
+
"roles:apply": {
|
|
1541
1616
|
"aliases": [],
|
|
1542
|
-
"args": {
|
|
1543
|
-
|
|
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.",
|
|
1544
1625
|
"flags": {
|
|
1545
|
-
"
|
|
1546
|
-
"char": "
|
|
1547
|
-
"
|
|
1548
|
-
"
|
|
1549
|
-
"
|
|
1550
|
-
"name": "config",
|
|
1551
|
-
"required": false,
|
|
1552
|
-
"default": "config/databases.js",
|
|
1626
|
+
"env": {
|
|
1627
|
+
"char": "e",
|
|
1628
|
+
"description": "Environment name to apply to.",
|
|
1629
|
+
"name": "env",
|
|
1630
|
+
"required": true,
|
|
1553
1631
|
"hasDynamicHelp": false,
|
|
1554
1632
|
"multiple": false,
|
|
1555
1633
|
"type": "option"
|
|
1556
1634
|
},
|
|
1557
|
-
"
|
|
1558
|
-
"char": "
|
|
1559
|
-
"
|
|
1560
|
-
"
|
|
1561
|
-
"
|
|
1562
|
-
"
|
|
1563
|
-
|
|
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",
|
|
1564
1646
|
"hasDynamicHelp": false,
|
|
1565
1647
|
"multiple": false,
|
|
1566
1648
|
"type": "option"
|
|
@@ -1568,7 +1650,7 @@
|
|
|
1568
1650
|
},
|
|
1569
1651
|
"hasDynamicHelp": false,
|
|
1570
1652
|
"hiddenAliases": [],
|
|
1571
|
-
"id": "
|
|
1653
|
+
"id": "roles:apply",
|
|
1572
1654
|
"pluginAlias": "forest-cli",
|
|
1573
1655
|
"pluginName": "forest-cli",
|
|
1574
1656
|
"pluginType": "core",
|
|
@@ -1577,18 +1659,18 @@
|
|
|
1577
1659
|
"relativePath": [
|
|
1578
1660
|
"dist",
|
|
1579
1661
|
"commands",
|
|
1580
|
-
"
|
|
1581
|
-
"
|
|
1662
|
+
"roles",
|
|
1663
|
+
"apply.js"
|
|
1582
1664
|
]
|
|
1583
1665
|
},
|
|
1584
|
-
"
|
|
1666
|
+
"roles:copy": {
|
|
1585
1667
|
"aliases": [],
|
|
1586
1668
|
"args": {},
|
|
1587
|
-
"description": "Copy
|
|
1669
|
+
"description": "Copy role permissions from one environment to another.",
|
|
1588
1670
|
"flags": {
|
|
1589
1671
|
"from": {
|
|
1590
1672
|
"char": "f",
|
|
1591
|
-
"description": "
|
|
1673
|
+
"description": "Source environment name.",
|
|
1592
1674
|
"name": "from",
|
|
1593
1675
|
"required": true,
|
|
1594
1676
|
"hasDynamicHelp": false,
|
|
@@ -1597,7 +1679,7 @@
|
|
|
1597
1679
|
},
|
|
1598
1680
|
"to": {
|
|
1599
1681
|
"char": "t",
|
|
1600
|
-
"description": "
|
|
1682
|
+
"description": "Destination environment name.",
|
|
1601
1683
|
"name": "to",
|
|
1602
1684
|
"required": true,
|
|
1603
1685
|
"hasDynamicHelp": false,
|
|
@@ -1611,17 +1693,11 @@
|
|
|
1611
1693
|
"hasDynamicHelp": false,
|
|
1612
1694
|
"multiple": false,
|
|
1613
1695
|
"type": "option"
|
|
1614
|
-
},
|
|
1615
|
-
"force": {
|
|
1616
|
-
"description": "Skip the confirmation prompt.",
|
|
1617
|
-
"name": "force",
|
|
1618
|
-
"allowNo": false,
|
|
1619
|
-
"type": "boolean"
|
|
1620
1696
|
}
|
|
1621
1697
|
},
|
|
1622
1698
|
"hasDynamicHelp": false,
|
|
1623
1699
|
"hiddenAliases": [],
|
|
1624
|
-
"id": "
|
|
1700
|
+
"id": "roles:copy",
|
|
1625
1701
|
"pluginAlias": "forest-cli",
|
|
1626
1702
|
"pluginName": "forest-cli",
|
|
1627
1703
|
"pluginType": "core",
|
|
@@ -1630,18 +1706,18 @@
|
|
|
1630
1706
|
"relativePath": [
|
|
1631
1707
|
"dist",
|
|
1632
1708
|
"commands",
|
|
1633
|
-
"
|
|
1634
|
-
"copy
|
|
1709
|
+
"roles",
|
|
1710
|
+
"copy.js"
|
|
1635
1711
|
]
|
|
1636
1712
|
},
|
|
1637
|
-
"
|
|
1713
|
+
"roles:create": {
|
|
1638
1714
|
"aliases": [],
|
|
1639
1715
|
"args": {},
|
|
1640
|
-
"description": "Create a new
|
|
1716
|
+
"description": "Create a new role in a project.",
|
|
1641
1717
|
"flags": {
|
|
1642
1718
|
"name": {
|
|
1643
1719
|
"char": "n",
|
|
1644
|
-
"description": "Name of the
|
|
1720
|
+
"description": "Name of the role to create.",
|
|
1645
1721
|
"name": "name",
|
|
1646
1722
|
"required": true,
|
|
1647
1723
|
"hasDynamicHelp": false,
|
|
@@ -1659,7 +1735,7 @@
|
|
|
1659
1735
|
},
|
|
1660
1736
|
"hasDynamicHelp": false,
|
|
1661
1737
|
"hiddenAliases": [],
|
|
1662
|
-
"id": "
|
|
1738
|
+
"id": "roles:create",
|
|
1663
1739
|
"pluginAlias": "forest-cli",
|
|
1664
1740
|
"pluginName": "forest-cli",
|
|
1665
1741
|
"pluginType": "core",
|
|
@@ -1668,19 +1744,19 @@
|
|
|
1668
1744
|
"relativePath": [
|
|
1669
1745
|
"dist",
|
|
1670
1746
|
"commands",
|
|
1671
|
-
"
|
|
1747
|
+
"roles",
|
|
1672
1748
|
"create.js"
|
|
1673
1749
|
]
|
|
1674
1750
|
},
|
|
1675
|
-
"
|
|
1751
|
+
"roles:export": {
|
|
1676
1752
|
"aliases": [],
|
|
1677
1753
|
"args": {},
|
|
1678
|
-
"description": "
|
|
1754
|
+
"description": "Export all roles and their permissions to a wide CSV file.",
|
|
1679
1755
|
"flags": {
|
|
1680
|
-
"
|
|
1681
|
-
"char": "
|
|
1682
|
-
"description": "
|
|
1683
|
-
"name": "
|
|
1756
|
+
"env": {
|
|
1757
|
+
"char": "e",
|
|
1758
|
+
"description": "Environment name to export permissions for.",
|
|
1759
|
+
"name": "env",
|
|
1684
1760
|
"required": true,
|
|
1685
1761
|
"hasDynamicHelp": false,
|
|
1686
1762
|
"multiple": false,
|
|
@@ -1694,16 +1770,18 @@
|
|
|
1694
1770
|
"multiple": false,
|
|
1695
1771
|
"type": "option"
|
|
1696
1772
|
},
|
|
1697
|
-
"
|
|
1698
|
-
"
|
|
1699
|
-
"
|
|
1700
|
-
"
|
|
1701
|
-
"
|
|
1773
|
+
"output": {
|
|
1774
|
+
"char": "o",
|
|
1775
|
+
"description": "Output file path (default: stdout).",
|
|
1776
|
+
"name": "output",
|
|
1777
|
+
"hasDynamicHelp": false,
|
|
1778
|
+
"multiple": false,
|
|
1779
|
+
"type": "option"
|
|
1702
1780
|
}
|
|
1703
1781
|
},
|
|
1704
1782
|
"hasDynamicHelp": false,
|
|
1705
1783
|
"hiddenAliases": [],
|
|
1706
|
-
"id": "
|
|
1784
|
+
"id": "roles:export",
|
|
1707
1785
|
"pluginAlias": "forest-cli",
|
|
1708
1786
|
"pluginName": "forest-cli",
|
|
1709
1787
|
"pluginType": "core",
|
|
@@ -1712,8 +1790,8 @@
|
|
|
1712
1790
|
"relativePath": [
|
|
1713
1791
|
"dist",
|
|
1714
1792
|
"commands",
|
|
1715
|
-
"
|
|
1716
|
-
"
|
|
1793
|
+
"roles",
|
|
1794
|
+
"export.js"
|
|
1717
1795
|
]
|
|
1718
1796
|
},
|
|
1719
1797
|
"users:edit": {
|
|
@@ -3658,5 +3736,5 @@
|
|
|
3658
3736
|
]
|
|
3659
3737
|
}
|
|
3660
3738
|
},
|
|
3661
|
-
"version": "5.
|
|
3739
|
+
"version": "5.24.0"
|
|
3662
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.
|
|
4
|
+
"version": "5.24.0",
|
|
5
5
|
"author": "Sandro Munda",
|
|
6
6
|
"contributors": [
|
|
7
7
|
"Arnaud Valensi <arnaud.valensi@gmail.com>",
|
|
@@ -51,6 +51,7 @@
|
|
|
51
51
|
"spinnies": "0.5.1",
|
|
52
52
|
"stdout-stderr": "0.1.13",
|
|
53
53
|
"superagent": "^10.3.0",
|
|
54
|
+
"tar": "^7.5.9",
|
|
54
55
|
"tedious": "18.6.1",
|
|
55
56
|
"uuid": "^11.1.1",
|
|
56
57
|
"validate-npm-package-name": "3.0.0"
|