883 B
883 B
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.
#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.
Package tests
The package tests validate the Rash/Linea binding without invoking an external
Git executable. Executable examples are excluded from raco test --package;
they remain available as examples for interactive use.