Sha256: d15877b797378d109edc787d15235e3e1505eb832a1d05ac7e9fcd934bed4449

Contents?: true

Size: 292 Bytes

Versions: 8

Compression:

Stored size: 292 Bytes

Contents

module GitHelper
  class NewBranch
    def execute(new_branch_name = nil)
      branch_name = new_branch_name || GitHelper::HighlineCli.new.new_branch_name
      puts "Attempting to create a new branch: #{branch_name}"
      GitHelper::LocalCode.new.new_branch(branch_name)
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
git_helper-3.2.0 lib/git_helper/new_branch.rb
git_helper-3.1.3 lib/git_helper/new_branch.rb
git_helper-3.1.2 lib/git_helper/new_branch.rb
git_helper-3.1.0 lib/git_helper/new_branch.rb
git_helper-3.0.1 lib/git_helper/new_branch.rb
git_helper-3.0.0 lib/git_helper/new_branch.rb
git_helper-2.0.2 lib/git_helper/new_branch.rb
git_helper-2.0.1 lib/git_helper/new_branch.rb