Class: Pantograph::Actions::GitPullTagsAction

Inherits:
Pantograph::Action show all
Defined in:
pantograph/lib/pantograph/actions/git_pull_tags.rb

Constant Summary

Constants inherited from Pantograph::Action

Pantograph::Action::AVAILABLE_CATEGORIES, Pantograph::Action::RETURN_TYPES

Class Method Summary collapse

Methods inherited from Pantograph::Action

action_name, author, available_options, deprecated_notes, details, lane_context, method_missing, other_action, output, return_type, return_value, sample_return_value, shell_out_should_use_bundle_exec?, step_text

Class Method Details

.authorsObject



12
13
14
# File 'pantograph/lib/pantograph/actions/git_pull_tags.rb', line 12

def self.authors
  ['johnknapprs']
end

.categoryObject



26
27
28
# File 'pantograph/lib/pantograph/actions/git_pull_tags.rb', line 26

def self.category
  :source_control
end

.descriptionObject



8
9
10
# File 'pantograph/lib/pantograph/actions/git_pull_tags.rb', line 8

def self.description
  'Executes a simple `git fetch --tags` command'
end

.example_codeObject



20
21
22
23
24
# File 'pantograph/lib/pantograph/actions/git_pull_tags.rb', line 20

def self.example_code
  [
    'git_pull_tags'
  ]
end

.is_supported?(platform) ⇒ Boolean

Returns:



16
17
18
# File 'pantograph/lib/pantograph/actions/git_pull_tags.rb', line 16

def self.is_supported?(platform)
  true
end

.run(params) ⇒ Object



4
5
6
# File 'pantograph/lib/pantograph/actions/git_pull_tags.rb', line 4

def self.run(params)
  Actions.sh('git fetch --tags')
end