27 lines
652 B
Markdown
27 lines
652 B
Markdown
# rash-git-cli
|
|
|
|
Rash line-mode integration for `git-cli`.
|
|
|
|
`git-cli` remains a pure Racket package. Install and require `rash-git-cli`
|
|
only when the Rash command form is wanted.
|
|
|
|
```racket
|
|
#lang rash
|
|
|
|
(require rash-git-cli)
|
|
|
|
git status
|
|
git add -A
|
|
git log --oneline -5
|
|
git commit -m "Update documentation"
|
|
|
|
;; The ordinary git-cli procedure is still available in Racket expressions.
|
|
(git 'status)
|
|
```
|
|
|
|
Bare words in the Rash line form are quoted as command arguments. Quoted
|
|
strings and parenthesized Racket expressions keep their normal Racket meaning.
|
|
|
|
The package depends on `git-cli`, `rash`, and `linea`. `git-cli` does not
|
|
depend on this package.
|