mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-03-31 22:32:28 +00:00
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
|
|
}
|