{
  "description": "Copy files to and from Storj buckets with uplink cp. Other subcommands (ls, rm, mb, share, access) are not covered.",
  "name": "uplink",
  "subcommands": [
    {
      "name": "cp",
      "description": "Upload, download or server-side copy. Use sj://bucket/key for Storj locations; wildcards are not supported and only one source is allowed.",
      "options": [
        {
          "names": [
            "--recursive",
            "-r"
          ],
          "description": "Recursive"
        },
        {
          "names": [
            "--dry-run"
          ],
          "description": "Dry run"
        },
        {
          "names": [
            "--access"
          ],
          "description": "A serialized access grant is a secret and ends up in shell history.",
          "args": {
            "name": "access",
            "description": "A serialized access grant is a secret and ends up in shell history.",
            "isOptional": false
          }
        },
        {
          "names": [
            "--transfers",
            "-t"
          ],
          "description": "Parallel transfers",
          "args": {
            "name": "transfers",
            "isOptional": false
          }
        },
        {
          "names": [
            "--parallelism",
            "-p"
          ],
          "description": "Parallel chunks per file",
          "args": {
            "name": "parallelism",
            "isOptional": false
          }
        },
        {
          "names": [
            "--expires"
          ],
          "description": "Relative time such as +2h, or an ISO 8601 date.",
          "args": {
            "name": "expires",
            "description": "Relative time such as +2h, or an ISO 8601 date.",
            "isOptional": false
          }
        }
      ],
      "args": [
        {
          "name": "source",
          "description": "Local path or sj://bucket/key.",
          "isOptional": false
        },
        {
          "name": "destination",
          "description": "Local path or sj://bucket/key.",
          "isOptional": false
        }
      ]
    }
  ]
}
