Sha256: 515d5e147767574cce079ecb07c934f04cab7da49121a554ac1681f704032cef
Contents?: true
Size: 356 Bytes
Versions: 10
Compression:
Stored size: 356 Bytes
Contents
require 'pivotal-github/command' class StoryOpen < Command # Returns a command appropriate for executing at the command line # I.e., 'open https://www.pivotaltracker.com/story/show/62831853' def cmd story_ids.map do |id| "open https://www.pivotaltracker.com/story/show/#{id}" end.join(' ; ') end def run! system cmd end end
Version data entries
10 entries across 10 versions & 1 rubygems