- I think it would be better if one for commands only, one for the spec handling core logic so people won't be confused by the core logic inside the commands folder (cleaner I guess) - Regen docs
25 lines
908 B
Go
25 lines
908 B
Go
package runner
|
|
|
|
import (
|
|
"github.com/versenilvis/iris/spec"
|
|
)
|
|
|
|
func init() {
|
|
spec.Register(&spec.Spec{
|
|
Name: "sidekiq",
|
|
Description: "Background job framework for Ruby",
|
|
Options: []spec.Option{
|
|
{Name: "--concurrency", Description: "Processor threads to use"},
|
|
{Name: "--environment", Description: "Application environment"},
|
|
{Name: "--tag", Description: "Process tag for procline"},
|
|
{Name: "--queue", Description: "Queues to process with optional weights"},
|
|
{Name: "--require", Description: "Location of Rails application with jobs or file to require"},
|
|
{Name: "--timeout", Description: "Shutdown timeout"},
|
|
{Name: "--verbose", Description: "Print more verbose output"},
|
|
{Name: "--config", Description: "Path to YAML config file"},
|
|
{Name: "--help", Description: "Show help for sidekiq run"},
|
|
{Name: "--version", Description: "Print version and exit"},
|
|
},
|
|
})
|
|
}
|