R/bd.logout.R

Defines functions bd.logout

Documented in bd.logout

#' Logout Baidu
#'
#' @export
#'
bd.logout <- function(){
    command=paste('BaiduPCS-Go.exe logout -y')
    x <- system(command = command,
                intern = T,show.output.on.console = F)
    Encoding(x) = 'UTF-8'
    cat(paste0(x,collapse = '\n'))
}
yikeshu0611/RBaiduYun documentation built on Feb. 22, 2021, 4:57 a.m.