Skip to content

Commit 5e8a65b

Browse files
author
Quentin Perez
committed
Update README.md
1 parent 09ec924 commit 5e8a65b

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,10 @@ For node version, check out [scaleway-cli-node](https://github.com/moul/scaleway
6969

7070
We recommend to use the latest version, using:
7171

72+
:warning: Ensure you have a go version `>= 1.5`
73+
7274
```shell
73-
go get -u github.com/scaleway/scaleway-cli/cmd/scw
75+
GO15VENDOREXPERIMENT=1 go get -u github.com/scaleway/scaleway-cli/cmd/scw
7476
```
7577

7678
or
@@ -92,7 +94,7 @@ brew install scw
9294
Install the latest stable release on Mac OS X manually:
9395

9496
```bash
95-
# prepare for forst install and upgrade
97+
# prepare for first install and upgrade
9698
mkdir -p /usr/local/bin
9799
mv /usr/local/bin/scw /tmp/scw.old
98100

@@ -135,18 +137,19 @@ Windows | `x86_64`
135137

136138
You can run scaleway-cli in a sandboxed way using Docker.
137139

138-
*warning*: caching is disabled
140+
:warning: caching is disabled
139141

140142
```console
141143
$ docker run -it --rm --volume=$HOME/.scwrc:/.scwrc scaleway/cli ps
142144
```
143145

144146
### Manual build
145147

146-
1. [Install go](https://golang.org/doc/install)
148+
1. [Install go](https://golang.org/doc/install) a version `>= 1.5`
147149
2. Ensure you have `$GOPATH` and `$PATH` well configured, something like:
148150
* `export GOPATH=$HOME/go`
149151
* `export PATH=$PATH:$GOPATH/bin`
152+
* `export GO15VENDOREXPERIMENT=1`
150153
3. Install the project: `go get github.com/scaleway/scaleway-cli/...`
151154
4. Run: `scw`
152155

@@ -417,7 +420,7 @@ List images.
417420

418421
Options:
419422

420-
-a, --all=false Show all iamges
423+
-a, --all=false Show all images
421424
-f, --filter="" Filter output based on conditions provided
422425
-h, --help=false Print usage
423426
--no-trunc=false Don't truncate output

pkg/cli/cmd_images.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ package cli
77
import (
88
"strings"
99

10-
"github.com/scaleway/scaleway-cli/pkg/commands"
1110
"github.com/Sirupsen/logrus"
11+
"github.com/scaleway/scaleway-cli/pkg/commands"
1212
)
1313

1414
var cmdImages = &Command{
@@ -37,7 +37,7 @@ var cmdImages = &Command{
3737
}
3838

3939
func init() {
40-
cmdImages.Flag.BoolVar(&imagesA, []string{"a", "-all"}, false, "Show all iamges")
40+
cmdImages.Flag.BoolVar(&imagesA, []string{"a", "-all"}, false, "Show all images")
4141
cmdImages.Flag.BoolVar(&imagesNoTrunc, []string{"-no-trunc"}, false, "Don't truncate output")
4242
cmdImages.Flag.BoolVar(&imagesQ, []string{"q", "-quiet"}, false, "Only show numeric IDs")
4343
cmdImages.Flag.BoolVar(&imagesHelp, []string{"h", "-help"}, false, "Print usage")

0 commit comments

Comments
 (0)