Run flake8 checks on generate-flag-types
This commit is contained in:
parent
40a9813f6f
commit
fcaccb600b
@ -38,7 +38,7 @@ before_script:
|
||||
- ln -sv ${TRAVIS_BUILD_DIR} ${GOPATH%%:*}/src/gopkg.in/urfave/cli.v2
|
||||
|
||||
script:
|
||||
- flake8 runtests cli-v1-to-v2
|
||||
- flake8 runtests cli-v1-to-v2 generate-flag-types
|
||||
- ./runtests gen
|
||||
- ./runtests vet
|
||||
- ./runtests test
|
||||
|
@ -37,8 +37,8 @@ The meaning of each field is as follows:
|
||||
name (string) - The type "name", which will be suffixed with
|
||||
`Flag` when generating the type definition
|
||||
for `cli` and the wrapper type for `altsrc`
|
||||
type (string) - The type that the generated `Flag` type for `cli`
|
||||
is expected to "contain" as its `.Value` member
|
||||
type (string) - The type that the generated `Flag` type for
|
||||
`cli` is expected to "contain" as its `.Value` member
|
||||
value (bool) - Should the generated `cli` type have a `Value`
|
||||
member?
|
||||
dest (bool) - Should the generated `cli` type support a
|
||||
|
Loading…
Reference in New Issue
Block a user