forked from toolshed/abra
@ -23,6 +23,8 @@ func ValidateRecipe(c *cli.Context) recipe.Recipe {
|
||||
logrus.Fatal(err)
|
||||
}
|
||||
|
||||
logrus.Debugf("validated '%s' as recipe argument", recipeName)
|
||||
|
||||
return recipe
|
||||
}
|
||||
|
||||
@ -39,6 +41,8 @@ func ValidateApp(c *cli.Context) config.App {
|
||||
logrus.Fatal(err)
|
||||
}
|
||||
|
||||
logrus.Debugf("validated '%s' as app argument", appName)
|
||||
|
||||
return app
|
||||
}
|
||||
|
||||
@ -50,5 +54,7 @@ func ValidateDomain(c *cli.Context) string {
|
||||
ShowSubcommandHelpAndError(c, errors.New("no domain provided"))
|
||||
}
|
||||
|
||||
logrus.Debugf("validated '%s' as domain argument", domainName)
|
||||
|
||||
return domainName
|
||||
}
|
||||
|
Reference in New Issue
Block a user