Update docs around migration script
and ensure ~/.local/bin is in PATH on OS X
This commit is contained in:
parent
462217f9fc
commit
3914ca9d5f
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
*.coverprofile
|
*.coverprofile
|
||||||
|
.extracted-examples
|
||||||
|
@ -18,6 +18,7 @@ matrix:
|
|||||||
include:
|
include:
|
||||||
- go: 1.6.2
|
- go: 1.6.2
|
||||||
os: osx
|
os: osx
|
||||||
|
env: PATH=$HOME/.local/bin:$PATH
|
||||||
- go: 1.1.2
|
- go: 1.1.2
|
||||||
install: go get -v .
|
install: go get -v .
|
||||||
before_script: echo skipping gfmxr on $TRAVIS_GO_VERSION
|
before_script: echo skipping gfmxr on $TRAVIS_GO_VERSION
|
||||||
|
@ -15,8 +15,8 @@
|
|||||||
|
|
||||||
### Removed
|
### Removed
|
||||||
- the ability to specify `&StringSlice{...string}` or `&IntSlice{...int}`.
|
- the ability to specify `&StringSlice{...string}` or `&IntSlice{...int}`.
|
||||||
To migrate to the new API, you may choose to run [this helper
|
To migrate to the new API, you may choose to run [the migrator
|
||||||
(python) script](./cli-migrate-slice-types).
|
(python) script](./cli-v1-to-v2).
|
||||||
- The optimistic reordering of arguments and flags introduced by
|
- The optimistic reordering of arguments and flags introduced by
|
||||||
https://github.com/codegangsta/cli/pull/36. This behavior only worked when
|
https://github.com/codegangsta/cli/pull/36. This behavior only worked when
|
||||||
all arguments appeared before all flags, but caused [weird issues with boolean
|
all arguments appeared before all flags, but caused [weird issues with boolean
|
||||||
|
@ -66,6 +66,9 @@ import (
|
|||||||
...
|
...
|
||||||
```
|
```
|
||||||
|
|
||||||
|
**NOTE**: There is a [migrator (python) script](./cli-v1-to-v2) available to aid
|
||||||
|
with the transition from the v1 to v2 API.
|
||||||
|
|
||||||
### Pinning to the `v1` branch
|
### Pinning to the `v1` branch
|
||||||
|
|
||||||
Similarly to the section above describing use of the `v2` branch, if one wants
|
Similarly to the section above describing use of the `v2` branch, if one wants
|
||||||
|
Loading…
Reference in New Issue
Block a user