.. | ||
autocomplete | ||
.gitignore | ||
.golangci.yaml | ||
args.go | ||
category.go | ||
cli.go | ||
CODE_OF_CONDUCT.md | ||
command.go | ||
completion.go | ||
errors.go | ||
fish.go | ||
flag_bool_with_inverse.go | ||
flag_bool.go | ||
flag_duration.go | ||
flag_ext.go | ||
flag_float_slice.go | ||
flag_float.go | ||
flag_generic.go | ||
flag_impl.go | ||
flag_int_slice.go | ||
flag_int.go | ||
flag_map_impl.go | ||
flag_mutex.go | ||
flag_slice_base.go | ||
flag_string_map.go | ||
flag_string_slice.go | ||
flag_string.go | ||
flag_timestamp.go | ||
flag_uint_slice.go | ||
flag_uint.go | ||
flag.go | ||
funcs.go | ||
godoc-current.txt | ||
help.go | ||
LICENSE | ||
Makefile | ||
mkdocs-reqs.txt | ||
mkdocs.yml | ||
parse.go | ||
README.md | ||
sort.go | ||
staticcheck.conf | ||
suggestions.go | ||
template.go | ||
value_source.go |
Welcome to urfave/cli
urfave/cli is a declarative, simple, fast, and fun package for building command line tools in Go featuring:
- commands and subcommands with alias and prefix match support
- flexible and permissive help system
- dynamic shell completion for
bash
,zsh
,fish
, andpowershell
- no dependencies except Go standard library
- input flags for simple types, slices of simple types, time, duration, and others
- compound short flag support (
-a
-b
-c
can be shortened to-abc
) - documentation generation in
man
and Markdown (supported via theurfave/cli-docs
module) - input lookup from:
- environment variables
- plain text files
- structured file formats (supported via the
urfave/cli-altsrc
module)
Documentation
See the hosted documentation website at https://cli.urfave.org. Contents of
this website are built from the ./docs
directory.
Support
Check the Q&A discussions. If you don't find answer to your question, create a new discussion.
If you found a bug or have a feature request, create a new issue.
Please keep in mind that this project is run by unpaid volunteers.
License
See LICENSE
.