doc: improve documentation.

This commit is contained in:
Ludovic Fernandez
2019-07-24 11:44:04 -07:00
committed by Traefiker Bot
parent f2034819c2
commit 8ace2eb6e6

View File

@@ -16,6 +16,7 @@ It powers executable Go scripts and plugins, in embedded interpreters or interac
* works everywhere Go works
* All Go & runtime resources accessible from script (with control)
* Security: `unsafe` and `syscall` packages not used or exported by default
* Support Go 1.11 and Go 1.12 (the latest 2 major releases)
## Install
@@ -31,6 +32,9 @@ import "github.com/containous/yaegi/interp"
go get -u github.com/containous/yaegi/cmd/yaegi
```
Note that you can use [rlwrap](https://github.com/hanslub42/rlwrap) (install with your favorite package manager),
and alias the `yaegi` command in `alias yaegi='rlwrap yaegi'` in your `~/.bashrc`, to have history and command line edition.
## Usage
### As a command line interpreter