Open
Description
Feature request
It makes sense to export public types for ease of access, and I find myself commonly wanting to omit
/pick
from a set of flags shared across multiple CLIs within a large project. I can do this with the workaround below, but it would be nicer if this module exported the Flags
type directly.
Why?
It's useful to get the type of Flags
without introspecting the other output types.
Alternatives
import { type Command, cli } from 'cleye'
type Flags = NonNullable<Command['options']['flags']>
Additional context
No response
Metadata
Assignees
Labels
No labels