Class: MqReporter::CLI
- Inherits:
-
Thor
- Object
- Thor
- MqReporter::CLI
- Defined in:
- lib/mq_reporter/cli.rb
Overview
Facade for the MqReporter command line interface managed by [Thor](github.com/wycats/thor). This is the main interface to MqReporter that is called by the MqReporter binary ‘bin/mq_reporter`. Do not put any logic in here, create a class and delegate instead.
Instance Method Summary collapse
-
#init(filename = "mq_reporter") ⇒ Object
Copies the mq_reporter.css file to vendor/assets/stylesheets and adds it the application layout file.
Instance Method Details
#init(filename = "mq_reporter") ⇒ Object
Copies the mq_reporter.css file to vendor/assets/stylesheets and adds it the application layout file.
22 23 24 25 |
# File 'lib/mq_reporter/cli.rb', line 22 def init(filename = "mq_reporter") # Provide an option for someone to pass a name they want for the file (not including the .css extention.) MqReporter.init(filename) end |