8 lines
183 B
TypeScript
8 lines
183 B
TypeScript
import type { CommandModule } from "yargs"
|
|
|
|
type WithDoubleDash<T> = T & { "--"?: string[] }
|
|
|
|
export function cmd<T, U>(input: CommandModule<T, WithDoubleDash<U>>) {
|
|
return input
|
|
}
|