Commit Graph

118 Commits

Author SHA1 Message Date
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
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
Bo-Yi Wu
4267cd827c [ci skip] Fix template syntax error 2017-01-04 10:28:58 +08:00
Antonio Murdaca
c516bce8f1
flags: provide a type to sort flags
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-10-21 10:37:18 +02:00
b425397570 Merge branch 'master' into update-wording-around-gopkgin 2016-09-11 11:43:05 -04:00
Nathan Bullock
76164d6e36 Fix typo in README
cosumized -> customized
2016-09-05 07:16:05 -04:00
Jesse Szwedko
4b62cb6b33 Update wording around gopkg.in pinning to be more accurate
Since we have `v1.X` tags, gopkg.in/urfave/cli.v1 will pull the latest
tagged release rather than the `v1` branch. Since there are no tagged
`v2` releases, `gopkg.in` will pull the latest commit of that branch.

Fixes #513
2016-09-03 14:23:36 -07:00
Jesse Szwedko
b616f60886 Note TOML support in README and CHANGELOG 2016-07-31 12:11:52 -07:00
Yi EungJun
c59ec842c1 README: Remove unnecessary 'v' from version numbers
'partay version v19.99.0' sounds 'partay version version 19.99.0'
because 'v' stands for 'version'.
2016-07-25 23:44:02 +09:00
Dan Buch
06f64bd31d
Update docs and change log regarding go1.1 drop 2016-07-11 05:16:14 -04:00
Dan Buch
c20f912780
Add stronger warning about v2 volatility
and make **Notice** style more consistent
2016-06-20 10:57:45 -04:00
81892f3f5f Merge branch 'master' into readme-toc 2016-06-16 15:30:52 -04:00
Dan Buch
ee69d3c011
Generate TOC in README
and assert it is up to date
2016-06-16 11:47:19 -04:00
Dan Buch
a0e694ed72
Add UintFlag, Uint64Flag types and supporting code 2016-06-16 11:13:32 -04:00
Dan Buch
288b636ba3
Modifying full API example for more migrator exercise 2016-06-01 22:27:52 -04:00
Dan Buch
b5c48311fa
Ensure the full API example really runs 2016-06-01 14:06:51 -04:00
Dan Buch
1c81757e1f
Add more v1 API examples 2016-06-01 13:28:27 -04:00
Dan Buch
0990e4b2ad
Update appveyor badge URL
to point to new team name
2016-06-01 10:46:39 -04:00
Dan Buch
41310fbe1b
Enable more examples as runnable in README
so that they can be verified by the migrator script over in the v2 branch.
2016-05-31 15:49:48 -04:00
c455f5c3ec TRIVIAL formally -> formerly 2016-05-27 14:48:19 -04:00
Dan Buch
e4666418bb
Add (and backfill) some notes about platform support 2016-05-23 20:34:33 -04:00
97e55662b1 Add Windows (appveyor) badge 2016-05-22 18:52:21 -04:00
Jesse Szwedko
024b4c6240 Update references to codegangsta to urfave (new org name)
Also add notice to README
2016-05-22 14:42:23 -07:00
Dan Buch
00bd2a95b2
Do not test ./altsrc on go1.1
as the YAML library requires go1.2+
2016-05-21 08:53:01 -04:00
0eb4e0be6c TRIVIAL removal of extra "current" 2016-05-17 03:33:51 -04:00
Dan Buch
61e5e9362f
Clarify state of v1 branch 2016-05-16 10:48:21 -04:00
Dan Buch
8af550936f
Add another bit about pinning to v1 2016-05-16 10:46:43 -04:00
Dan Buch
1beb5f66cd
Add some docs about the v2 branch 2016-05-16 10:43:05 -04:00
Jesse Szwedko
92897b9bf6 Updating coverage badges 2016-05-10 20:42:38 -07:00
Dan Buch
50b384d904
Separate badges for package coverage 2016-05-10 14:51:27 -04:00