Commit Graph

146 Commits

Author SHA1 Message Date
lynn [they]
19b75862ba
Update README.md 2020-01-18 14:10:20 -08:00
lynn [they]
0757e0c73c
Merge branch 'master' into lynncyrin-patch-9 2019-12-24 05:15:52 -08:00
lynn [they]
8bb9d2149a
Update README.md 2019-12-24 02:07:27 -08:00
lynn [they]
dd803d3ea3
Update README.md 2019-12-24 01:22:07 -08:00
Nick Olinger
7ca7126677
Update readme build info 2019-12-19 22:22:26 +09:00
lynn [they]
4aead03ade
Merge branch 'master' into remove-beta-warning 2019-11-29 00:42:46 -08:00
lynn [they]
107f94275b
Update README.md 2019-11-29 00:22:44 -08:00
lynn [they]
395461401d
Remove v2 beta warning 2019-11-28 16:32:01 -08:00
Evgeniy Kulikov
e4fc68c63e
Fix wrong url for v2
Repo not found for `github.com/urfave/cli.v2`
```
→ go get github.com/urfave/cli.v2
go get github.com/urfave/cli.v2: git ls-remote -q origin in $GOPATH/pkg/mod/cache/vcs/f2d73ffea2d87a2720e81700b9dcf7285d8c2e5750a4b4c55dff989e537a7c8e: exit status 128:
        remote: Repository not found.
        fatal: repository 'https://github.com/urfave/cli.v2/' not found
```

Correct path `github.com/urfave/cli/v2`
```
→ go get github.com/urfave/cli/v2
go: finding github.com/urfave/cli/v2 v2.0.0-alpha.2
go: downloading github.com/urfave/cli/v2 v2.0.0-alpha.2
go: extracting github.com/urfave/cli/v2 v2.0.0-alpha.2
```
2019-11-19 10:36:13 +03:00
lynn [they]
7739b8cf88
Update README.md
Co-Authored-By: Sascha Grunert <mail@saschagrunert.de>
2019-11-14 12:51:31 -08:00
lynn [they]
4545ff3aa1
Mention v2 first 2019-11-13 14:03:36 -08:00
lynn [they]
f11ce3ba2f
Update readme for the v2 merge
_(title)_
2019-11-08 22:29:06 -08:00
Lynn Cyrin (they/them)
9b0f38824e
add usage documentation links 2019-10-12 00:59:50 -07:00
Lynn Cyrin (they/them)
3cf1eb69b9
update import path 2019-10-12 00:54:37 -07:00
Lynn Cyrin (they/them)
0b26e2fa44
update install path 2019-10-12 00:54:09 -07:00
Lynn Cyrin
43f9b3ff1c setup versioned docs 2019-09-15 20:41:43 -07:00
Lynn Cyrin (they/them)
edd8cb2068
Bump go version to 1.10 in readme
Closes https://github.com/urfave/cli/issues/875
2019-08-24 14:44:56 -07:00
russoj88
6a25af9641
Merge branch 'master' into UpdateREADME_gopkg.in_v1 2019-08-17 10:01:35 -07:00
Lynn Cyrin (they/them)
e11183fe50
Modernize readme
I assume that people no longer care about what the package was named many years ago
2019-08-17 02:44:49 -07:00
russoj88
3bc62c4fde Mimic v2 example code from above. 2019-08-15 12:30:29 -07:00
russoj88
62b8a7cc2c Add "Using v1 releases" to table of contents. 2019-08-14 11:21:56 -07:00
russoj88
cc091db561
Update README.md
Only instruct on right way to use library.

Co-Authored-By: Lynn Cyrin (they/them) <lynncyrin@gmail.com>
2019-08-14 11:21:40 -07:00
russoj88
f529dad70c
Update README.md
Include suggestion to put example in.

Co-Authored-By: Lynn Cyrin (they/them) <lynncyrin@gmail.com>
2019-08-14 11:20:58 -07:00
russoj88
f2c26bab77 Rewrite the "pinning to v1" section. 2019-08-13 21:10:38 -07:00
Ajitem Sahasrabuddhe
286133fee5
Merge branch 'master' into combined 2019-08-08 13:33:32 +05:30
Audrius Butkevicius
815c29ffc7
Merge branch 'master' into combined 2019-08-08 07:03:49 +01:00
Ajitem Sahasrabuddhe
fd395786a2
Update README.md
remove quotes around coverage badge
2019-08-07 21:00:07 +05:30
Ajitem Sahasrabuddhe
22e1fc8419
Update README.md
add codecov.io badge
2019-08-07 14:02:52 +05:30
Ajitem Sahasrabuddhe
e2de8c7458
update readme with correct error message, add 1.12 and 1.11 to travis 2019-08-07 12:38:17 +05:30
Robert Liebowitz
8d31c5e167
Update README.md
Co-Authored-By: Ajitem Sahasrabuddhe <ajitem.s@outlook.com>
2019-08-05 07:05:07 -04:00
Robert Liebowitz
03153b9cf8 Allow combining short flags globally 2019-08-05 06:38:23 -04:00
Lynn Cyrin (they/them)
c25e4cab32
Merge branch 'master' into master 2019-08-04 12:30:28 -07:00
Lynn Cyrin (they/them)
b1a7c502eb
Merge branch 'master' into master 2019-08-03 09:36:27 -07:00
Audrius Butkevicius
b2421d1235
Merge branch 'master' into patch-1 2019-08-03 13:25:34 +01:00
Jordan Christiansen
c75a689f62 Make exit code example more clear
The purpose of this example is to show that you can exit with an error
code if a flag is unspecified, but with the code as it is, the only way
to cause a non-zero exit is by adding the flag `--ginger-crouton=false`,
which is not explained in the example.

In this new version of the example, running the command with no flag
will exit with an error, and running it with the flag will exit
normally.
2019-08-02 14:28:57 -05:00
mingrammer
ddc3453179 Update README.md 2019-03-07 00:04:18 +09:00
Christopher Waldon
3e145076ab
Clarify that altsrc supports both TOML and JSON 2018-10-12 11:30:46 -04:00
Agis Anastasopoulos
d7c3be8267
Fix README typo 2018-08-21 11:19:37 +03:00
8dc47eb3cb
Merge branch 'master' into backport-json-support 2018-02-25 16:09:48 -05:00
bc77a15c69
Merge branch 'master' into check-run-error-in-readme 2018-02-24 21:54:06 -05:00
45289ea7a0
Adjust contribution and maintainer prose per current reality 2018-02-20 12:40:43 -05:00
59e1ddb43e
Merge branch 'master' into check-run-error-in-readme 2018-02-13 15:27:04 -05:00
baude
fd5382e7a5 Combine bool short names
Adds the ability to allow the combination of bool
short-name options.  For example,

cmd foobar -ov

This is done through a bool "UseShortOptionHandler" set in
the command struct.

Built upon PR #621

Signed-off-by: baude <bbaude@redhat.com>
2017-11-13 16:29:20 -06:00
Jesse Szwedko
9838c8bcaa Update README examples to check for errors
To encourage good practices.
2017-11-11 17:46:07 -08:00
Brad Rydzewski
18a556e192 fix FilePath documentation in README.md 2017-10-31 10:29:11 -05:00
Brad Rydzewski
4cc453ba67 document field in README 2017-10-31 10:29:11 -05:00
Alan D. Cabrera
1d334f10ce Add newline before command categories
The simple formatting change adds a nice blank line before each command
category.  Documentation in README.md is also updated to be more
accurate.
2017-09-08 10:43:30 -07:00
Jesse Szwedko
e1fa109a31 Define flag source precedence in README
Fixes #646
2017-08-10 17:54:24 -07:00
John Weldon
6a70c4cc92 Add JSON InputSource to altsrc package
- Implement NewJSONSource* functions for returning an InputSource from
   various JSON data sources.
 - Copy and modify YAML tests for the JSON InputSource

Changes:

* Reverted the method calls and structs to match the v1 interface
2017-02-14 21:07:04 -08:00
Maximilian Meister
ac772237b9
command: enable ordering commands by name 2017-01-09 16:40:32 +01:00