Class: Jura::Command::Issue::Show

Inherits:
Base
  • Object
show all
Defined in:
lib/jura/command/issue/show.rb

Class Method Summary collapse

Methods inherited from Base

board_id

Class Method Details

.execute!(args) ⇒ Object



7
8
9
10
11
12
13
14
# File 'lib/jura/command/issue/show.rb', line 7

def self.execute!(args)
  if (args.length != 1)
    return
  end

  issue = Api::Issue.show(args[0])
  puts Component::Issue::Show.render(issue)
end