Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Execute ¶
func Execute()
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func GetVerbosity ¶
func GetVerbosity() int
GetVerbosity returns the verbosity level (0=warn, 1=info, 2=debug, 3=trace)
Types ¶
type AuthStatus ¶
type AuthStatus struct {
Authenticated bool `json:"authenticated"`
User string `json:"user,omitempty"`
Error string `json:"error,omitempty"`
}
AuthStatus represents the authentication status
Click to show internal directories.
Click to hide internal directories.