cmdstudios

package
v0.3.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2020 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AppCmd = &cobra.Command{

	Use: "app",

	Short: "Work with Hofstadter Studios apps",

	Long: appLong,

	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,

	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,

	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,

	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,

	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,

	Run: func(cmd *cobra.Command, args []string) {
		var err error

		err = SecretRun(args)
		if err != nil {
			fmt.Println(err)
			os.Exit(1)
		}
	},
}

Functions

func AppRun

func AppRun(args []string) (err error)

func ConfigRun

func ConfigRun(args []string) (err error)

func ContainerRun

func ContainerRun(args []string) (err error)

func DatabaseRun

func DatabaseRun(args []string) (err error)

func FunctionRun

func FunctionRun(args []string) (err error)

func SecretRun

func SecretRun(args []string) (err error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL