Class: Tane::Commands::Refresh
- Defined in:
- lib/tane/commands/refresh.rb
Class Method Summary collapse
Methods inherited from Base
Methods included from Helpers
Class Method Details
.help_text ⇒ Object
14 15 16 17 18 19 20 21 22 23 |
# File 'lib/tane/commands/refresh.rb', line 14 def help_text <<-EOL Usage: tane refresh Updates the Cloudfuji environment for the local application from the latest settings from the Cloudfuji server. EOL end |
.process(args) ⇒ Object
4 5 6 7 8 9 10 11 12 |
# File 'lib/tane/commands/refresh.rb', line 4 def process(args) if in_rails_dir? Tane::Helpers::Init.update_app else term.say("You have to be in the local rails app's root directory when running `tane update`") exit 1 end end |