Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Project string `json:"project" pflag:",Specifies the project to work on."` Domain string `json:"domain" pflag:",Specified the domain to work on."` Output string `json:"output" pflag:",Specified the output type."` }
Config hold configration for flytectl flag
func (Config) MustOutputFormat ¶
func (cfg Config) MustOutputFormat() printer.OutputFormat
MustOutputFormat will validate the supported output formate and return output formate
func (Config) OutputFormat ¶
func (cfg Config) OutputFormat() (printer.OutputFormat, error)
OutputFormat will return output formate
Click to show internal directories.
Click to hide internal directories.