package cmd import ( "github.com/spf13/cobra" ) func init() { migrateCmd.AddCommand(migrateUpCmd) } var migrateUpCmd = &cobra.Command{ Use: "up", Short: "Migrate database schema up", Long: ``, Run: func(cmd *cobra.Command, args []string) { // TODO: Implement this // TODO: get database URL // TODO: run migrations // TODO: handle errors // TODO: gracefully shutdown }, }