github.com/rjgonzale/pop/v5@v5.1.3-dev/soda/cmd/schema.go (about)

     1  package cmd
     2  
     3  import (
     4  	"github.com/gobuffalo/pop/v5/soda/cmd/schema"
     5  	"github.com/spf13/cobra"
     6  )
     7  
     8  // schemaCmd represents the schema command
     9  var schemaCmd = &cobra.Command{
    10  	Use:   "schema",
    11  	Short: "Tools for working with your database schema",
    12  }
    13  
    14  func init() {
    15  	schemaCmd.AddCommand(schema.LoadCmd)
    16  	schemaCmd.AddCommand(schema.DumpCmd)
    17  	RootCmd.AddCommand(schemaCmd)
    18  }