forest-cli 5.22.1 → 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/commands/start.d.ts +138 -0
- package/dist/commands/start.d.ts.map +1 -0
- package/dist/commands/start.js +925 -0
- package/dist/services/dumpers/templates/agent-nodejs/common/forest-layout.json +32 -0
- package/dist/services/onboarding/detect.d.ts +27 -0
- package/dist/services/onboarding/detect.d.ts.map +1 -0
- package/dist/services/onboarding/detect.js +75 -0
- package/dist/services/onboarding/env-file.d.ts +34 -0
- package/dist/services/onboarding/env-file.d.ts.map +1 -0
- package/dist/services/onboarding/env-file.js +129 -0
- package/dist/services/process-runner.d.ts +4 -2
- package/dist/services/process-runner.d.ts.map +1 -1
- package/dist/services/process-runner.js +4 -1
- 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 +325 -165
- package/package.json +2 -1
package/oclif.manifest.json
CHANGED
|
@@ -368,6 +368,88 @@
|
|
|
368
368
|
"set-origin.js"
|
|
369
369
|
]
|
|
370
370
|
},
|
|
371
|
+
"start": {
|
|
372
|
+
"aliases": [],
|
|
373
|
+
"args": {},
|
|
374
|
+
"description": "Set up Forest from scratch: log in, create a project, boot its back-end, and hand your coding agent the skills to build on it.",
|
|
375
|
+
"flags": {
|
|
376
|
+
"dry-run": {
|
|
377
|
+
"description": "Print every command instead of running it — to review the flow.",
|
|
378
|
+
"name": "dry-run",
|
|
379
|
+
"allowNo": false,
|
|
380
|
+
"type": "boolean"
|
|
381
|
+
},
|
|
382
|
+
"flow": {
|
|
383
|
+
"description": "Skip the first question. Without it, a non-interactive run defaults to demo.",
|
|
384
|
+
"name": "flow",
|
|
385
|
+
"hasDynamicHelp": false,
|
|
386
|
+
"multiple": false,
|
|
387
|
+
"options": [
|
|
388
|
+
"demo",
|
|
389
|
+
"standalone",
|
|
390
|
+
"inapp"
|
|
391
|
+
],
|
|
392
|
+
"type": "option"
|
|
393
|
+
},
|
|
394
|
+
"stack": {
|
|
395
|
+
"description": "In-app stack.",
|
|
396
|
+
"name": "stack",
|
|
397
|
+
"hasDynamicHelp": false,
|
|
398
|
+
"multiple": false,
|
|
399
|
+
"options": [
|
|
400
|
+
"rails",
|
|
401
|
+
"node"
|
|
402
|
+
],
|
|
403
|
+
"type": "option"
|
|
404
|
+
},
|
|
405
|
+
"name": {
|
|
406
|
+
"description": "Project name (skips the prompt).",
|
|
407
|
+
"name": "name",
|
|
408
|
+
"hasDynamicHelp": false,
|
|
409
|
+
"multiple": false,
|
|
410
|
+
"type": "option"
|
|
411
|
+
},
|
|
412
|
+
"db": {
|
|
413
|
+
"description": "Database connection URL (skips the database prompts).",
|
|
414
|
+
"name": "db",
|
|
415
|
+
"hasDynamicHelp": false,
|
|
416
|
+
"multiple": false,
|
|
417
|
+
"type": "option"
|
|
418
|
+
},
|
|
419
|
+
"schema": {
|
|
420
|
+
"description": "Database schema, with --db (default: public).",
|
|
421
|
+
"name": "schema",
|
|
422
|
+
"hasDynamicHelp": false,
|
|
423
|
+
"multiple": false,
|
|
424
|
+
"type": "option"
|
|
425
|
+
},
|
|
426
|
+
"mount": {
|
|
427
|
+
"description": "How to mount Forest in a Node app.",
|
|
428
|
+
"name": "mount",
|
|
429
|
+
"hasDynamicHelp": false,
|
|
430
|
+
"multiple": false,
|
|
431
|
+
"options": [
|
|
432
|
+
"ai",
|
|
433
|
+
"manual",
|
|
434
|
+
"standalone"
|
|
435
|
+
],
|
|
436
|
+
"type": "option"
|
|
437
|
+
}
|
|
438
|
+
},
|
|
439
|
+
"hasDynamicHelp": false,
|
|
440
|
+
"hiddenAliases": [],
|
|
441
|
+
"id": "start",
|
|
442
|
+
"pluginAlias": "forest-cli",
|
|
443
|
+
"pluginName": "forest-cli",
|
|
444
|
+
"pluginType": "core",
|
|
445
|
+
"strict": true,
|
|
446
|
+
"isESM": false,
|
|
447
|
+
"relativePath": [
|
|
448
|
+
"dist",
|
|
449
|
+
"commands",
|
|
450
|
+
"start.js"
|
|
451
|
+
]
|
|
452
|
+
},
|
|
371
453
|
"switch": {
|
|
372
454
|
"aliases": [
|
|
373
455
|
"branch:switch"
|
|
@@ -1205,37 +1287,98 @@
|
|
|
1205
1287
|
"get.js"
|
|
1206
1288
|
]
|
|
1207
1289
|
},
|
|
1208
|
-
"
|
|
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": {
|
|
1209
1321
|
"aliases": [],
|
|
1210
1322
|
"args": {
|
|
1211
|
-
"
|
|
1212
|
-
"description": "
|
|
1213
|
-
"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",
|
|
1214
1331
|
"required": true
|
|
1215
1332
|
}
|
|
1216
1333
|
},
|
|
1217
|
-
"description": "
|
|
1334
|
+
"description": "Allow to compare two environment schemas",
|
|
1218
1335
|
"flags": {
|
|
1219
|
-
"
|
|
1220
|
-
"
|
|
1221
|
-
"
|
|
1222
|
-
"
|
|
1223
|
-
"
|
|
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",
|
|
1224
1371
|
"hasDynamicHelp": false,
|
|
1225
1372
|
"multiple": false,
|
|
1226
1373
|
"type": "option"
|
|
1227
1374
|
},
|
|
1228
|
-
"
|
|
1229
|
-
"char": "
|
|
1230
|
-
"
|
|
1231
|
-
"
|
|
1232
|
-
"
|
|
1233
|
-
"
|
|
1234
|
-
|
|
1235
|
-
"projectId": {
|
|
1236
|
-
"char": "p",
|
|
1237
|
-
"description": "Forest project ID.",
|
|
1238
|
-
"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,
|
|
1239
1382
|
"hasDynamicHelp": false,
|
|
1240
1383
|
"multiple": false,
|
|
1241
1384
|
"type": "option"
|
|
@@ -1243,7 +1386,7 @@
|
|
|
1243
1386
|
},
|
|
1244
1387
|
"hasDynamicHelp": false,
|
|
1245
1388
|
"hiddenAliases": [],
|
|
1246
|
-
"id": "
|
|
1389
|
+
"id": "schema:update",
|
|
1247
1390
|
"pluginAlias": "forest-cli",
|
|
1248
1391
|
"pluginName": "forest-cli",
|
|
1249
1392
|
"pluginType": "core",
|
|
@@ -1252,45 +1395,47 @@
|
|
|
1252
1395
|
"relativePath": [
|
|
1253
1396
|
"dist",
|
|
1254
1397
|
"commands",
|
|
1255
|
-
"
|
|
1256
|
-
"
|
|
1398
|
+
"schema",
|
|
1399
|
+
"update.js"
|
|
1257
1400
|
]
|
|
1258
1401
|
},
|
|
1259
|
-
"
|
|
1402
|
+
"skills:init": {
|
|
1260
1403
|
"aliases": [],
|
|
1261
1404
|
"args": {},
|
|
1262
|
-
"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, …).",
|
|
1263
1406
|
"flags": {
|
|
1264
|
-
"
|
|
1265
|
-
"
|
|
1266
|
-
"
|
|
1267
|
-
"name": "from",
|
|
1268
|
-
"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",
|
|
1269
1410
|
"hasDynamicHelp": false,
|
|
1270
|
-
"multiple":
|
|
1411
|
+
"multiple": true,
|
|
1412
|
+
"options": [
|
|
1413
|
+
"claude",
|
|
1414
|
+
"codex",
|
|
1415
|
+
"cursor",
|
|
1416
|
+
"opencode",
|
|
1417
|
+
"other"
|
|
1418
|
+
],
|
|
1271
1419
|
"type": "option"
|
|
1272
1420
|
},
|
|
1273
|
-
"
|
|
1274
|
-
"
|
|
1275
|
-
"
|
|
1276
|
-
"
|
|
1277
|
-
"required": true,
|
|
1421
|
+
"ref": {
|
|
1422
|
+
"description": "Marketplace version (git ref).",
|
|
1423
|
+
"name": "ref",
|
|
1424
|
+
"default": "main",
|
|
1278
1425
|
"hasDynamicHelp": false,
|
|
1279
1426
|
"multiple": false,
|
|
1280
1427
|
"type": "option"
|
|
1281
1428
|
},
|
|
1282
|
-
"
|
|
1283
|
-
"
|
|
1284
|
-
"
|
|
1285
|
-
"
|
|
1286
|
-
"
|
|
1287
|
-
"multiple": false,
|
|
1288
|
-
"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"
|
|
1289
1434
|
}
|
|
1290
1435
|
},
|
|
1291
1436
|
"hasDynamicHelp": false,
|
|
1292
1437
|
"hiddenAliases": [],
|
|
1293
|
-
"id": "
|
|
1438
|
+
"id": "skills:init",
|
|
1294
1439
|
"pluginAlias": "forest-cli",
|
|
1295
1440
|
"pluginName": "forest-cli",
|
|
1296
1441
|
"pluginType": "core",
|
|
@@ -1299,28 +1444,19 @@
|
|
|
1299
1444
|
"relativePath": [
|
|
1300
1445
|
"dist",
|
|
1301
1446
|
"commands",
|
|
1302
|
-
"
|
|
1303
|
-
"
|
|
1447
|
+
"skills",
|
|
1448
|
+
"init.js"
|
|
1304
1449
|
]
|
|
1305
1450
|
},
|
|
1306
|
-
"
|
|
1451
|
+
"skills:update": {
|
|
1307
1452
|
"aliases": [],
|
|
1308
1453
|
"args": {},
|
|
1309
|
-
"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.",
|
|
1310
1455
|
"flags": {
|
|
1311
|
-
"
|
|
1312
|
-
"
|
|
1313
|
-
"
|
|
1314
|
-
"
|
|
1315
|
-
"required": true,
|
|
1316
|
-
"hasDynamicHelp": false,
|
|
1317
|
-
"multiple": false,
|
|
1318
|
-
"type": "option"
|
|
1319
|
-
},
|
|
1320
|
-
"projectId": {
|
|
1321
|
-
"char": "p",
|
|
1322
|
-
"description": "Forest project ID.",
|
|
1323
|
-
"name": "projectId",
|
|
1456
|
+
"ref": {
|
|
1457
|
+
"description": "Marketplace version (git ref).",
|
|
1458
|
+
"name": "ref",
|
|
1459
|
+
"default": "main",
|
|
1324
1460
|
"hasDynamicHelp": false,
|
|
1325
1461
|
"multiple": false,
|
|
1326
1462
|
"type": "option"
|
|
@@ -1328,7 +1464,7 @@
|
|
|
1328
1464
|
},
|
|
1329
1465
|
"hasDynamicHelp": false,
|
|
1330
1466
|
"hiddenAliases": [],
|
|
1331
|
-
"id": "
|
|
1467
|
+
"id": "skills:update",
|
|
1332
1468
|
"pluginAlias": "forest-cli",
|
|
1333
1469
|
"pluginName": "forest-cli",
|
|
1334
1470
|
"pluginType": "core",
|
|
@@ -1337,19 +1473,28 @@
|
|
|
1337
1473
|
"relativePath": [
|
|
1338
1474
|
"dist",
|
|
1339
1475
|
"commands",
|
|
1340
|
-
"
|
|
1341
|
-
"
|
|
1476
|
+
"skills",
|
|
1477
|
+
"update.js"
|
|
1342
1478
|
]
|
|
1343
1479
|
},
|
|
1344
|
-
"
|
|
1480
|
+
"teams:copy-layout": {
|
|
1345
1481
|
"aliases": [],
|
|
1346
1482
|
"args": {},
|
|
1347
|
-
"description": "
|
|
1483
|
+
"description": "Copy a team's whole layout onto another team of the same project.",
|
|
1348
1484
|
"flags": {
|
|
1349
|
-
"
|
|
1350
|
-
"char": "
|
|
1351
|
-
"description": "
|
|
1352
|
-
"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",
|
|
1353
1498
|
"required": true,
|
|
1354
1499
|
"hasDynamicHelp": false,
|
|
1355
1500
|
"multiple": false,
|
|
@@ -1363,18 +1508,16 @@
|
|
|
1363
1508
|
"multiple": false,
|
|
1364
1509
|
"type": "option"
|
|
1365
1510
|
},
|
|
1366
|
-
"
|
|
1367
|
-
"
|
|
1368
|
-
"
|
|
1369
|
-
"
|
|
1370
|
-
"
|
|
1371
|
-
"multiple": false,
|
|
1372
|
-
"type": "option"
|
|
1511
|
+
"force": {
|
|
1512
|
+
"description": "Skip the confirmation prompt.",
|
|
1513
|
+
"name": "force",
|
|
1514
|
+
"allowNo": false,
|
|
1515
|
+
"type": "boolean"
|
|
1373
1516
|
}
|
|
1374
1517
|
},
|
|
1375
1518
|
"hasDynamicHelp": false,
|
|
1376
1519
|
"hiddenAliases": [],
|
|
1377
|
-
"id": "
|
|
1520
|
+
"id": "teams:copy-layout",
|
|
1378
1521
|
"pluginAlias": "forest-cli",
|
|
1379
1522
|
"pluginName": "forest-cli",
|
|
1380
1523
|
"pluginType": "core",
|
|
@@ -1383,20 +1526,28 @@
|
|
|
1383
1526
|
"relativePath": [
|
|
1384
1527
|
"dist",
|
|
1385
1528
|
"commands",
|
|
1386
|
-
"
|
|
1387
|
-
"
|
|
1529
|
+
"teams",
|
|
1530
|
+
"copy-layout.js"
|
|
1388
1531
|
]
|
|
1389
1532
|
},
|
|
1390
|
-
"
|
|
1533
|
+
"teams:create": {
|
|
1391
1534
|
"aliases": [],
|
|
1392
1535
|
"args": {},
|
|
1393
|
-
"description": "
|
|
1536
|
+
"description": "Create a new team in a project.",
|
|
1394
1537
|
"flags": {
|
|
1395
|
-
"
|
|
1396
|
-
"char": "
|
|
1397
|
-
"description": "
|
|
1398
|
-
"name": "
|
|
1399
|
-
"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",
|
|
1400
1551
|
"hasDynamicHelp": false,
|
|
1401
1552
|
"multiple": false,
|
|
1402
1553
|
"type": "option"
|
|
@@ -1404,7 +1555,7 @@
|
|
|
1404
1555
|
},
|
|
1405
1556
|
"hasDynamicHelp": false,
|
|
1406
1557
|
"hiddenAliases": [],
|
|
1407
|
-
"id": "
|
|
1558
|
+
"id": "teams:create",
|
|
1408
1559
|
"pluginAlias": "forest-cli",
|
|
1409
1560
|
"pluginName": "forest-cli",
|
|
1410
1561
|
"pluginType": "core",
|
|
@@ -1413,36 +1564,42 @@
|
|
|
1413
1564
|
"relativePath": [
|
|
1414
1565
|
"dist",
|
|
1415
1566
|
"commands",
|
|
1416
|
-
"
|
|
1417
|
-
"
|
|
1567
|
+
"teams",
|
|
1568
|
+
"create.js"
|
|
1418
1569
|
]
|
|
1419
1570
|
},
|
|
1420
|
-
"
|
|
1571
|
+
"teams:delete": {
|
|
1421
1572
|
"aliases": [],
|
|
1422
|
-
"args": {
|
|
1423
|
-
|
|
1424
|
-
"description": "ID of an environment to compare.",
|
|
1425
|
-
"name": "environmentIdFrom",
|
|
1426
|
-
"required": true
|
|
1427
|
-
},
|
|
1428
|
-
"environmentIdTo": {
|
|
1429
|
-
"description": "ID of an environment to compare.",
|
|
1430
|
-
"name": "environmentIdTo",
|
|
1431
|
-
"required": true
|
|
1432
|
-
}
|
|
1433
|
-
},
|
|
1434
|
-
"description": "Allow to compare two environment schemas",
|
|
1573
|
+
"args": {},
|
|
1574
|
+
"description": "Delete a team from a project.",
|
|
1435
1575
|
"flags": {
|
|
1436
|
-
"
|
|
1437
|
-
"
|
|
1438
|
-
"
|
|
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",
|
|
1439
1596
|
"allowNo": false,
|
|
1440
1597
|
"type": "boolean"
|
|
1441
1598
|
}
|
|
1442
1599
|
},
|
|
1443
1600
|
"hasDynamicHelp": false,
|
|
1444
1601
|
"hiddenAliases": [],
|
|
1445
|
-
"id": "
|
|
1602
|
+
"id": "teams:delete",
|
|
1446
1603
|
"pluginAlias": "forest-cli",
|
|
1447
1604
|
"pluginName": "forest-cli",
|
|
1448
1605
|
"pluginType": "core",
|
|
@@ -1451,34 +1608,41 @@
|
|
|
1451
1608
|
"relativePath": [
|
|
1452
1609
|
"dist",
|
|
1453
1610
|
"commands",
|
|
1454
|
-
"
|
|
1455
|
-
"
|
|
1611
|
+
"teams",
|
|
1612
|
+
"delete.js"
|
|
1456
1613
|
]
|
|
1457
1614
|
},
|
|
1458
|
-
"
|
|
1615
|
+
"roles:apply": {
|
|
1459
1616
|
"aliases": [],
|
|
1460
|
-
"args": {
|
|
1461
|
-
|
|
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.",
|
|
1462
1625
|
"flags": {
|
|
1463
|
-
"
|
|
1464
|
-
"char": "
|
|
1465
|
-
"
|
|
1466
|
-
"
|
|
1467
|
-
"
|
|
1468
|
-
"name": "config",
|
|
1469
|
-
"required": false,
|
|
1470
|
-
"default": "config/databases.js",
|
|
1626
|
+
"env": {
|
|
1627
|
+
"char": "e",
|
|
1628
|
+
"description": "Environment name to apply to.",
|
|
1629
|
+
"name": "env",
|
|
1630
|
+
"required": true,
|
|
1471
1631
|
"hasDynamicHelp": false,
|
|
1472
1632
|
"multiple": false,
|
|
1473
1633
|
"type": "option"
|
|
1474
1634
|
},
|
|
1475
|
-
"
|
|
1476
|
-
"char": "
|
|
1477
|
-
"
|
|
1478
|
-
"
|
|
1479
|
-
"
|
|
1480
|
-
"
|
|
1481
|
-
|
|
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",
|
|
1482
1646
|
"hasDynamicHelp": false,
|
|
1483
1647
|
"multiple": false,
|
|
1484
1648
|
"type": "option"
|
|
@@ -1486,7 +1650,7 @@
|
|
|
1486
1650
|
},
|
|
1487
1651
|
"hasDynamicHelp": false,
|
|
1488
1652
|
"hiddenAliases": [],
|
|
1489
|
-
"id": "
|
|
1653
|
+
"id": "roles:apply",
|
|
1490
1654
|
"pluginAlias": "forest-cli",
|
|
1491
1655
|
"pluginName": "forest-cli",
|
|
1492
1656
|
"pluginType": "core",
|
|
@@ -1495,18 +1659,18 @@
|
|
|
1495
1659
|
"relativePath": [
|
|
1496
1660
|
"dist",
|
|
1497
1661
|
"commands",
|
|
1498
|
-
"
|
|
1499
|
-
"
|
|
1662
|
+
"roles",
|
|
1663
|
+
"apply.js"
|
|
1500
1664
|
]
|
|
1501
1665
|
},
|
|
1502
|
-
"
|
|
1666
|
+
"roles:copy": {
|
|
1503
1667
|
"aliases": [],
|
|
1504
1668
|
"args": {},
|
|
1505
|
-
"description": "Copy
|
|
1669
|
+
"description": "Copy role permissions from one environment to another.",
|
|
1506
1670
|
"flags": {
|
|
1507
1671
|
"from": {
|
|
1508
1672
|
"char": "f",
|
|
1509
|
-
"description": "
|
|
1673
|
+
"description": "Source environment name.",
|
|
1510
1674
|
"name": "from",
|
|
1511
1675
|
"required": true,
|
|
1512
1676
|
"hasDynamicHelp": false,
|
|
@@ -1515,7 +1679,7 @@
|
|
|
1515
1679
|
},
|
|
1516
1680
|
"to": {
|
|
1517
1681
|
"char": "t",
|
|
1518
|
-
"description": "
|
|
1682
|
+
"description": "Destination environment name.",
|
|
1519
1683
|
"name": "to",
|
|
1520
1684
|
"required": true,
|
|
1521
1685
|
"hasDynamicHelp": false,
|
|
@@ -1529,17 +1693,11 @@
|
|
|
1529
1693
|
"hasDynamicHelp": false,
|
|
1530
1694
|
"multiple": false,
|
|
1531
1695
|
"type": "option"
|
|
1532
|
-
},
|
|
1533
|
-
"force": {
|
|
1534
|
-
"description": "Skip the confirmation prompt.",
|
|
1535
|
-
"name": "force",
|
|
1536
|
-
"allowNo": false,
|
|
1537
|
-
"type": "boolean"
|
|
1538
1696
|
}
|
|
1539
1697
|
},
|
|
1540
1698
|
"hasDynamicHelp": false,
|
|
1541
1699
|
"hiddenAliases": [],
|
|
1542
|
-
"id": "
|
|
1700
|
+
"id": "roles:copy",
|
|
1543
1701
|
"pluginAlias": "forest-cli",
|
|
1544
1702
|
"pluginName": "forest-cli",
|
|
1545
1703
|
"pluginType": "core",
|
|
@@ -1548,18 +1706,18 @@
|
|
|
1548
1706
|
"relativePath": [
|
|
1549
1707
|
"dist",
|
|
1550
1708
|
"commands",
|
|
1551
|
-
"
|
|
1552
|
-
"copy
|
|
1709
|
+
"roles",
|
|
1710
|
+
"copy.js"
|
|
1553
1711
|
]
|
|
1554
1712
|
},
|
|
1555
|
-
"
|
|
1713
|
+
"roles:create": {
|
|
1556
1714
|
"aliases": [],
|
|
1557
1715
|
"args": {},
|
|
1558
|
-
"description": "Create a new
|
|
1716
|
+
"description": "Create a new role in a project.",
|
|
1559
1717
|
"flags": {
|
|
1560
1718
|
"name": {
|
|
1561
1719
|
"char": "n",
|
|
1562
|
-
"description": "Name of the
|
|
1720
|
+
"description": "Name of the role to create.",
|
|
1563
1721
|
"name": "name",
|
|
1564
1722
|
"required": true,
|
|
1565
1723
|
"hasDynamicHelp": false,
|
|
@@ -1577,7 +1735,7 @@
|
|
|
1577
1735
|
},
|
|
1578
1736
|
"hasDynamicHelp": false,
|
|
1579
1737
|
"hiddenAliases": [],
|
|
1580
|
-
"id": "
|
|
1738
|
+
"id": "roles:create",
|
|
1581
1739
|
"pluginAlias": "forest-cli",
|
|
1582
1740
|
"pluginName": "forest-cli",
|
|
1583
1741
|
"pluginType": "core",
|
|
@@ -1586,19 +1744,19 @@
|
|
|
1586
1744
|
"relativePath": [
|
|
1587
1745
|
"dist",
|
|
1588
1746
|
"commands",
|
|
1589
|
-
"
|
|
1747
|
+
"roles",
|
|
1590
1748
|
"create.js"
|
|
1591
1749
|
]
|
|
1592
1750
|
},
|
|
1593
|
-
"
|
|
1751
|
+
"roles:export": {
|
|
1594
1752
|
"aliases": [],
|
|
1595
1753
|
"args": {},
|
|
1596
|
-
"description": "
|
|
1754
|
+
"description": "Export all roles and their permissions to a wide CSV file.",
|
|
1597
1755
|
"flags": {
|
|
1598
|
-
"
|
|
1599
|
-
"char": "
|
|
1600
|
-
"description": "
|
|
1601
|
-
"name": "
|
|
1756
|
+
"env": {
|
|
1757
|
+
"char": "e",
|
|
1758
|
+
"description": "Environment name to export permissions for.",
|
|
1759
|
+
"name": "env",
|
|
1602
1760
|
"required": true,
|
|
1603
1761
|
"hasDynamicHelp": false,
|
|
1604
1762
|
"multiple": false,
|
|
@@ -1612,16 +1770,18 @@
|
|
|
1612
1770
|
"multiple": false,
|
|
1613
1771
|
"type": "option"
|
|
1614
1772
|
},
|
|
1615
|
-
"
|
|
1616
|
-
"
|
|
1617
|
-
"
|
|
1618
|
-
"
|
|
1619
|
-
"
|
|
1773
|
+
"output": {
|
|
1774
|
+
"char": "o",
|
|
1775
|
+
"description": "Output file path (default: stdout).",
|
|
1776
|
+
"name": "output",
|
|
1777
|
+
"hasDynamicHelp": false,
|
|
1778
|
+
"multiple": false,
|
|
1779
|
+
"type": "option"
|
|
1620
1780
|
}
|
|
1621
1781
|
},
|
|
1622
1782
|
"hasDynamicHelp": false,
|
|
1623
1783
|
"hiddenAliases": [],
|
|
1624
|
-
"id": "
|
|
1784
|
+
"id": "roles:export",
|
|
1625
1785
|
"pluginAlias": "forest-cli",
|
|
1626
1786
|
"pluginName": "forest-cli",
|
|
1627
1787
|
"pluginType": "core",
|
|
@@ -1630,8 +1790,8 @@
|
|
|
1630
1790
|
"relativePath": [
|
|
1631
1791
|
"dist",
|
|
1632
1792
|
"commands",
|
|
1633
|
-
"
|
|
1634
|
-
"
|
|
1793
|
+
"roles",
|
|
1794
|
+
"export.js"
|
|
1635
1795
|
]
|
|
1636
1796
|
},
|
|
1637
1797
|
"users:edit": {
|
|
@@ -3576,5 +3736,5 @@
|
|
|
3576
3736
|
]
|
|
3577
3737
|
}
|
|
3578
3738
|
},
|
|
3579
|
-
"version": "5.
|
|
3739
|
+
"version": "5.24.0"
|
|
3580
3740
|
}
|