{
  "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
    },
    "source": [
      {
        "id": "fig",
        "kind": "completion",
        "url": "https://github.com/withfig/autocomplete/blob/master/src/sidekiq.ts",
        "license": "MIT"
      }
    ],
    "field": [
      {
        "id": "concurrency",
        "label": "Threads",
        "type": "integer",
        "option": [
          "-c",
          "--concurrency"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "environment",
        "label": "Environment",
        "type": "string",
        "option": [
          "-e",
          "--environment"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "queue",
        "label": "Queue",
        "description": "Queue name, optionally followed by weight (name,weight).",
        "type": "string",
        "option": [
          "-q",
          "--queue"
        ],
        "multiple": true,
        "sources": [
          "fig"
        ]
      },
      {
        "id": "require",
        "label": "Rails app or file",
        "type": "path",
        "option": [
          "-r",
          "--require"
        ],
        "path": {
          "kind": "any",
          "role": "input",
          "must_exist": true
        },
        "sources": [
          "fig"
        ]
      },
      {
        "id": "config",
        "label": "YAML config",
        "type": "path",
        "option": [
          "-C",
          "--config"
        ],
        "path": {
          "kind": "file",
          "role": "input",
          "must_exist": true
        },
        "sources": [
          "fig"
        ]
      },
      {
        "id": "timeout",
        "label": "Shutdown timeout (s)",
        "type": "integer",
        "option": [
          "-t",
          "--timeout"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "tag",
        "label": "Process tag",
        "type": "string",
        "option": [
          "-g",
          "--tag"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "verbose",
        "label": "Verbose",
        "type": "boolean",
        "option": [
          "-v",
          "--verbose"
        ],
        "sources": [
          "fig"
        ]
      }
    ],
    "task": [
      {
        "id": "start",
        "label": "Start worker",
        "fields": [
          "environment",
          "concurrency",
          "queue",
          "require"
        ],
        "required": []
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "concurrency",
          "environment",
          "queue",
          "require",
          "config"
        ]
      },
      {
        "id": "advanced",
        "label": "Advanced",
        "fields": [
          "timeout",
          "tag",
          "verbose"
        ]
      }
    ]
  }
}
