fix(run): allow messages to start with dash (-) (#4904)

This commit is contained in:
U Cirello
2025-12-02 10:52:05 -08:00
committed by GitHub
parent 3eb43c6a0b
commit 25284c39e4
3 changed files with 5 additions and 2 deletions
+3 -1
View File
@@ -1,5 +1,7 @@
import type { CommandModule } from "yargs"
export function cmd<T, U>(input: CommandModule<T, U>) {
type WithDoubleDash<T> = T & { "--"?: string[] }
export function cmd<T, U>(input: CommandModule<T, WithDoubleDash<U>>) {
return input
}