Sha256: 91747a9a2859d478657406293190a03f2de4484395e816e54e9df93886902909

Contents?: true

Size: 505 Bytes

Versions: 2

Compression:

Stored size: 505 Bytes

Contents

class Tane::Commands::Refresh < Tane::Commands::Base

  class << self
    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

    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   
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tane-0.0.5 lib/tane/commands/refresh.rb
tane-0.0.4 lib/tane/commands/refresh.rb