Class: SolidQueue::Cli

Inherits:
Thor
  • Object
show all
Defined in:
lib/solid_queue/cli.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.exit_on_failure?Boolean

Returns:

  • (Boolean)


18
19
20
# File 'lib/solid_queue/cli.rb', line 18

def self.exit_on_failure?
  true
end

Instance Method Details

#startObject



25
26
27
# File 'lib/solid_queue/cli.rb', line 25

def start
  SolidQueue::Supervisor.start(**options.symbolize_keys)
end