You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
scrutiny/vendor/github.com/urfave/cli/v2
packagr-io-beta b6ca94f786
(v0.1.1) Automated packaging of release by Packagr
4 years ago
..
.flake8 (v0.1.1) Automated packaging of release by Packagr 4 years ago
.gitignore (v0.1.1) Automated packaging of release by Packagr 4 years ago
CODE_OF_CONDUCT.md (v0.1.1) Automated packaging of release by Packagr 4 years ago
LICENSE (v0.1.1) Automated packaging of release by Packagr 4 years ago
README.md (v0.1.1) Automated packaging of release by Packagr 4 years ago
app.go (v0.1.1) Automated packaging of release by Packagr 4 years ago
args.go (v0.1.1) Automated packaging of release by Packagr 4 years ago
category.go (v0.1.1) Automated packaging of release by Packagr 4 years ago
cli.go (v0.1.1) Automated packaging of release by Packagr 4 years ago
command.go (v0.1.1) Automated packaging of release by Packagr 4 years ago
context.go (v0.1.1) Automated packaging of release by Packagr 4 years ago
docs.go (v0.1.1) Automated packaging of release by Packagr 4 years ago
errors.go (v0.1.1) Automated packaging of release by Packagr 4 years ago
fish.go (v0.1.1) Automated packaging of release by Packagr 4 years ago
flag.go (v0.1.1) Automated packaging of release by Packagr 4 years ago
flag_bool.go (v0.1.1) Automated packaging of release by Packagr 4 years ago
flag_duration.go (v0.1.1) Automated packaging of release by Packagr 4 years ago
flag_float64.go (v0.1.1) Automated packaging of release by Packagr 4 years ago
flag_float64_slice.go (v0.1.1) Automated packaging of release by Packagr 4 years ago
flag_generic.go (v0.1.1) Automated packaging of release by Packagr 4 years ago
flag_int.go (v0.1.1) Automated packaging of release by Packagr 4 years ago
flag_int64.go (v0.1.1) Automated packaging of release by Packagr 4 years ago
flag_int64_slice.go (v0.1.1) Automated packaging of release by Packagr 4 years ago
flag_int_slice.go (v0.1.1) Automated packaging of release by Packagr 4 years ago
flag_path.go (v0.1.1) Automated packaging of release by Packagr 4 years ago
flag_string.go (v0.1.1) Automated packaging of release by Packagr 4 years ago
flag_string_slice.go (v0.1.1) Automated packaging of release by Packagr 4 years ago
flag_timestamp.go (v0.1.1) Automated packaging of release by Packagr 4 years ago
flag_uint.go (v0.1.1) Automated packaging of release by Packagr 4 years ago
flag_uint64.go (v0.1.1) Automated packaging of release by Packagr 4 years ago
funcs.go (v0.1.1) Automated packaging of release by Packagr 4 years ago
go.mod (v0.1.1) Automated packaging of release by Packagr 4 years ago
go.sum (v0.1.1) Automated packaging of release by Packagr 4 years ago
help.go (v0.1.1) Automated packaging of release by Packagr 4 years ago
parse.go (v0.1.1) Automated packaging of release by Packagr 4 years ago
sort.go (v0.1.1) Automated packaging of release by Packagr 4 years ago
template.go (v0.1.1) Automated packaging of release by Packagr 4 years ago

README.md

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.

Usage Documentation

Usage documentation exists for each major version. Don't know what version you're on? You're probably using the version from the master branch, which is currently v2.

Installation

Make sure you have a working Go environment. Go version 1.11+ is supported. See the install instructions for Go.

Go Modules are strongly recommended when using this package. See the go blog guide on using Go Modules.

Using v2 releases

$ GO111MODULE=on go get github.com/urfave/cli/v2
...
import (
  "github.com/urfave/cli/v2" // imports as package "cli"
)
...

Using v1 releases

$ GO111MODULE=on go get github.com/urfave/cli
...
import (
  "github.com/urfave/cli"
)
...

GOPATH

Make sure your PATH includes the $GOPATH/bin directory so your commands can be easily used:

export PATH=$PATH:$GOPATH/bin

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. This project uses Github Actions for builds. For more build info, please look at the ./.github/workflows/cli.yml.