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-1.12.0 lib/octopolo/commands/new_branch.rb
octopolo-1.11.4 lib/octopolo/commands/new_branch.rb
octopolo-1.11.3 lib/octopolo/commands/new_branch.rb
octopolo-1.11.1 lib/octopolo/commands/new_branch.rb
octopolo-1.11.0 lib/octopolo/commands/new_branch.rb
octopolo-1.9.0 lib/octopolo/commands/new_branch.rb
octopolo-1.8.1 lib/octopolo/commands/new_branch.rb
octopolo-1.8.0 lib/octopolo/commands/new_branch.rb
octopolo-1.7.1 lib/octopolo/commands/new_branch.rb
octopolo-1.7.0 lib/octopolo/commands/new_branch.rb
octopolo-1.6.0 lib/octopolo/commands/new_branch.rb
octopolo-1.5.3 lib/octopolo/commands/new_branch.rb
octopolo-1.5.2 lib/octopolo/commands/new_branch.rb
octopolo-1.5.1 lib/octopolo/commands/new_branch.rb
octopolo-1.5.0 lib/octopolo/commands/new_branch.rb
octopolo-1.4.0 lib/octopolo/commands/new_branch.rb
octopolo-1.3.0 lib/octopolo/commands/new_branch.rb
octopolo-1.2.1 lib/octopolo/commands/new_branch.rb
octopolo-1.2.0 lib/octopolo/commands/new_branch.rb
octopolo-1.1.1 lib/octopolo/commands/new_branch.rb