Documentation ¶
Index ¶
- func Execute()
- func GetFlag(cmd *cobra.Command, flag string) bool
- func GetInt(cmd *cobra.Command, flag string) int
- func GetString(cmd *cobra.Command, flag string) string
- func GetStringArray(cmd *cobra.Command, flag string) []string
- func GetUint(cmd *cobra.Command, flag string) uint
- type ColSummariser
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 GetStringArray ¶
GetStringArray gets an expected string array, or panic if an error arises.
Types ¶
type ColSummariser ¶
type ColSummariser struct {
// contains filtered or unexported fields
}
ColSummariser abstracts the notion of a function which summarises the contents of a given column.
Click to show internal directories.
Click to hide internal directories.