{
  "name": "cp",
  "description": "Copy files and directories",
  "options": [
    {
      "names": [
        "-a"
      ],
      "description": "Preserves structure and attributes of files but not directory structure"
    },
    {
      "names": [
        "-f"
      ],
      "description": "If the destination file cannot be opened, remove it and create a new file, without prompting for confirmation"
    },
    {
      "names": [
        "-H"
      ],
      "description": "If the -R option is specified, symbolic links on the command line are followed"
    },
    {
      "names": [
        "-i"
      ],
      "description": "Cause cp to write a prompt to the standard error output before copying a file that would overwrite an existing file"
    },
    {
      "names": [
        "-L"
      ],
      "description": "If the -R option is specified, all symbolic links are followed"
    },
    {
      "names": [
        "-n"
      ],
      "description": "Do not overwrite an existing file"
    },
    {
      "names": [
        "-P"
      ],
      "description": "If the -R option is specified, no symbolic links are followed"
    },
    {
      "names": [
        "-R"
      ],
      "description": "If source designates a directory, cp copies the directory and the entire subtree connected at that point. If source ends in a /, the contents of the directory are copied rather than the directory itse"
    },
    {
      "names": [
        "-v"
      ],
      "description": "Cause cp to be verbose, showing files as they are copied"
    },
    {
      "names": [
        "-X"
      ],
      "description": "Do not copy Extended Attributes (EAs) or resource forks"
    },
    {
      "names": [
        "-c"
      ],
      "description": "Copy files using clonefile"
    }
  ],
  "args": [
    {
      "name": "source",
      "is_variadic": true,
      "template": "filepaths"
    },
    {
      "name": "target",
      "template": "filepaths"
    }
  ]
}
