Sha256: 53343504bcae25a505cdf19113e268dee5cd0527c744eb374aec3d3b647d60c3

Contents?: true

Size: 498 Bytes

Versions: 4

Compression:

Stored size: 498 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)
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
geordi-9.5.1 lib/geordi/commands/branch.rb
geordi-9.5.0 lib/geordi/commands/branch.rb
geordi-9.4.1 lib/geordi/commands/branch.rb
geordi-9.4.0 lib/geordi/commands/branch.rb