Files
iris-context/commands/runner/sidekiq.go
T
VERSE ebde9ba68f refactor(commands): separate commands and its core into two folders (#32)
- 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
2026-07-05 11:27:30 +07:00

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"},
},
})
}