gowiki/vendor/github.com/urfave/cli
2023-04-01 19:50:50 +02:00
..
.flake8 bugfixes and updated go.mod 2019-05-15 22:52:27 +02:00
.gitignore updated dependencies 2023-04-01 19:50:50 +02:00
app.go updated dependencies 2023-01-15 16:24:38 +01:00
category.go bump copyright, added stats page and updated dependencies 2020-01-11 11:32:27 +01:00
cli.go bump copyright, added stats page and updated dependencies 2020-01-11 11:32:27 +01:00
CODE_OF_CONDUCT.md bump copyright, added stats page and updated dependencies 2020-01-11 11:32:27 +01:00
command.go updated dependencies 2023-04-01 19:50:50 +02:00
context.go updated dependencies and moved to new rendering 2020-11-12 22:54:50 +01:00
docs.go updated dependencies 2023-01-15 16:24:38 +01:00
errors.go bugfixes and updated go.mod 2019-05-15 22:52:27 +02:00
fish.go bump copyright, added stats page and updated dependencies 2020-01-11 11:32:27 +01:00
flag.go updated dependencies 2023-01-15 16:24:38 +01:00
flag_bool.go bump copyright, added stats page and updated dependencies 2020-01-11 11:32:27 +01:00
flag_bool_t.go bump copyright, added stats page and updated dependencies 2020-01-11 11:32:27 +01:00
flag_duration.go bump copyright, added stats page and updated dependencies 2020-01-11 11:32:27 +01:00
flag_float64.go bump copyright, added stats page and updated dependencies 2020-01-11 11:32:27 +01:00
flag_generic.go bump copyright, added stats page and updated dependencies 2020-01-11 11:32:27 +01:00
flag_int.go bump copyright, added stats page and updated dependencies 2020-01-11 11:32:27 +01:00
flag_int64.go bump copyright, added stats page and updated dependencies 2020-01-11 11:32:27 +01:00
flag_int64_slice.go updated dependencies and moved to new rendering 2020-11-12 22:54:50 +01:00
flag_int_slice.go updated dependencies and moved to new rendering 2020-11-12 22:54:50 +01:00
flag_string.go bump copyright, added stats page and updated dependencies 2020-01-11 11:32:27 +01:00
flag_string_slice.go updated dependencies and moved to new rendering 2020-11-12 22:54:50 +01:00
flag_uint.go bump copyright, added stats page and updated dependencies 2020-01-11 11:32:27 +01:00
flag_uint64.go bump copyright, added stats page and updated dependencies 2020-01-11 11:32:27 +01:00
funcs.go bump copyright, added stats page and updated dependencies 2020-01-11 11:32:27 +01:00
help.go bump copyright, added stats page and updated dependencies 2020-01-11 11:32:27 +01:00
LICENSE updated dependencies 2023-04-01 19:50:50 +02:00
parse.go updated dependencies 2020-07-11 11:25:30 +02:00
README.md updated dependencies 2023-04-01 19:50:50 +02:00
sort.go bump copyright, added stats page and updated dependencies 2020-01-11 11:32:27 +01:00
template.go bump copyright, added stats page and updated dependencies 2020-01-11 11:32:27 +01:00

cli

Run Tests Go Reference 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.

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"
)
...