Provide a function that will provide basic command support to easily integrate CLI support into existing programs.
Something simple like:
func command(migrations []Migration) error {
// do basic up/down, etc checks and run migrations
return nil
}