class Warren::App::Cli
Warren
Thor CLI application used to:
-
Generate the configuration
-
Update the configuration with new consumers
-
Start and stop consumers
@see whatisthor.com
Public Class Methods
exit_on_failure?()
click to toggle source
Ensure we exit with an error in the event of failure
# File lib/warren/app/cli.rb, line 16 def self.exit_on_failure? true end
Public Instance Methods
config()
click to toggle source
Invoked by `$ warren config` generates a `warren.yml` file.
# File lib/warren/app/cli.rb, line 27 def config Warren::App::Config.invoke(self, path: options['path'], exchange: options['exchange']) end