diff options
author | John Ankarström <john@ankarstrom.se> | 2019-01-10 15:21:37 +0100 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2019-01-10 15:22:11 +0100 |
commit | ebba43d156b6feb0fb845c603b1de1ea930ecd4e (patch) | |
tree | 632cf56cf906002a3cd04e0a622ca1b43406c703 | |
parent | 69c54e2597e93aa98e5a0a0b8d9695d8263c3102 (diff) | |
download | repl-ebba43d156b6feb0fb845c603b1de1ea930ecd4e.tar.gz |
added man page to readme
-rw-r--r-- | README.md | 52 |
1 files changed, 46 insertions, 6 deletions
@@ -14,10 +14,50 @@ edit the Makefile and modify the `PREFIX` variable. To uninstall both binary and man page, run `make uninstall`. -### Usage +*** - $ repl git - git > status - On branch master - Your branch is up to date with 'origin/master'. - git > +REPL(1) - General Commands Manual + +### NAME + +**repl** - create a REPL out of any command + +### SYNPOSIS + +**repl** +*command* + +### DESCRIPTION + +When invoked, the +**repl** +utility puts the user in a read-eval-print loop, in which it reads +input from the user, appends it to the +*command* +provided by the single argument, and lets the shell evaluate the +full string. + +Built on GNU readline, it supports history and Emacs key bindings. + +**repl** +is useful for command-line interfaces built on a +"prefix command" +that has to be typed over and over preceding the actual command, like +git(1). + +### EXAMPLES + + $ repl git + git > status + On branch master + Your branch is up to date with 'origin/master'. + git > + +### AUTHORS + +**repl** +is written by +John Ankarström, +available {on the web|by e-mail} at john{.|@}ankarstrom.se. + +OpenBSD 6.4 - January 10, 2019 |