Robert Liebowitz
80ba835e26
Update GitHub action
...
Bump go version to 1.16 and drop the codecov token, which is now
documented as not required for public repositories.
3 years ago
Robert Liebowitz
b7da09a687
Merge pull request #1255 from cpacifying/master
...
UsageText to be passed from Command to App in startApp
3 years ago
Robert Liebowitz
45eecb1d94
Merge pull request #1264 from dearchap/cleanup_context
...
Cleanup context.go
3 years ago
Robert Liebowitz
45952a7d1b
Merge pull request #1251 from davidsbond/timestamp-destination
...
Add Destination field to TimestampFlag
4 years ago
Naveen Gogineni
07e1fdf17d
Cleanup context.go
4 years ago
Naveen Gogineni
df595c0d85
Fix(issue #631 ). Remove reflect calls for Hidden field
4 years ago
cpacifying
9433f216ff
UsageText to be passed from Command to App in startApp
4 years ago
David Bond
f2bed637fd
Add Destination field to TimestampFlag
...
Adds a `Destination` field for the `TimestampFlag` type that allows you to specify a pointer to
a `Timestamp` rather than having to grab the `Timestamp` from the `cli.Context` using the flag
name.
4 years ago
lynn (they)
13ded1e7c4
Merge pull request #1229 from urfave/lynncyrin-patch-1
...
Don't let stale bot close "help wanted" issues
4 years ago
Ally Dale
06f6815b8d
revert docs/v2/manual.md
4 years ago
Ally Dale
ef9430e77e
fix #1238 : accept multi-value input on sclice flags
4 years ago
AllyDale
c98b85d392
bug fix #1235 : default value changes with parsed values on slice flags
4 years ago
Robert Liebowitz
92d77844fe
Merge pull request #1232 from corburn/patch-2
...
remove repeated comment
4 years ago
Jason Travis
1985ecfdc0
remove repeated comment
4 years ago
Robert Liebowitz
5378891c91
Merge pull request #1210 from jcgregorio/fix-context-value
...
Fix Context.Value.
4 years ago
Robert Liebowitz
795a8adacb
Merge pull request #1208 from Madhur1997/master
...
Display `(accepts multiple inputs)` in the help description for Slice flags.
4 years ago
Robert Liebowitz
498b50b3e1
Merge pull request #1214 from anicoll/flag_lineage_fix
...
fix for parent context not setting child flags
4 years ago
lynn (they)
e1a74460d4
Merge pull request #1227 from nmi/fix_man_section
...
make the man page section selectable
4 years ago
lynn (they)
de20a55d0e
Merge pull request #1228 from zwass/patch-1
...
Link to godoc for v2
4 years ago
Joe Gregorio
d56c85cef5
Add test for the else path.
4 years ago
Joe Gregorio
b8debb6845
Fix Context.Value.
...
Before this change the added test would crash on a nil
pointer dereference because the original code would
only look in the local fileSet and not across all
the fileSets.
4 years ago
Madhur batra
e73d6e133d
Merge branch 'master' of https://github.com/urfave/cli
4 years ago
Nobuhiro MIKI
ed2ee4bc4a
make the man page section selectable
...
Signed-off-by: Nobuhiro MIKI <nob@bobuhiro11.net>
4 years ago
Zach Wasserman
797d5a8d46
Link directly to pkg.go.dev
4 years ago
Andrew Nicoll
06e7bdec34
add test for nil
4 years ago
lynn (they)
c3ebeaee7b
Update stale.yml
4 years ago
Zach Wasserman
a7dc35be5b
Link to godoc for v2
...
This is consistent with the default tag for the repository.
4 years ago
lynn (they)
44ec98527e
Merge pull request #1225 from Coderlane/command_reader
...
fix: Propagate App.Reader to subcommands
4 years ago
lynn (they)
8fb96e61af
Merge pull request #1226 from Coderlane/doc_command
...
fix: Fixup runnable example input arguments
4 years ago
Travis Lane
1f380b0733
fix: Fixup runnable example input arguments
...
This command has no name, so drop the `test-cmd` in `args`.
4 years ago
Travis Lane
17032bc33c
fix: Propagate App.Reader to subcommands
...
This change copies the `Reader` set in `App` to the new `App` created for
subcommands. I've also added a basic test to demonstrate the issue.
4 years ago
Madhur batra
fc1d3eb8da
Merge branch 'master' of https://github.com/urfave/cli
4 years ago
lynn (they)
2e9dc401bb
Merge pull request #1216 from wgumenyuk/patch-1
...
Fix: typo
4 years ago
Wlad Gumenyuk
57d60cd570
Fix: typo
...
Corrected "eror" to "error" on line 331.
4 years ago
Robert Liebowitz
83394fca6f
Merge pull request #1207 from bbkane/patch-1
...
Add link to pkg.go.dev docs in manual.md
4 years ago
Andrew Nicoll
ebe2c0ea70
add for int64
4 years ago
Andrew Nicoll
02f3866db2
add nother test
4 years ago
Andrew Nicoll
55992853bf
add flag tests
4 years ago
Andrew Nicoll
a27ce0e881
unable to see whats happening here with lack of debug but this seems to resolve the failing doc test
4 years ago
Andrew Nicoll
2144cc5ad4
fix for parent context not setting child flags
4 years ago
Ajitem Sahasrabuddhe
d5833134fc
Merge pull request #1212 from jcgregorio/fix-cli-yml
...
Fix workflows/cli.yml.
4 years ago
Joe Gregorio
d5643c884a
Fix workflows/cli.yml.
...
The ::set-env and ::add-path commands no longer work and need to
to be replaced. See:
https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
4 years ago
Madhur batra
ea14b62ecc
Issue #1066 : Display `(accepts multiple inputs)` for SliceFlags in the
...
help description.
4 years ago
Benjamin Kane
7c756af2b4
Add link to pkg.go.dev docs
4 years ago
Robert Liebowitz
fe989e1a7a
Merge pull request #1202 from fxrlv/patch-1
...
use Name as default to HelpName
4 years ago
Mostyn Bramley-Moore
cdc1f6e07c
fixup! Report the source of a value when we cannot parse it
...
move bool to the end of the return arguments
remove "from " prefix in the source/fromWhere description
remove TODO notes from functions that don't currently perform error checking
4 years ago
Mostyn Bramley-Moore
500d6b04e6
Report the source of a value when we cannot parse it
...
If you allow a flag to be set from environment variables or files and
a parse error occurs from one of them, it is very useful for the error
message to mention where the value came from.
Without this, it can be difficult to notice an error caused by an
unexpected environment variable being set.
Implements #1167 .
4 years ago
Ajitem Sahasrabuddhe
ec731febcc
Merge pull request #1200 from urfave/add-support-for-go-115
...
Add Support for Go 1.15
4 years ago
Alexander Frolov
e40b83a394
use Name as default to HelpName
4 years ago
Ajitem Sahasrabuddhe
09ac54c2f9
Merge pull request #1175 from imle/imle/add-better-multi-line-description-formatting
...
Added template functions for multi-line Description formatting.
4 years ago