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