{
  "name": "hb-service",
  "description": "The hb-service command is provided by homebridge-config-ui-x",
  "options": [
    {
      "names": [
        "--help",
        "-h"
      ],
      "description": "Display help for command"
    },
    {
      "names": [
        "--version",
        "-v"
      ],
      "description": "Output the version number"
    },
    {
      "names": [
        "--service-name",
        "-S"
      ],
      "description": "The name of the homebridge service to install or control",
      "isPersistent": true,
      "args": [
        {
          "name": "service name"
        }
      ]
    },
    {
      "names": [
        "--port"
      ],
      "description": "The port to set to the Homebridge UI when installing as a service",
      "isPersistent": true,
      "args": [
        {
          "name": "port"
        }
      ]
    },
    {
      "names": [
        "--user"
      ],
      "description": "The user account the Homebridge service will be installed as (Linux, macOS only)",
      "isPersistent": true,
      "args": [
        {
          "name": "user"
        }
      ]
    },
    {
      "names": [
        "--plugin-path",
        "-P"
      ],
      "isPersistent": true,
      "args": [
        {
          "name": "path"
        }
      ]
    },
    {
      "names": [
        "--user-storage-path",
        "-U"
      ],
      "isPersistent": true,
      "args": [
        {
          "name": "path"
        }
      ]
    },
    {
      "names": [
        "--no-timestamp",
        "-T"
      ],
      "isPersistent": true
    },
    {
      "names": [
        "--gid"
      ],
      "isPersistent": true,
      "args": [
        {
          "name": "number"
        }
      ]
    },
    {
      "names": [
        "--uid"
      ],
      "isPersistent": true,
      "args": [
        {
          "name": "number"
        }
      ]
    },
    {
      "names": [
        "--docker"
      ],
      "isPersistent": true
    },
    {
      "names": [
        "--allow-root"
      ],
      "isPersistent": true
    },
    {
      "names": [
        "--stdout"
      ],
      "isPersistent": true
    },
    {
      "names": [
        "--strict-plugin-resolution"
      ],
      "isPersistent": true
    }
  ],
  "subcommands": [
    {
      "name": "install",
      "description": "Install homebridge as a service",
      "options": [
        {
          "names": [
            "--service-name",
            "-S"
          ],
          "description": "The name of the homebridge service to install or control.",
          "args": {
            "name": "service_name",
            "description": "The name of the homebridge service to install or control.",
            "isOptional": false
          }
        },
        {
          "names": [
            "--port"
          ],
          "description": "The port to set for the Homebridge UI when installing as a service.",
          "args": {
            "name": "port",
            "description": "The port to set for the Homebridge UI when installing as a service.",
            "isOptional": false
          }
        },
        {
          "names": [
            "--user"
          ],
          "description": "The user account the service will be installed as (Linux, macOS only).",
          "args": {
            "name": "user",
            "description": "The user account the service will be installed as (Linux, macOS only).",
            "isOptional": false
          }
        }
      ]
    },
    {
      "name": "uninstall",
      "description": "Remove the homebridge service"
    },
    {
      "name": "start",
      "description": "Start the homebridge service"
    },
    {
      "name": "stop",
      "description": "Stop the homebridge service"
    },
    {
      "name": "restart",
      "description": "Restart the homebridge service",
      "options": [
        {
          "names": [
            "--service-name",
            "-S"
          ],
          "description": "The name of the homebridge service to control.",
          "args": {
            "name": "service_name",
            "description": "The name of the homebridge service to control.",
            "isOptional": false
          }
        }
      ]
    },
    {
      "name": "rebuild",
      "description": "Rebuild UI",
      "options": [
        {
          "names": [
            "--all"
          ],
          "description": "Rebuild all npm modules (use after updating Node.js)"
        }
      ]
    },
    {
      "name": "run",
      "description": "Run homebridge daemon"
    },
    {
      "name": "logs",
      "description": "Tails the homebridge service logs",
      "options": [
        {
          "names": [
            "--service-name",
            "-S"
          ],
          "description": "The name of the homebridge service to control.",
          "args": {
            "name": "service_name",
            "description": "The name of the homebridge service to control.",
            "isOptional": false
          }
        }
      ]
    },
    {
      "name": "update-node",
      "description": "Update Node.js",
      "args": [
        {
          "name": "version",
          "isOptional": true
        }
      ]
    }
  ]
}
