Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdSchema ¶
NewCmdSchema creates the schema command. If runF is non-nil it is called instead of schemaRun (test hook).
Types ¶
type SchemaOptions ¶
type SchemaOptions struct {
Factory *cmdutil.Factory
Ctx context.Context
// Positional args
Path string // first positional, when only one is given
ExtraArgs []string // 2nd+ positional args (space-separated form)
// Flags
Format string
}
SchemaOptions holds all inputs for the schema command.
Click to show internal directories.
Click to hide internal directories.