@black-flag/core • Docs
@black-flag/core / index / ConfigureArguments
ConfigureArguments<
CustomContext
>: (rawArgv
,context
) =>Promisable
<typeofprocess.argv
>
This function is called once towards the beginning of the execution of
PreExecutionContext::execute
and should return a process.argv
-like array.
This is where yargs middleware and other argument pre-processing can be implemented.
• CustomContext extends ExecutionContext
= ExecutionContext
• rawArgv: typeof process.argv
• context: CustomContext
Promisable
<typeof process.argv
>