Sha256: 7244fa1bae28d78e02c849ccfa8d29683c9eba8f5bf46aea782e8973dc055430

Contents?: true

Size: 385 Bytes

Versions: 42

Compression:

Stored size: 385 Bytes

Contents

arg :new_branch_name,    :name => 'new_branch_name'
arg :source_branch_name, :name => 'source_branch_name', :optional => true
desc 'Create a new branch for features, bug fixes, or experimentation.'
command 'new-branch' do |c|
  c.action do |global_options, options, args|
    require_relative '../scripts/new_branch'
    Octopolo::Scripts::NewBranch.execute args[0], args[1]
  end
end

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
octopolo-0.0.2 lib/octopolo/commands/new_branch.rb
octopolo-0.0.1 lib/octopolo/commands/new_branch.rb