Class: AwesomeAnnotate::CLI
- Inherits:
-
Thor
- Object
- Thor
- AwesomeAnnotate::CLI
- Includes:
- Thor::Actions
- Defined in:
- lib/awesome_annotate/cli.rb
Instance Method Summary collapse
Instance Method Details
#model(model_name) ⇒ Object
19 20 21 |
# File 'lib/awesome_annotate/cli.rb', line 19 def model(model_name) AwesomeAnnotate::Model.new.annotate(model_name) end |
#print_version ⇒ Object
13 14 15 |
# File 'lib/awesome_annotate/cli.rb', line 13 def print_version say AwesomeAnnotate::VERSION end |
#routes ⇒ Object
25 26 27 |
# File 'lib/awesome_annotate/cli.rb', line 25 def routes AwesomeAnnotate::Route.new.annotate end |