Skip to content
/ cliff Public

Execute command line programs interactively

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

randy3k/cliff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Execute Command Line Programs Interactively

check codecov CRAN_Status_Badge

Github: https://github.com/randy3k/cliff

Documentation: https://randy3k.github.io/cliff

Execute command line programs and format results for interactive use. It is based on the package ‘processx’ so it does not use shell to start up the process like system() and system2(). It also provides a simpler and cleaner interface than processx::run().

Installation

You can install the released version of cliff from CRAN with:

install.packages("cliff")

And the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("randy3k/cliff")

Example

git <- function(...) cliff::run("git", ...)

git("log", git("rev-parse", "--abbrev-ref", "HEAD"), "-n1")
## commit 4e877ae133e77889513e7b56519eb6ec3062a768
## Author: Randy Lai <randy.cs.lai@gmail.com>
## Date:   Sat Nov 6 15:31:23 2021 -0700
## 
##     Update docs

About

Execute command line programs interactively

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Packages

No packages published

Languages