class Pantograph::Actions::GitPullAction

Public Class Methods

authors() click to toggle source
# File pantograph/lib/pantograph/actions/git_pull.rb, line 15
def self.authors
  ['johnknapprs']
end
available_options() click to toggle source
# File pantograph/lib/pantograph/actions/git_pull.rb, line 12
def self.available_options
end
category() click to toggle source
# File pantograph/lib/pantograph/actions/git_pull.rb, line 29
def self.category
  :source_control
end
description() click to toggle source
# File pantograph/lib/pantograph/actions/git_pull.rb, line 8
def self.description
  'Executes a simple git pull command'
end
example_code() click to toggle source
# File pantograph/lib/pantograph/actions/git_pull.rb, line 23
def self.example_code
  [
    'git_pull'
  ]
end
is_supported?(platform) click to toggle source
# File pantograph/lib/pantograph/actions/git_pull.rb, line 19
def self.is_supported?(platform)
  true
end
run(params) click to toggle source
# File pantograph/lib/pantograph/actions/git_pull.rb, line 4
def self.run(params)
  Actions.sh('git pull')
end