Initial import of rash-git-cli
This commit is contained in:
@@ -1,3 +1,26 @@
|
||||
# rash-git-cli
|
||||
|
||||
A rash module of the racket module 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.
|
||||
|
||||
Reference in New Issue
Block a user