Sha256: c2399120800f8c0aa250d1d9f049d9149ee3e1affe41c0179fd9855f6005eb44

Contents?: true

Size: 300 Bytes

Versions: 4

Compression:

Stored size: 300 Bytes

Contents

module GitHelper
  class NewBranch
    def execute(new_branch_name = nil)
      branch_name = new_branch_name || GitHelper::HighlineCli.new.ask('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

4 entries across 4 versions & 1 rubygems

Version Path
git_helper-3.3.1 lib/git_helper/new_branch.rb
git_helper-3.3.0 lib/git_helper/new_branch.rb
git_helper-3.2.2 lib/git_helper/new_branch.rb
git_helper-3.2.1 lib/git_helper/new_branch.rb