Sha256: f73b0cd7ded6c71342dd0d08cf02806ffed934d2797c96c3da79e41fc9861b00
Contents?: true
Size: 344 Bytes
Versions: 13
Compression:
Stored size: 344 Bytes
Contents
# frozen_string_literal: true module GitHelper class NewBranch def execute(new_branch_name = nil) branch_name = new_branch_name || HighlineWrapper.new.ask('New branch name?', { required: true }) puts "Attempting to create a new branch: #{branch_name}" GitHelper::LocalCode.new.new_branch(branch_name) end end end
Version data entries
13 entries across 13 versions & 1 rubygems