{
  "description": "Create a new archive with borg create. Other borg subcommands, pattern options and stdin reading are not covered.",
  "name": "borg",
  "subcommands": [
    {
      "name": "create",
      "description": "Create an archive",
      "options": [
        {
          "names": [
            "--dry-run",
            "-n"
          ],
          "description": "Dry run"
        },
        {
          "names": [
            "--stats",
            "-s"
          ],
          "description": "Print statistics"
        },
        {
          "names": [
            "--list"
          ],
          "description": "List items"
        },
        {
          "names": [
            "--json"
          ],
          "description": "JSON stats"
        },
        {
          "names": [
            "--exclude",
            "-e"
          ],
          "description": "Exclude pattern",
          "args": {
            "name": "exclude",
            "isOptional": false,
            "isVariadic": true
          },
          "isRepeatable": true
        },
        {
          "names": [
            "--exclude-from"
          ],
          "description": "Exclude file",
          "args": {
            "name": "exclude_from",
            "isOptional": false,
            "template": "filepaths"
          }
        },
        {
          "names": [
            "--exclude-caches"
          ],
          "description": "Exclude cache directories"
        },
        {
          "names": [
            "--one-file-system",
            "-x"
          ],
          "description": "Stay on one file system"
        },
        {
          "names": [
            "--numeric-ids"
          ],
          "description": "Numeric owner IDs"
        }
      ],
      "args": [
        {
          "name": "archive",
          "description": "Repository and archive name, for example /backups/repo::{hostname}-{now}.",
          "isOptional": false
        },
        {
          "name": "paths",
          "isOptional": true,
          "isVariadic": true,
          "template": "filepaths"
        }
      ]
    }
  ]
}
