R/copy_template.R

Defines functions copy_template

Documented in copy_template

#' Copy Electron boilerplate into app_root_path
#'
#' @param app_root_path directory of new Electron app
#'
#' @return none
#' @export
#'
copy_template <- function(app_root_path){

  dirs <- system.file("template",
                      package = "electricShine")
  dirs <- list.dirs(dirs)
  dirs <- dirs[-1]

file.copy(dirs,
          app_root_path, recursive = T)
}
chasemc/electricShine documentation built on Oct. 12, 2022, 8:50 a.m.