Class: Lolipop::Mc::Starter::Rails::CLI
- Inherits:
-
Thor
- Object
- Thor
- Lolipop::Mc::Starter::Rails::CLI
- Defined in:
- lib/lolipop/mc/starter/rails/cli.rb
Instance Method Summary collapse
Instance Method Details
#check ⇒ Object
11 12 13 |
# File 'lib/lolipop/mc/starter/rails/cli.rb', line 11 def check Lolipop::Mc::Starter::Rails::CheckList.check_all end |
#database ⇒ Object
16 17 18 |
# File 'lib/lolipop/mc/starter/rails/cli.rb', line 16 def database Lolipop::Mc::Starter::Rails::Generators::DatabaseURL.run end |
#help(version = nil) ⇒ Object
21 22 23 24 25 26 27 |
# File 'lib/lolipop/mc/starter/rails/cli.rb', line 21 def help(version = nil) if version puts Lolipop::Mc::Starter::Rails::VERSION else super end end |