Class: Inits::CLI
- Inherits:
-
Thor
- Object
- Thor
- Inits::CLI
- Defined in:
- lib/inits/cli.rb
Instance Method Summary collapse
Instance Method Details
#help ⇒ Object
17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
# File 'lib/inits/cli.rb', line 17 def help puts <<-HELP Manual: Commands: bundle exec exe/inits on Options: -v: verbose -brew_path: brew's local path, default is `#{[:brew_path]}` -rbenv_path: rbenv's local path, default is `#{[:rbenv_path]}` -rbenv_installed: rbenv's local installed ruby versions, default is `true` -rbenv_listing: rbenv's all ruby versions, default is `false` HELP end |
#on ⇒ Object
35 36 37 38 39 |
# File 'lib/inits/cli.rb', line 35 def on p if [:verbose] brew rbenv end |