2022-04-29 15:51:09 +02:00

13 lines
321 B
TypeScript

import { cli } from 'furious-commander'
import { optionParameters, rootCommandClasses } from '../../src/config'
export async function run(argv: string[]): ReturnType<typeof cli> {
const commandBuilder = await cli({
rootCommandClasses,
optionParameters,
testArguments: argv,
})
return commandBuilder
}