Go to file
dearchap ae8d932413
Feature:(issue_269) Allow external package flag definitions (#1540)
* Feature:(issue_269) Add compatibility with external package flag definitions

* Add tests

* Add defer to remove global flag

* Use ptr to receiver for extFlag

* Add const for flag prefix to ignore
2022-10-28 09:17:13 -04:00
.github Spelling (#1543) 2022-10-23 23:50:47 +03:00
altsrc make cmd.Run use varargs 2022-10-10 18:32:56 -04:00
autocomplete Refinements to removal of zsh hack 2022-05-22 09:07:03 -04:00
cmd/urfave-cli-genflags Fix:(issue_1206) Default value shouldnt depend on env variable or value set from cmdline 2022-10-14 17:46:03 -04:00
docs Merge pull request #1544 from dearchap/issue_786 2022-10-25 07:50:20 -04:00
internal Accept the MKDOCS_REMOTE_GITHUB_TOKEN var as intended 2022-09-12 07:33:08 -04:00
testdata Feature: (issue_1451) customized slice flag separator (#1546) 2022-10-27 17:32:00 +08:00
.flake8 Allow slightly longer lines in Python scripts 2017-02-14 21:17:32 -08:00
.gitignore Merge branch 'main' into shift-supported-go 2022-08-16 09:26:39 -04:00
app_test.go Feature:(issue_269) Allow external package flag definitions (#1540) 2022-10-28 09:17:13 -04:00
app.go Feature:(issue_269) Allow external package flag definitions (#1540) 2022-10-28 09:17:13 -04:00
args.go add is set method to flag interface - refer #294 2019-09-15 18:46:52 +05:30
category.go Fix tests 2022-10-06 20:53:05 -05:00
cli.go Build and run urfave-cli-genflags via its Makefile 2022-10-09 11:25:02 -04:00
CODE_OF_CONDUCT.md Use google group email addresses 2022-05-07 09:30:42 -04:00
command_test.go Fix:(issue_1548) Check root before run default cmd 2022-10-25 14:44:52 +08:00
command.go Fix:(issue_1548) Check root before run default cmd 2022-10-25 14:44:52 +08:00
context_test.go fix: Context.Set no such flag 2022-09-20 16:15:59 +08:00
context.go Fix:(issue_1263) FlagNames should return names set via env as well 2022-10-16 19:02:49 -04:00
docs_test.go Add urfave_cli_no_docs build tag 2022-04-25 10:16:31 -07:00
docs.go Backing out build tag for suggestions per recommendation 2022-05-17 08:49:15 -04:00
errors_test.go Feature:(issue_1090): Add unwrap for ExitCoder (#1545) 2022-10-28 09:15:54 -04:00
errors.go Feature:(issue_1090): Add unwrap for ExitCoder (#1545) 2022-10-28 09:15:54 -04:00
fish_test.go Move some test helpers from docs_test to fish_test 2022-04-25 10:04:40 -07:00
fish.go Spelling (#1543) 2022-10-23 23:50:47 +03:00
flag_bool.go Fix:(issue_1206) Default value shouldnt depend on env variable or value set from cmdline 2022-10-14 17:46:03 -04:00
flag_duration.go Fix:(issue_1206) Default value shouldnt depend on env variable or value set from cmdline 2022-10-14 17:46:03 -04:00
flag_ext.go Feature:(issue_269) Allow external package flag definitions (#1540) 2022-10-28 09:17:13 -04:00
flag_float64_slice.go Call FlagStringer in String() method of slice flags 2022-09-30 15:01:22 +02:00
flag_float64.go feat: flag action 2022-09-16 00:07:12 +09:00
flag_generic.go Fix:(issue_1206) Default value shouldnt depend on env variable or value set from cmdline 2022-10-14 17:46:03 -04:00
flag_int64_slice.go Call FlagStringer in String() method of slice flags 2022-09-30 15:01:22 +02:00
flag_int64.go Fix:(issue_1206) Default value shouldnt depend on env variable or value set from cmdline 2022-10-14 17:46:03 -04:00
flag_int_slice.go Call FlagStringer in String() method of slice flags 2022-09-30 15:01:22 +02:00
flag_int.go Fix:(issue_1206) Default value shouldnt depend on env variable or value set from cmdline 2022-10-14 17:46:03 -04:00
flag_path.go Fix:(issue_1206) Default value shouldnt depend on env variable or value set from cmdline 2022-10-14 17:46:03 -04:00
flag_string_slice.go Call FlagStringer in String() method of slice flags 2022-09-30 15:01:22 +02:00
flag_string.go Fix:(issue_1206) Default value shouldnt depend on env variable or value set from cmdline 2022-10-14 17:46:03 -04:00
flag_test.go Feature: (issue_1451) customized slice flag separator (#1546) 2022-10-27 17:32:00 +08:00
flag_timestamp.go Fix:(issue_1206) Default value shouldnt depend on env variable or value set from cmdline 2022-10-14 17:46:03 -04:00
flag_uint64_slice.go Call FlagStringer in String() method of slice flags 2022-09-30 15:01:22 +02:00
flag_uint64.go Fix:(issue_1206) Default value shouldnt depend on env variable or value set from cmdline 2022-10-14 17:46:03 -04:00
flag_uint_slice.go Call FlagStringer in String() method of slice flags 2022-09-30 15:01:22 +02:00
flag_uint.go Fix:(issue_1206) Default value shouldnt depend on env variable or value set from cmdline 2022-10-14 17:46:03 -04:00
flag-spec.yaml Rebase main, update flag-spec.yaml to add Action field 2022-09-16 00:38:20 +09:00
flag.go Feature: (issue_1451) customized slice flag separator (#1546) 2022-10-27 17:32:00 +08:00
funcs.go Add App.InvalidFlagAccessHandler (#1446) 2022-08-30 18:51:16 -04:00
go.mod Rebase main 2022-09-06 08:48:56 -04:00
go.sum Rebase main 2022-09-06 08:48:56 -04:00
godoc-current.txt Feature: (issue_1451) customized slice flag separator (#1546) 2022-10-27 17:32:00 +08:00
help_test.go Spelling (#1543) 2022-10-23 23:50:47 +03:00
help.go Spelling (#1543) 2022-10-23 23:50:47 +03:00
helpers_test.go Add Destination field to TimestampFlag 2021-03-07 03:36:56 +00:00
LICENSE Cleaning up some release-related metadata 2022-04-24 08:10:33 -04:00
Makefile Remove nonexistent phony targets 2022-09-29 11:24:42 -04:00
mkdocs-requirements.txt Attempt to work around materialx yaml loader boom 2022-05-18 22:58:46 -04:00
mkdocs.yml add tags plugin 2022-08-14 16:10:39 -08:00
parse.go Fix failed test 2022-10-05 09:36:22 -04:00
README.md Point to the docs tree and site from top-level README 2022-05-18 22:34:28 -04:00
sliceflag_pre18.go Fix build for go < 1.18 2022-06-13 08:23:41 +10:00
sliceflag_test.go Fix:(issue_1263) FlagNames should return names set via env as well 2022-10-16 19:02:49 -04:00
sliceflag.go Fix build for go < 1.18 2022-06-13 08:23:41 +10:00
sort_test.go Merge master @1.22.1 with v2 2019-09-13 05:17:24 +05:30
sort.go Merge master @1.22.1 with v2 2019-09-13 05:17:24 +05:30
suggestions_test.go Initial cut 2022-10-09 16:49:30 -05:00
suggestions.go Remove GPL2 dependency introduced in v2.7.0 2022-05-24 15:27:35 +09:00
template.go Initial cut 2022-10-09 16:49:30 -05:00
zz_generated.flags_test.go Rebase 2022-09-10 08:55:33 -04:00
zz_generated.flags.go Fix:(issue_1206) Default value shouldnt depend on env variable or value set from cmdline 2022-10-14 17:46:03 -04:00

cli

GoDoc codebeat Go Report Card codecov

cli is a simple, fast, and fun package for building command line apps in Go. The goal is to enable developers to write fast and distributable command line applications in an expressive way.

Documentation

More documentation is available in ./docs or the hosted documentation site at https://cli.urfave.org.

License

See LICENSE