Module: Jira::Auto::Tool::EnvironmentLoader::Options
- Defined in:
- lib/jira/auto/tool/environment_loader/options.rb
Class Method Summary collapse
Class Method Details
.add(tool, parser) ⇒ Object
8 9 10 11 12 13 14 15 16 |
# File 'lib/jira/auto/tool/environment_loader/options.rb', line 8 def self.add(tool, parser) parser.section_header "Environment" parser.on("--env-list", "List the environment variables used by the tool") do tool.environment.list end parser.on("--env-create-file", "Create the environment configuration file") { tool.environment.create_file } end |