Sha256: da5e6bc091357916f1bc4e64d5eae9522752d9014eecf9940a91d3282f8611aa

Contents?: true

Size: 567 Bytes

Versions: 5

Compression:

Stored size: 567 Bytes

Contents

desc 'branch', 'Check out a feature branch based on a story from Pivotal Tracker'
long_desc <<-LONGDESC
Example: `geordi branch`

On the first execution we ask for your Pivotal Tracker API token and for your Git user initials. Both will be
stored in `~/.config/geordi/global.yml`.
LONGDESC

option :from_master, aliases: '-m', type: :boolean, desc: 'Branch from master instead of the current branch'

def branch
  require 'geordi/gitpt'
  Gitpt.new.run_branch(from_master: options.from_master)

  Hint.did_you_know [
    :commit,
    [:branch, :from_master],
  ]
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
geordi-10.1.0 lib/geordi/commands/branch.rb
geordi-10.0.1 lib/geordi/commands/branch.rb
geordi-10.0.0 lib/geordi/commands/branch.rb
geordi-9.6.1 lib/geordi/commands/branch.rb
geordi-9.6.0 lib/geordi/commands/branch.rb