You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: infer flags type from options definition in defineCommand
Generify CommandSpec and defineCommand so the `run` callback's `flags`
parameter is typed as `GlobalFlags & InferFlags<Options>`, where
InferFlags derives typed properties from the command's `options` array.
This removes ~150 manual `as string` / `as number` / `as string[]`
type assertions across 46 command files.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments