# Functions
AddBoolFlag adds bool flag to provided cobra command and registers with provided env variable name.
AddDefaultFlags add all the flags that are needed by any aptomi CLI.
AddDurationFlag adds duration flag to provided cobra command and registers with provided env variable name.
AddIntFlag adds int flag to provided cobra command and registers with provided env variable name.
AddStringFlag adds string flag to provided cobra command and registers with provided env variable name.
Format returns string format for provided objects based on the output config.
ReadConfig reads configuration from CLI flags, default or specified file path into provided config object using the provided Viper instance and default configuration directory.
# Constants
Default is the default format.
DefaultAPIHost is a default API host.
DefaultAPIPort is a default API port.
DefaultAPIPrefix is a default API prefix.
DefaultAPISchema is a default API schema.
JSON format is just json marshaled object(s).
Text is the plain text format (table) representation of object(s).
YAML format is just yaml marshaled object(s).