https://github.com/randy3k/cliff
Execute command line programs interactively
https://github.com/randy3k/cliff
Last synced: 5 months ago
JSON representation
Execute command line programs interactively
- Host: GitHub
- URL: https://github.com/randy3k/cliff
- Owner: randy3k
- License: other
- Created: 2020-05-03T19:59:31.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-08-17T19:20:14.000Z (8 months ago)
- Last Synced: 2024-10-19T05:57:48.308Z (6 months ago)
- Language: R
- Homepage: https://randy3k.github.io/cliff/
- Size: 220 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.Rmd
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - randy3k/cliff - Execute command line programs interactively (R)
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 = " ")))
```[](https://github.com/randy3k/cliff/actions/workflows/check.yaml)
[](https://codecov.io/gh/randy3k/cliff)
[](https://cran.r-project.org/package=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")
```