R/printMsg.R

Defines functions printMsg

Documented in printMsg

#' Print the Command Line Response
#' @description This function prints any command line response from a glitter function if the response is of length greater than 0.
#' @param git_msg Output from a glitter function.
#' @export


printMsg <-
        function(git_msg) {
                if (length(git_msg)) {
                        cat(git_msg, sep = "\n")
                }
        }
patelm9/glitter documentation built on Sept. 21, 2020, 5:42 p.m.