class CreateGithubRelease::CommandLine::Validations::ValidateOnlyQuietOrVerbose
@api private
Validate that either quiet or verbose is given, but not both
def error = '--quiet and --verbose cannot be used together'
- Api: - private
Returns:
-
(String, Array
-)
def error = '--quiet and --verbose cannot be used together'
def valid? = !options.quiet || !options.verbose
- Api: - private
Returns:
-
(Boolean)
-
def valid? = !options.quiet || !options.verbose