![]() This commit adds the IDE-integrated breakpoint debugger based on walker. Now buildx provides DAP (Debug Adapter Protocol) API to IDEs so DAP-aware IDEs can call buildx and allow users to perform breakpoint-based debugging on the IDE's UI/UX. Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com> |
2 years ago | |
---|---|---|
.. | ||
.flake8 | 2 years ago | |
.gitignore | 2 years ago | |
CODE_OF_CONDUCT.md | 2 years ago | |
LICENSE | 2 years ago | |
README.md | 2 years ago | |
app.go | 2 years ago | |
category.go | 2 years ago | |
cli.go | 2 years ago | |
command.go | 2 years ago | |
context.go | 2 years ago | |
docs.go | 2 years ago | |
errors.go | 2 years ago | |
fish.go | 2 years ago | |
flag.go | 2 years ago | |
flag_bool.go | 2 years ago | |
flag_bool_t.go | 2 years ago | |
flag_duration.go | 2 years ago | |
flag_float64.go | 2 years ago | |
flag_generic.go | 2 years ago | |
flag_int.go | 2 years ago | |
flag_int64.go | 2 years ago | |
flag_int64_slice.go | 2 years ago | |
flag_int_slice.go | 2 years ago | |
flag_string.go | 2 years ago | |
flag_string_slice.go | 2 years ago | |
flag_uint.go | 2 years ago | |
flag_uint64.go | 2 years ago | |
funcs.go | 2 years ago | |
help.go | 2 years ago | |
parse.go | 2 years ago | |
sort.go | 2 years ago | |
template.go | 2 years ago |
README.md
cli
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.
Usage Documentation
Usage documentation for v1
is available at the docs
site or in-tree at
./docs/v1/manual.md
Installation
Make sure you have a working Go environment. Go version 1.18+ is supported.
Supported platforms
cli is tested against multiple versions of Go on Linux, and against the latest released version of Go on OS X and Windows. For full details, see ./.github/workflows/cli.yml.
Build tags
You can use the following build tags:
urfave_cli_no_docs
When set, this removes ToMarkdown
and ToMan
methods, so your application
won't be able to call those. This reduces the resulting binary size by about
300-400 KB (measured using Go 1.18.1 on Linux/amd64), due to less dependencies.
Using v1
releases
$ go get github.com/urfave/cli
...
import (
"github.com/urfave/cli"
)
...