Class: Jira::Auto::Tool::Project::Options

Inherits:
Object
  • Object
show all
Defined in:
lib/jira/auto/tool/project/options.rb

Class Method Summary collapse

Class Method Details

.add(tool, parser) ⇒ Object



10
11
12
13
14
15
16
17
# File 'lib/jira/auto/tool/project/options.rb', line 10

def self.add(tool, parser)
  parser.section_header "Project"

  parser.on("--project-field-list",
            "Display the fields pertaining to the ticket types of a project") do
    tool.project.list_ticket_fields
  end
end