From 2fab304c457ad7e08332c1b950f7c97a5dffc058 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Thu, 10 Jan 2019 18:08:54 +0100 Subject: clarified readme --- README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/README.md b/README.md index 7736718..47066c4 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,30 @@ `repl.c` creates a read-eval-print loop out of any command. It is a simple and readable C program that requires GNU readline. +In other words, it's a REPL for command-line interfaces that always +require a "prefix" command. If you're tired of having to type `git` +everytime you want to issue a `git` command: + + $ git init + $ git add . + $ git status + $ git commit + $ git push + $ git status + +... then you can do this instead: + + $ repl git + git > init + git > add . + git > status + git > commit + git > push + git > status + +The program automatically prefixes each command with `git`, so that +you don't have to type it. + ### Installation The following commands install `repl` in `/usr/local/bin` and -- cgit v1.2.3