@@ -7,6 +7,7 @@ import type { NormalizedExecutorContext } from '../internal/context.js';
77import type {
88 AutorunCommandExecutorOnlyOptions ,
99 AutorunCommandExecutorOptions ,
10+ PrintConfigCommandExecutorOptions ,
1011} from './schema.js' ;
1112
1213export function parseAutorunExecutorOnlyOptions (
@@ -20,6 +21,15 @@ export function parseAutorunExecutorOnlyOptions(
2021 } ;
2122}
2223
24+ export function parsePrintConfigExecutorOptions (
25+ options : Partial < PrintConfigCommandExecutorOptions > ,
26+ ) : PrintConfigCommandExecutorOptions {
27+ const { output } = options ;
28+ return {
29+ ...( output && { output } ) ,
30+ } ;
31+ }
32+
2333export function parseAutorunExecutorOptions (
2434 options : Partial < AutorunCommandExecutorOptions > ,
2535 normalizedContext : NormalizedExecutorContext ,
@@ -33,6 +43,7 @@ export function parseAutorunExecutorOptions(
3343 ) ;
3444 const hasApiToken = uploadCfg ?. apiKey != null ;
3545 return {
46+ ...parsePrintConfigExecutorOptions ( options ) ,
3647 ...parseAutorunExecutorOnlyOptions ( options ) ,
3748 ...globalConfig ( options , normalizedContext ) ,
3849 persist : persistConfig ( { projectPrefix, ...persist } , normalizedContext ) ,
0 commit comments