Class: JiraMetrics
- Inherits:
-
Thor
- Object
- Thor
- JiraMetrics
- Defined in:
- lib/jirametrics.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.exit_on_failure? ⇒ Boolean
10 11 12 |
# File 'lib/jirametrics.rb', line 10 def self.exit_on_failure? true end |
Instance Method Details
#__print_version ⇒ Object
17 18 19 |
# File 'lib/jirametrics.rb', line 17 def __print_version puts Gem.loaded_specs['jirametrics'].version end |
#download ⇒ Object
32 33 34 35 |
# File 'lib/jirametrics.rb', line 32 def download load_config [:config] Exporter.instance.download(name_filter: [:name] || '*') end |
#export ⇒ Object
24 25 26 27 |
# File 'lib/jirametrics.rb', line 24 def export load_config [:config] Exporter.instance.export(name_filter: [:name] || '*') end |