{
  "description": "Add files or directories to IPFS with ipfs add. Experimental chunking, inline and filestore options are left out.",
  "name": "ipfs",
  "subcommands": [
    {
      "name": "add",
      "description": "Add one or more paths to the local node and pin them. Experimental options are left out.",
      "options": [
        {
          "names": [
            "--recursive",
            "-r"
          ],
          "description": "Add directories recursively"
        },
        {
          "names": [
            "--hidden",
            "-H"
          ],
          "description": "Include hidden files"
        },
        {
          "names": [
            "--wrap-with-directory",
            "-w"
          ],
          "description": "Wrap in a directory"
        },
        {
          "names": [
            "--only-hash",
            "-n"
          ],
          "description": "Only hash, do not store"
        },
        {
          "names": [
            "--quieter",
            "-Q"
          ],
          "description": "Print only the final hash"
        },
        {
          "names": [
            "--cid-version"
          ],
          "description": "CID version",
          "args": {
            "name": "cid_version",
            "isOptional": false
          }
        },
        {
          "names": [
            "--to-files"
          ],
          "description": "Also add to MFS path",
          "args": {
            "name": "to_files",
            "isOptional": false
          }
        }
      ],
      "args": [
        {
          "name": "paths",
          "isOptional": true,
          "isVariadic": true,
          "template": "filepaths"
        }
      ]
    }
  ]
}
