Class: Abide::CLI::JiraCommand

Inherits:
CmdParse::Command
  • Object
show all
Defined in:
lib/abide_dev_utils/cli/jira.rb

Constant Summary collapse

CMD_NAME =
'jira'
CMD_SHORT =
'Commands related to Jira tickets'
CMD_LONG =
'Namespace for commands related to Jira tickets'

Instance Method Summary collapse

Constructor Details

#initializeJiraCommand

Returns a new instance of JiraCommand.



16
17
18
19
20
21
22
23
24
25
26
27
# File 'lib/abide_dev_utils/cli/jira.rb', line 16

def initialize
  super(CMD_NAME, takes_commands: true)
  short_desc(CMD_SHORT)
  long_desc(CMD_LONG)
  add_command(CmdParse::HelpCommand.new, default: true)
  add_command(JiraAuthCommand.new)
  add_command(JiraGetIssueCommand.new)
  add_command(JiraNewIssueCommand.new)
  add_command(JiraFromCoverageCommand.new)
  add_command(JiraFromXccdfCommand.new)
  add_command(JiraFromXccdfDiffCommand.new)
end