Documentation
¶
Overview ¶
Package cli ports config.ts's buildOptions()/parseArgv() — the yargs flag definitions — onto cobra.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Flags ¶
type Flags struct {
Config string
Watch bool
WatchGlobs []string
Require []string
Overwrite bool
Project string
Silent bool
ErrorsOnly bool
Profile bool
Check bool
Verbose bool
Debug bool
IgnoreNoDocuments bool
EmitLegacyCommonJSImports *bool
ImportExtension string
Cwd string
// contains filtered or unexported fields
}
Flags carries the parsed CLI flags (mirrors YamlCliFlags in config.ts).
Click to show internal directories.
Click to hide internal directories.