class Mongify::Mongoid::CLI::Command::Help
A command to display usage information for this application.
Public Class Methods
new(parser)
click to toggle source
# File lib/mongify/mongoid/cli/command/help.rb, line 10 def initialize(parser) @parser = parser end
Public Instance Methods
execute(view)
click to toggle source
Executes the help command
# File lib/mongify/mongoid/cli/command/help.rb, line 14 def execute(view) view.output(@parser.to_s) view.report_success end