Class: Corundum::GitTask

Inherits:
Mattock::CommandTask
  • Object
show all
Defined in:
lib/corundum/github-pages.rb

Instance Method Summary collapse

Instance Method Details

#commandObject



9
10
11
12
13
14
15
16
# File 'lib/corundum/github-pages.rb', line 9

def command
  Mattock::CommandLine.new("git", "--no-pager") do |cmd|
    cmd.options << subcommand
    arguments.each do |arg|
      cmd.options += [*arg]
    end
  end
end