Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "Tekleader", Short: "Tekleader makes it possible to establish" + " a rank between {EPITECH} students, and much more.", Long: "", PersistentPreRun: func(cmd *cobra.Command, args []string) { if tekleader.Timeout < 1 { log.Fatal(errors.New("Timeout must be > 1")) } if skipAuth(cmd.Name()) { return } tekleader.PrintStatus(false) tekleader.AuthKey = viper.GetString("tek_authkey") err := tekleader.Auth() if err != nil { log.Fatal(err) } }, }
RootCmd represents the base command when called without any subcommands
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.