class RHC::Commands::GitClone

Public Instance Methods

run(app_name) click to toggle source

TODO: Implement default values for arguments once ffranz has added context arguments argument :directory, "The name of a new directory to clone into", [], :default => nil

# File lib/rhc/commands/git_clone.rb, line 19
def run(app_name)
  rest_app = rest_client.find_application(options.namespace, app_name)
  git_clone_application(rest_app)

  0
end