package command import ( "fmt" "github.com/spf13/cobra" ) var InstallSchemaCommand = &cobra.Command{ Use: "schema", Short: "Install schema", Long: "Install the kurz database schema", Run: installSchemaCommand, } func installSchemaCommand(c *cobra.Command, args []string) { fmt.Println("Pretend to install the kurz database schema.") } func init() { InstallCommand.AddCommand(InstallSchemaCommand) }