mirror of
https://github.com/logos-storage/codex-factory.git
synced 2026-01-02 13:03:07 +00:00
13 lines
321 B
TypeScript
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
|
|
}
|