Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{
Use: "12to8",
Short: "A client for 925r",
Long: "12to8 is a commandline application for the 925r, a free and open source time and leave tracking application.",
BashCompletionFunction: bashCompletionFunc,
}
RootCmd represents the base command when called without any subcommands
Functions ¶
func Execute ¶
func Execute()
Execute adds all child commands to the root command sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func NewAPIClient ¶
NewAPIClient creates a new API client and populate its cache It gets endpoint, user, password from viper
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.