Merge branch 'master' into master
This commit is contained in:
commit
d6523cf869
4
.github/CODEOWNERS
vendored
Normal file
4
.github/CODEOWNERS
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# See https://help.github.com/articles/about-codeowners/
|
||||||
|
# for more info about CODEOWNERS file
|
||||||
|
|
||||||
|
* @urfave/cli
|
@ -1,11 +1,10 @@
|
|||||||
## Contributing
|
## Contributing
|
||||||
|
|
||||||
**NOTE**: the primary maintainer(s) may be found in
|
Use @urfave/cli to ping the maintainers.
|
||||||
[./MAINTAINERS.md](./MAINTAINERS.md).
|
|
||||||
|
|
||||||
Feel free to put up a pull request to fix a bug or maybe add a feature. I will
|
Feel free to put up a pull request to fix a bug or maybe add a feature. We will
|
||||||
give it a code review and make sure that it does not break backwards
|
give it a code review and make sure that it does not break backwards
|
||||||
compatibility. If I or any other collaborators agree that it is in line with
|
compatibility. If collaborators agree that it is in line with
|
||||||
the vision of the project, we will work with you to get the code into
|
the vision of the project, we will work with you to get the code into
|
||||||
a mergeable state and merge it into the master branch.
|
a mergeable state and merge it into the master branch.
|
||||||
|
|
||||||
@ -15,5 +14,5 @@ to merge others pull requests. It is very important that new code does not
|
|||||||
break existing code, so be careful about what code you do choose to merge.
|
break existing code, so be careful about what code you do choose to merge.
|
||||||
|
|
||||||
If you feel like you have contributed to the project but have not yet been added
|
If you feel like you have contributed to the project but have not yet been added
|
||||||
as a collaborator, we probably forgot to add you :sweat_smile:. Please open an
|
as a collaborator, we probably forgot to add you :sweat_smile:. Please open an
|
||||||
issue!
|
issue!
|
||||||
|
@ -1,4 +0,0 @@
|
|||||||
- @meatballhat
|
|
||||||
- @lynncyrin
|
|
||||||
- @AudriusButkevicius
|
|
||||||
- @asahasrabuddhe
|
|
@ -902,14 +902,14 @@ import (
|
|||||||
func main() {
|
func main() {
|
||||||
app := cli.NewApp()
|
app := cli.NewApp()
|
||||||
app.Flags = []cli.Flag{
|
app.Flags = []cli.Flag{
|
||||||
cli.BoolTFlag{
|
cli.BoolFlag{
|
||||||
Name: "ginger-crouton",
|
Name: "ginger-crouton",
|
||||||
Usage: "is it in the soup?",
|
Usage: "Add ginger croutons to the soup",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
app.Action = func(ctx *cli.Context) error {
|
app.Action = func(ctx *cli.Context) error {
|
||||||
if !ctx.Bool("ginger-crouton") {
|
if !ctx.Bool("ginger-crouton") {
|
||||||
return cli.NewExitError("it is not in the soup", 86)
|
return cli.NewExitError("Ginger croutons are not in the soup", 86)
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user