Sha256: 2a0201d5210ebfc7d616f0cf9ad6b84a1090e976663365fed2271350071677a6

Contents?: true

Size: 474 Bytes

Versions: 1

Compression:

Stored size: 474 Bytes

Contents

module PGit
  class StoryBranch
    class Application
      def initialize(global_options, options, arguments)
        if story_id = options[:start]
          story = PGit::Pivotal::Story.new(story_id)
          story.get!

          name_parser = PGit::StoryBranch::NameParser.new(story)
          story_branch = PGit::StoryBranch.new(name_parser)

          story_branch.start
        else
          puts `pgit story_branch --help`
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pgit-1.0.0 lib/pgit/story_branch/application.rb