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:",Specifies the domain to work on."` Output string `json:"output" pflag:",Specifies the output type."` Interactive bool `json:"interactive" pflag:",Set this to trigger bubbletea interface."` }
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.