mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
11 lines
189 B
Ruby
Executable file
11 lines
189 B
Ruby
Executable file
#!/usr/bin/env ruby
|
|
|
|
require 'fileutils'
|
|
require 'sidekiq/api'
|
|
require 'sidekiq/ctl'
|
|
|
|
if ARGV[0] == 'status'
|
|
Sidekiq::Ctl::Status.new.display(ARGV[1])
|
|
else
|
|
Sidekiq::Ctl.print_usage
|
|
end
|