{
  "name": "hb-service",
  "description": "The hb-service command is provided by homebridge-config-ui-x",
  "subcommands": [
    {
      "name": "install",
      "description": "Install homebridge as a service"
    },
    {
      "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"
    },
    {
      "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"
    },
    {
      "name": "update-node",
      "description": "Update Node.js",
      "args": [
        {
          "name": "version"
        }
      ]
    }
  ],
  "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",
      "takes_arg": true,
      "arg": {
        "name": "service name"
      }
    },
    {
      "names": [
        "--port"
      ],
      "description": "The port to set to the Homebridge UI when installing as a service",
      "takes_arg": true,
      "arg": {
        "name": "port"
      }
    },
    {
      "names": [
        "--user"
      ],
      "description": "The user account the Homebridge service will be installed as (Linux, macOS only)",
      "takes_arg": true,
      "arg": {
        "name": "user"
      }
    },
    {
      "names": [
        "--plugin-path",
        "-P"
      ],
      "takes_arg": true,
      "arg": {
        "name": "path"
      }
    },
    {
      "names": [
        "--user-storage-path",
        "-U"
      ],
      "takes_arg": true,
      "arg": {
        "name": "path"
      }
    },
    {
      "names": [
        "--no-timestamp",
        "-T"
      ]
    },
    {
      "names": [
        "--gid"
      ],
      "takes_arg": true,
      "arg": {
        "name": "number"
      }
    },
    {
      "names": [
        "--uid"
      ],
      "takes_arg": true,
      "arg": {
        "name": "number"
      }
    },
    {
      "names": [
        "--docker"
      ]
    },
    {
      "names": [
        "--allow-root"
      ]
    },
    {
      "names": [
        "--stdout"
      ]
    },
    {
      "names": [
        "--strict-plugin-resolution"
      ]
    }
  ]
}
