Sha256: 2d5554e6ac94f75001b71ca3ff312891af6032e8bff8b45cf48606b116204ba1
Contents?: true
Size: 467 Bytes
Versions: 1
Compression:
Stored size: 467 Bytes
Contents
class PGit::Status def initialize(global_options, options, args) end def execute! current_branch = PGit::CurrentBranch.new raise PGit::Error::User, 'The current branch is not associated with a story. Does not have a story id.' unless current_branch.story_id story = PGit::Pivotal::Story.new(current_branch.story_id) story_hash = story.get! table = Terminal::Table.new do |t| t.rows = story_hash.to_a end puts table end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pgit-1.0.0 | lib/pgit/status.rb |