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
7 8 9 |
# File 'lib/jirametrics.rb', line 7 def self.exit_on_failure? true end |
Instance Method Details
#__print_version ⇒ Object
14 15 16 |
# File 'lib/jirametrics.rb', line 14 def __print_version puts Gem.loaded_specs['jirametrics'].version end |
#download ⇒ Object
29 30 31 32 |
# File 'lib/jirametrics.rb', line 29 def download load_config [:config] Exporter.instance.download(name_filter: [:name] || '*') end |
#export ⇒ Object
21 22 23 24 |
# File 'lib/jirametrics.rb', line 21 def export load_config [:config] Exporter.instance.export(name_filter: [:name] || '*') end |