Class: JiraCommand::Command::Status

Inherits:
Thor
  • Object
show all
Defined in:
lib/jira_command/command/status.rb

Instance Method Summary collapse

Instance Method Details

#projectObject



10
11
12
13
14
15
16
17
# File 'lib/jira_command/command/status.rb', line 10

def project
  config = JiraCommand::Config.new.read

  jira = JiraCommand::Jira::Status.new(config)
  res = jira.list

  puts(res.map { |item| item[:name] })
end