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'

Other tags:
    Api: - private

Returns:
  • (String, Array) -
def error = '--quiet and --verbose cannot be used together'

def valid? = !options.quiet || !options.verbose

Other tags:
    Api: - private

Returns:
  • (Boolean) -
def valid? = !options.quiet || !options.verbose