id = "sidekiq" name = "Sidekiq" description = "Background job framework for Ruby." homepage = "https://sidekiq.org" executables = ["sidekiq"] [commands] format = 1 label = "Start Sidekiq" description = "Start a Sidekiq worker process." quality = "ai-draft" base = "fig:sidekiq" parser = { end_of_options = "--", interleave = "permute", long_equals = true, short_attached = true, short_bundles = false } [[commands.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/sidekiq.ts" license = "MIT" [[commands.field]] id = "concurrency" label = "Threads" type = "integer" option = ["-c", "--concurrency"] sources = ["fig"] [[commands.field]] id = "environment" label = "Environment" type = "string" option = ["-e", "--environment"] sources = ["fig"] [[commands.field]] id = "queue" label = "Queue" description = "Queue name, optionally followed by weight (name,weight)." type = "string" option = ["-q", "--queue"] multiple = true sources = ["fig"] [[commands.field]] id = "require" label = "Rails app or file" type = "path" option = ["-r", "--require"] path = { kind = "any", role = "input", must_exist = true } sources = ["fig"] [[commands.field]] id = "config" label = "YAML config" type = "path" option = ["-C", "--config"] path = { kind = "file", role = "input", must_exist = true } sources = ["fig"] [[commands.field]] id = "timeout" label = "Shutdown timeout (s)" type = "integer" option = ["-t", "--timeout"] sources = ["fig"] [[commands.field]] id = "tag" label = "Process tag" type = "string" option = ["-g", "--tag"] sources = ["fig"] [[commands.field]] id = "verbose" label = "Verbose" type = "boolean" option = ["-v", "--verbose"] sources = ["fig"] [[commands.task]] id = "start" label = "Start worker" fields = ["environment", "concurrency", "queue", "require"] required = [] [[commands.group]] id = "basic" label = "Basic" fields = ["concurrency", "environment", "queue", "require", "config"] [[commands.group]] id = "advanced" label = "Advanced" fields = ["timeout", "tag", "verbose"]