Files
dokku/plugins/buildpacks/functions.go
2020-03-10 14:12:24 -04:00

16 lines
234 B
Go

package buildpacks
import (
"errors"
)
func getAppName(args []string) (appName string, err error) {
if len(args) >= 1 {
appName = args[0]
} else {
err = errors.New("Please specify an app to run the command on")
}
return
}