Generate CLI reports for cli-module packages

Include cli-module role in CLI report generation alongside the
existing cli role. Packages without a bin field are silently skipped.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
This commit is contained in:
Patrik Oldsberg
2026-03-15 23:12:59 +01:00
parent 55f6eb8c64
commit 6395e35c6a
13 changed files with 906 additions and 3 deletions
+156
View File
@@ -0,0 +1,156 @@
## CLI Report file for "@backstage/cli-module-build"
> Do not edit this file. It is a report generated by `yarn build:api-reports`
### `cli-module-build`
```
Usage: @backstage/cli-module-build [options] [command]
Options:
-V, --version
-h, --help
Commands:
build-workspace
help [command]
package [command]
repo [command]
```
### `cli-module-build build-workspace`
```
Usage: @backstage/cli-module-build build-workspace <workspace-dir> [packages...]
Options:
--always-pack
-h, --help
```
### `cli-module-build package`
```
Usage: @backstage/cli-module-build package [options] [command] [command]
Options:
-h, --help
Commands:
build
clean
help [command]
postpack
prepack
start
```
### `cli-module-build package build`
```
Usage: @backstage/cli-module-build package build
Options:
--config <string>
--minify
--module-federation
--role <string>
--skip-build-dependencies
--stats
-h, --help
```
### `cli-module-build package clean`
```
Usage: @backstage/cli-module-build package clean
Options:
-h, --help
```
### `cli-module-build package postpack`
```
Usage: @backstage/cli-module-build package postpack
Options:
-h, --help
```
### `cli-module-build package prepack`
```
Usage: @backstage/cli-module-build package prepack
Options:
-h, --help
```
### `cli-module-build package start`
```
Usage: @backstage/cli-module-build package start
Options:
--check
--config <string>
--entrypoint <string>
--inspect <string>
--inspect-brk <string>
--link <string>
--require <string>
--role <string>
-h, --help
```
### `cli-module-build repo`
```
Usage: @backstage/cli-module-build repo [options] [command] [command]
Options:
-h, --help
Commands:
build
clean
help [command]
start
```
### `cli-module-build repo build`
```
Usage: @backstage/cli-module-build repo build
Options:
--all
--minify
--since <string>
-h, --help
```
### `cli-module-build repo clean`
```
Usage: @backstage/cli-module-build repo clean
Options:
-h, --help
```
### `cli-module-build repo start`
```
Usage: @backstage/cli-module-build repo start [packages...]
Options:
--config <string>
--inspect <string>
--inspect-brk <string>
--link <string>
--plugin <string>
--require <string>
-h, --help
```