Skip to main content

ATTACHMENT_DOWNLOAD

Constant ATTACHMENT_DOWNLOAD 

Source
pub const ATTACHMENT_DOWNLOAD: &str = "\
Download one attachment.

```
ytcli attachment download PROJ-1 29 -o ./tmp
ytcli attachment download PROJ-1 29 -o ./tmp --force
```

The destination directory is required and the file lands under its own id, never
under a name the server chose: a crafted filename does not get to decide where
bytes go. An existing file is kept unless `--force` says otherwise.";