class Karafka::Cli::Missingno

Command that gets invoked when no method is provided when running the CLI It allows us to exit with exit code 1 instead of default 0 to indicate that something

was missing

@see github.com/karafka/karafka/issues/619

Public Instance Methods

call() click to toggle source

Prints an error about the lack of command (nothing selected)

# File lib/karafka/cli/missingno.rb, line 13
def call
  Karafka.logger.error('No command provided')
  exit 1
end