Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AppCmd = &cobra.Command{ Use: "app", Short: "Work with Hofstadter Studios apps", Long: appLong, PreRun: func(cmd *cobra.Command, args []string) { cs := strings.Fields(cmd.CommandPath()) c := strings.Join(cs[1:], "/") ga.SendGaEvent(c, "<omit>", 0) }, Run: func(cmd *cobra.Command, args []string) { var err error err = AppRun(args) if err != nil { fmt.Println(err) os.Exit(1) } }, }
View Source
var ConfigCmd = &cobra.Command{ Use: "config", Aliases: []string{ "cfg", }, Short: "Work with Hofstadter Studios configs", Long: configLong, PreRun: func(cmd *cobra.Command, args []string) { cs := strings.Fields(cmd.CommandPath()) c := strings.Join(cs[1:], "/") ga.SendGaEvent(c, "<omit>", 0) }, Run: func(cmd *cobra.Command, args []string) { var err error err = ConfigRun(args) if err != nil { fmt.Println(err) os.Exit(1) } }, }
View Source
var ContainerCmd = &cobra.Command{ Use: "container", Aliases: []string{ "cont", }, Short: "Work with Hofstadter Studios containers", Long: containerLong, PreRun: func(cmd *cobra.Command, args []string) { cs := strings.Fields(cmd.CommandPath()) c := strings.Join(cs[1:], "/") ga.SendGaEvent(c, "<omit>", 0) }, Run: func(cmd *cobra.Command, args []string) { var err error err = ContainerRun(args) if err != nil { fmt.Println(err) os.Exit(1) } }, }
View Source
var DatabaseCmd = &cobra.Command{ Use: "database", Short: "Work with Hofstadter Studios databases", Long: databaseLong, PreRun: func(cmd *cobra.Command, args []string) { cs := strings.Fields(cmd.CommandPath()) c := strings.Join(cs[1:], "/") ga.SendGaEvent(c, "<omit>", 0) }, Run: func(cmd *cobra.Command, args []string) { var err error err = DatabaseRun(args) if err != nil { fmt.Println(err) os.Exit(1) } }, }
View Source
var FunctionCmd = &cobra.Command{ Use: "function", Aliases: []string{ "cont", }, Short: "Work with Hofstadter Studios functions", Long: functionLong, PreRun: func(cmd *cobra.Command, args []string) { cs := strings.Fields(cmd.CommandPath()) c := strings.Join(cs[1:], "/") ga.SendGaEvent(c, "<omit>", 0) }, Run: func(cmd *cobra.Command, args []string) { var err error err = FunctionRun(args) if err != nil { fmt.Println(err) os.Exit(1) } }, }
View Source
var SecretCmd = &cobra.Command{ Use: "secret", Aliases: []string{ "secrets", "shh", }, Short: "Work with Hofstadter Studios secrets", Long: secretLong, PreRun: func(cmd *cobra.Command, args []string) { cs := strings.Fields(cmd.CommandPath()) c := strings.Join(cs[1:], "/") ga.SendGaEvent(c, "<omit>", 0) }, Run: func(cmd *cobra.Command, args []string) { var err error err = SecretRun(args) if err != nil { fmt.Println(err) os.Exit(1) } }, }
Functions ¶
func ContainerRun ¶
func DatabaseRun ¶
func FunctionRun ¶
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.