{
  "config": {
    "type": "object",
    "properties": {
      "cache": {
        "type": "boolean",
        "description": "TODO, not yet implemented. Cache the list of installed and outdated packages."
      },
      "cacheonly": {
        "type": "boolean",
        "description": "Run the yum command entirely from system cache, don't update cache."
      },
      "code": {
        "$ref": "module://@nikitajs/core/actions/execute#/definitions/config/properties/code",
        "description": "Error code applied when using nikita.service."
      },
      "name": {
        "type": "string",
        "description": "Package name, required unless provided as main argument."
      },
      "pacman_flags": {
        "type": "array",
        "coercion": true,
        "default": [],
        "description": "Additionnal flags passed to the `pacman -S` command."
      },
      "yay_flags": {
        "type": "array",
        "coercion": true,
        "default": [],
        "description": "Additionnal flags passed to the `yay -S` command."
      }
    },
    "required": [
      "name"
    ]
  }
}
