Method: Mongify::CLI::Command::Version#execute

Defined in:
lib/mongify/cli/command/version.rb

#execute(view) ⇒ Object

Executes version command



13
14
15
16
# File 'lib/mongify/cli/command/version.rb', line 13

def execute(view)
  view.output("#{@progname} #{Mongify::VERSION}\n")
  view.report_success
end