Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/randy3k/cliff

Execute command line programs interactively
https://github.com/randy3k/cliff

Last synced: 26 days ago
JSON representation

Execute command line programs interactively

Awesome Lists containing this project

README

        

---
output: github_document
---

```{r results='asis', echo = FALSE, eval = TRUE}
d <- read.dcf("DESCRIPTION")
```

```{r results="asis", echo = FALSE, eval = TRUE}
title <- d[colnames(d) == "Title"]
cat(c("# ", paste(trimws(strsplit(title, "\n")[[1]]), collapse = " ")))
```

[![check](https://github.com/randy3k/cliff/actions/workflows/check.yaml/badge.svg)](https://github.com/randy3k/cliff/actions/workflows/check.yaml)
[![codecov](https://codecov.io/gh/randy3k/cliff/branch/master/graph/badge.svg)](https://codecov.io/gh/randy3k/cliff)
[![CRAN\_Status\_Badge](https://www.r-pkg.org/badges/version/cliff)](https://cran.r-project.org/package=cliff)
[![](https://cranlogs.r-pkg.org/badges/grand-total/cliff)](https://cran.r-project.org/package=cliff)

Github: [https://github.com/randy3k/cliff](https://github.com/randy3k/cliff)

Documentation: [https://randy3k.github.io/cliff](https://randy3k.github.io/cliff/)

```{r results="asis", echo = FALSE, eval = TRUE}
cat(d[colnames(d) == "Description"])
```

## Installation

You can install the released version of cliff from [CRAN](https://CRAN.R-project.org) with:

``` r
install.packages("cliff")
```

And the development version from [GitHub](https://github.com/) with:

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

```{r example}
git <- function(...) cliff::run("git", ...)

git("log", git("rev-parse", "--abbrev-ref", "HEAD"), "-n1")
```