docs: Update CLI installation instructions.

Fixes #243. The default behaviour for `go get` has changed slightly and we now
need to either provide a module context or disable modules for installation to
work correctly.

Also remove a now-obsolete reference to the source{d} engine CLI.

Signed-off-by: M. J. Fromberger <michael.j.fromberger@gmail.com>
This commit is contained in:
M. J. Fromberger 2019-10-07 08:32:09 -07:00
parent fd3c31c313
commit 7763fcde19

View File

@ -24,14 +24,9 @@ The recommended way to install the `enry` command-line tool is to either
[download a release](https://github.com/src-d/enry/releases) or run:
```
(cd /tmp; go get github.com/src-d/enry/v2/cmd/enry)
(cd "$(mktemp -d)"; go mod init enry; go get github.com/src-d/enry/v2/cmd/enry)
```
This project is now part of [source{d} Engine](https://sourced.tech/engine),
which provides the simplest way to get started with a single command.
Visit [sourced.tech/engine](https://sourced.tech/engine) for more information.
Examples
--------