Add runCliModule helper for standalone module execution

Add a public `runCliModule` function to `@backstage/cli-node` that
allows CLI module packages to be executed directly as standalone
programs, without needing to be wired into a larger CLI host.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
This commit is contained in:
Patrik Oldsberg
2026-03-13 15:40:15 +01:00
parent a151ad0814
commit c95a130f52
5 changed files with 245 additions and 1 deletions
+2
View File
@@ -37,6 +37,8 @@
"@manypkg/get-packages": "^1.1.3",
"@yarnpkg/lockfile": "^1.1.0",
"@yarnpkg/parsers": "^3.0.0",
"chalk": "^4.0.0",
"commander": "^12.0.0",
"fs-extra": "^11.2.0",
"semver": "^7.5.3",
"yaml": "^2.0.0",