Skip to content

add#

Associate a simple nickname with the information needed to interact with a deployment target. Specifying an existing nickname will cause its stored information to be replaced by what is given on the command line.

Usage:

add [OPTIONS]

Options:

  -n, --name TEXT     The nickname of the Posit Connect server to deploy to.
                      [required]
  -s, --server TEXT   The URL for the Posit Connect server to deploy to, OR
                      rstudio.cloud OR shinyapps.io. (Also settable via
                      CONNECT_SERVER environment variable.)
  -k, --api-key TEXT  The API key to use to authenticate with Posit Connect.
                      (Also settable via CONNECT_API_KEY environment
                      variable.)
  -i, --insecure      Disable TLS certification/host validation. (Also
                      settable via CONNECT_INSECURE environment variable.)
  -c, --cacert FILE   The path to trusted TLS CA certificates. (Also settable
                      via CONNECT_CA_CERTIFICATE environment variable.)
  -v, --verbose       Enable verbose output. Use -vv for very verbose (debug)
                      output.
  -A, --account TEXT  The shinyapps.io/Posit Cloud account name. (Also
                      settable via SHINYAPPS_ACCOUNT environment variable.)
  -T, --token TEXT    The shinyapps.io/Posit Cloud token. (Also settable via
                      SHINYAPPS_TOKEN or RSCLOUD_TOKEN environment variables.)
  -S, --secret TEXT   The shinyapps.io/Posit Cloud token secret. (Also
                      settable via SHINYAPPS_SECRET or RSCLOUD_SECRET
                      environment variables.)
  --help              Show this message and exit.