Initial import of rash-git-cli

This commit is contained in:
2026-08-17 22:00:11 +02:00
parent 6dfcc30427
commit 7dbac023bb
7 changed files with 213 additions and 14 deletions
+24 -1
View File
@@ -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.