mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-04-01 14:52:25 +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
|
|
}
|