uninstall_schema.go 432 B

123456789101112131415161718192021
  1. package command
  2. import (
  3. "fmt"
  4. "github.com/spf13/cobra"
  5. )
  6. var UninstallSchemaCommand = &cobra.Command{
  7. Use: "schema",
  8. Short: "Uninstall schema",
  9. Long: "Uninstall the kurz database schema",
  10. Run: uninstallSchemaCommand,
  11. }
  12. func uninstallSchemaCommand(c *cobra.Command, args []string) {
  13. fmt.Println("Pretend to uninstall the kurz database schema.")
  14. }
  15. func init() {
  16. UninstallCommand.AddCommand(UninstallSchemaCommand)
  17. }