33/**
44 * Extract command CLI registration
55 * Commander subcommand with --resource-group, --service-name, --output,
6- * --filter, --no-transitive, --spec-format flags.
6+ * --filter, --no-transitive flags.
77 * Includes --format json: machine-readable JSON output mode.
88 */
99
@@ -26,7 +26,6 @@ interface ExtractOptions {
2626 output : string ;
2727 filter ?: string ;
2828 transitive : boolean ;
29- specFormat ?: string ;
3029}
3130
3231/**
@@ -40,7 +39,6 @@ export function createExtractCommand(): Command {
4039 . option ( '--output <dir>' , 'Output directory path' , './apim-artifacts' )
4140 . option ( '--filter <path>' , 'Filter configuration YAML file' )
4241 . option ( '--no-transitive' , 'Disable transitive dependency inclusion' )
43- . option ( '--spec-format <format>' , 'API specification format (openapi-v2-json, openapi-v3-json, openapi-v3-yaml)' )
4442 . action ( async ( options : ExtractOptions , command : Command ) => {
4543 const globalOpts = command . optsWithGlobals < {
4644 logLevel ?: string ;
@@ -109,7 +107,6 @@ async function executeExtract(
109107 outputDir : options . output ,
110108 filter : filterConfig ,
111109 includeTransitive : options . transitive ,
112- specFormat : options . specFormat ,
113110 logLevel : parseLogLevel ( globalOpts . logLevel ?? 'info' ) ,
114111 } ;
115112
0 commit comments