R/cromwellVersion.R

Defines functions cromwell_version

Documented in cromwell_version

#' Get the version of a Cromwell server
#'
#' @export
#' @template serverdeets
#' @inheritSection workflow_options Important
#' @author Amy Paguirigan, Scott Chamberlain
#' @return (character) the Cromwell version
cromwell_version <- function(url = cw_url(), token = NULL) {
  check_url(url)
  http_get(make_url(url, "engine/v1/version"), token = token)
}
FredHutch/fh.wdlR documentation built on March 26, 2024, 8:40 p.m.