{
  "id": "vault-cli",
  "name": "Apache Jackrabbit FileVault CLI",
  "homepage": "https://jackrabbit.apache.org/filevault/",
  "description": "A Subversion-like command-line utility for Jackrabbit repository content.",
  "executables": [
    "vlt"
  ],
  "dotfiles": {
    "paths": [
      "~/.vault/settings.xml"
    ],
    "exclude": [],
    "secret": [
      "~/.vault/auth.xml"
    ],
    "side_effect": false
  },
  "commands": {
    "format": 1,
    "label": "Run a vlt command",
    "description": "Run a FileVault vlt command with global options. Per-command options and credentials are left out.",
    "quality": "ai-draft",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": false,
      "short_attached": false,
      "short_bundles": false
    },
    "source": [
      {
        "id": "docs",
        "kind": "manual",
        "url": "https://jackrabbit.apache.org/filevault/usage.html",
        "revision": "3.5.7-SNAPSHOT",
        "evidence": "vlt [options] <command> [arg1 [arg2 [arg3] ..]]\n--allowSelfSignedCertificates    Allows to connect to HTTPS repository urls whose certificate is self-signed.\n-v (--verbose)                   verbose output\n-q (--quiet)                     print as little as possible\n--log-level <level>              the logback log level\nexport                           Export the Vault filesystem\nimport                           Import a Vault filesystem\ncheckout (co)                    Checkout a Vault file system\nstatus (st)                      Print the status of working copy files and directories.\nupdate (up)                      Bring changes from the repository into the working copy.\ncommit (ci)                      Send changes from your working copy to the repository.\ndiff (di)                        Display the differences between two paths.\n"
      }
    ],
    "field": [
      {
        "id": "verbose",
        "label": "Verbose",
        "type": "boolean",
        "option": [
          "-v",
          "--verbose"
        ],
        "sources": [
          "docs"
        ]
      },
      {
        "id": "quiet",
        "label": "Quiet",
        "type": "boolean",
        "option": [
          "-q",
          "--quiet"
        ],
        "sources": [
          "docs"
        ]
      },
      {
        "id": "log_level",
        "label": "Log level",
        "type": "string",
        "option": [
          "--log-level"
        ],
        "sources": [
          "docs"
        ]
      },
      {
        "id": "self_signed",
        "label": "Allow self-signed certificates",
        "type": "boolean",
        "option": [
          "--allowSelfSignedCertificates"
        ],
        "sources": [
          "docs"
        ]
      },
      {
        "id": "command",
        "label": "Command",
        "type": "enum",
        "position": 0,
        "choices": [
          {
            "value": "export",
            "label": "export"
          },
          {
            "value": "import",
            "label": "import"
          },
          {
            "value": "checkout",
            "label": "checkout"
          },
          {
            "value": "status",
            "label": "status"
          },
          {
            "value": "update",
            "label": "update"
          },
          {
            "value": "commit",
            "label": "commit"
          },
          {
            "value": "diff",
            "label": "diff"
          }
        ],
        "sources": [
          "docs"
        ]
      },
      {
        "id": "args",
        "label": "Arguments",
        "type": "string",
        "position": 1,
        "multiple": true,
        "sources": [
          "docs"
        ]
      }
    ],
    "task": [
      {
        "id": "status",
        "label": "Working copy status",
        "fields": [
          "command",
          "verbose"
        ],
        "required": [
          "command"
        ],
        "set": {
          "command": [
            "status"
          ]
        }
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "command",
          "args",
          "verbose",
          "quiet"
        ]
      },
      {
        "id": "advanced",
        "label": "Advanced",
        "fields": [
          "log_level",
          "self_signed"
        ]
      }
    ]
  }
}
