R/bash.R

Defines functions bash

Documented in bash

#' Open bash shell in package directory.
#'
#' @template devtools
#' @export
bash <- function(pkg = ".") {
  pkg <- as.package(pkg)

  withr::with_dir(pkg$path, system("bash"))
}
thierrymoudiki/devtools documentation built on July 28, 2020, 12:58 a.m.