2025-06-06 03:42:04 +00:00
|
|
|
import type { CommandModule } from "yargs"
|
|
|
|
|
|
2025-12-02 18:52:05 +00:00
|
|
|
type WithDoubleDash<T> = T & { "--"?: string[] }
|
|
|
|
|
|
|
|
|
|
export function cmd<T, U>(input: CommandModule<T, WithDoubleDash<U>>) {
|
2025-06-06 03:42:04 +00:00
|
|
|
return input
|
|
|
|
|
}
|