This function downloads Seven Bridges command line uploader and extract the .tgz archive to a specified directory.

get_uploader(
  platform = c("cgc", "aws-us", "aws-eu", "gcp"),
  destdir = NULL,
  quiet = FALSE
)

misc_get_uploader()

Arguments

platform

Seven Bridges platform for which the uploader is designed. Possible choices are: "cgc" (Cancer Genomics Cloud), "aws-us" (Amazon Web Services US), "aws-eu" (Amazon Web Services EU), and "gcp" (Google Cloud Platform). Default is "cgc".

destdir

The directory to extract the downloaded Seven Bridges command line uploader to. If the specified directory is not present, it will be created.

quiet

Should the download progress be printed?

Value

0 if the command line uploader is successfully downloaded and unarchived.

References

https://docs.sevenbridges.com/docs/upload-via-the-command-line

Examples

# Download CGC CLI uploader to `~/Downloads` dir <- "~/Downloads/" if (FALSE) { get_uploader("cgc", dir)}