chore: update dependency commander to v14, remove old @types/commander

Signed-off-by: Gabriel Dugny <gabriel.dugny@believe.com>
This commit is contained in:
Gabriel Dugny
2026-01-13 00:49:02 +01:00
parent c8f65a1e53
commit de62a9d322
14 changed files with 52 additions and 41 deletions
+4 -4
View File
@@ -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',