Class: AwesomeAnnotate::CLI

Inherits:
Thor
  • Object
show all
Includes:
Thor::Actions
Defined in:
lib/awesome_annotate/cli.rb

Instance Method Summary collapse

Instance Method Details

#model(model_name) ⇒ Object



17
18
19
# File 'lib/awesome_annotate/cli.rb', line 17

def model(model_name)
  AwesomeAnnotate::Model.new.annotate(model_name)
end


12
13
14
# File 'lib/awesome_annotate/cli.rb', line 12

def print_version
  say AwesomeAnnotate::VERSION
end