Merge pull request #32583 from Believe-SA/commander-14
chore: update dependency commander to v14
This commit is contained in:
@@ -39,7 +39,7 @@ Options:
|
||||
--source-dir <PATH>
|
||||
--techdocs-ref <HOST_TYPE:URL>
|
||||
-h, --help
|
||||
-v --verbose
|
||||
-v, --verbose
|
||||
```
|
||||
|
||||
### `techdocs-cli migrate`
|
||||
@@ -62,7 +62,7 @@ Options:
|
||||
--removeOriginal
|
||||
--storage-name <BUCKET/CONTAINER NAME>
|
||||
-h, --help
|
||||
-v --verbose
|
||||
-v, --verbose
|
||||
```
|
||||
|
||||
### `techdocs-cli publish`
|
||||
@@ -112,7 +112,7 @@ Options:
|
||||
-c, --mkdocs-config-file-name <FILENAME>
|
||||
-h, --help
|
||||
-i, --docker-image <DOCKER_IMAGE>
|
||||
-v --verbose
|
||||
-v, --verbose
|
||||
```
|
||||
|
||||
### `techdocs-cli serve:mkdocs`
|
||||
@@ -128,5 +128,5 @@ Options:
|
||||
-h, --help
|
||||
-i, --docker-image <DOCKER_IMAGE>
|
||||
-p, --port <PORT>
|
||||
-v --verbose
|
||||
-v, --verbose
|
||||
```
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
"@backstage/cli-common": "workspace:^",
|
||||
"@backstage/config": "workspace:^",
|
||||
"@backstage/plugin-techdocs-node": "workspace:^",
|
||||
"commander": "^12.0.0",
|
||||
"commander": "^14.0.3",
|
||||
"fs-extra": "^11.0.0",
|
||||
"global-agent": "^3.0.0",
|
||||
"http-proxy": "^1.18.1",
|
||||
@@ -59,7 +59,6 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@backstage/cli": "workspace:^",
|
||||
"@types/commander": "^2.12.2",
|
||||
"@types/fs-extra": "^11.0.0",
|
||||
"@types/http-proxy": "^1.17.4",
|
||||
"@types/node": "^22.13.14",
|
||||
|
||||
@@ -59,7 +59,7 @@ export function registerCommands(program: Command) {
|
||||
'Name for site when using default MkDocs config',
|
||||
'Documentation Site',
|
||||
)
|
||||
.option('-v --verbose', 'Enable verbose output.', false)
|
||||
.option('-v, --verbose', 'Enable verbose output.', false)
|
||||
.option(
|
||||
'--omitTechdocsCoreMkdocsPlugin',
|
||||
"Don't patch MkDocs file automatically with techdocs-core plugin.",
|
||||
@@ -142,7 +142,7 @@ export function registerCommands(program: Command) {
|
||||
'Optional Controls the number of API requests allowed to be performed simultaneously.',
|
||||
'25',
|
||||
)
|
||||
.option('-v --verbose', 'Enable verbose output.', false)
|
||||
.option('-v, --verbose', 'Enable verbose output.', false)
|
||||
.action(lazy(() => import('./migrate/migrate'), 'default'));
|
||||
|
||||
program
|
||||
@@ -253,7 +253,7 @@ export function registerCommands(program: Command) {
|
||||
'Documentation Site',
|
||||
)
|
||||
.option('-p, --port <PORT>', 'Port to serve documentation locally', '8000')
|
||||
.option('-v --verbose', 'Enable verbose output.', false)
|
||||
.option('-v, --verbose', 'Enable verbose output.', false)
|
||||
.action(lazy(() => import('./serve/mkdocs'), 'default'));
|
||||
|
||||
program
|
||||
@@ -284,7 +284,7 @@ export function registerCommands(program: Command) {
|
||||
'Documentation Site',
|
||||
)
|
||||
.option('--mkdocs-port <PORT>', 'Port for MkDocs server to use', '8000')
|
||||
.option('-v --verbose', 'Enable verbose output.', false)
|
||||
.option('-v, --verbose', 'Enable verbose output.', false)
|
||||
.option(
|
||||
'--preview-app-bundle-path <PATH_TO_BUNDLE>',
|
||||
'Preview documentation using another web app',
|
||||
|
||||
Reference in New Issue
Block a user