Documentation ¶
Overview ¶
Package cli contains the commands and helper utilities for the rokka CLI.
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 ListContains ¶
ListContains check if s is in list l.
func SaveConfig ¶
SaveConfig stores the current configuration in configPath.
func SetConfigPath ¶
func SetConfigPath(p string)
SetConfigPath adjusts the global variable configPath which tells where to look for the configuration file.
func TitleCamelCase ¶
TitleCamelCase converts a string to `camelCase`, then uses strings.Title to convert it to `CamelCase`.
func ToStringSlice ¶
func ToStringSlice(list []interface{}) []string
ToStringSlice is an internally used function to convert a slice of interfaces to a slice of strings
Types ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.