github.com/nimakaviani/cli@v6.37.1-0.20180619223813-e734901a73fa+incompatible/command/translatableerror/required_name_for_push_error.go (about) 1 package translatableerror 2 3 type RequiredNameForPushError struct { 4 } 5 6 func (RequiredNameForPushError) DisplayUsage() {} 7 8 func (RequiredNameForPushError) Error() string { 9 return "Incorrect usage: The push command requires an app name. The app name can be supplied as an argument or with a manifest.yml file." 10 } 11 12 func (e RequiredNameForPushError) Translate(translate func(string, ...interface{}) string) string { 13 return translate(e.Error()) 14 }