get_uploader: Download Seven Bridges command line uploader and extract to a...

Description Usage Arguments Value References Examples

View source: R/misc-uploader.R

Description

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

Usage

1
2
3
4
5
6
7
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

1
2
3
4
5
# Download CGC CLI uploader to `~/Downloads`
dir <- "~/Downloads/"
## Not run: 
get_uploader("cgc", dir)
## End(Not run)

sevenbridges documentation built on March 25, 2021, 6 p.m.