You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -10,74 +9,10 @@ cli is a simple, fast, and fun package for building command line apps in Go. The
10
9
goal is to enable developers to write fast and distributable command line
11
10
applications in an expressive way.
12
11
13
-
## Usage Documentation
12
+
## Documentation
14
13
15
-
Usage documentation exists for each major version. Don't know what version you're on? You're probably using the version from the `main` branch, which is currently `v2`.
Using this package requires a working Go environment. [See the install instructions for Go](http://golang.org/doc/install.html).
27
-
28
-
Go Modules are required when using this package. [See the go blog guide on using Go Modules](https://blog.golang.org/using-go-modules).
29
-
30
-
### Using `v2` releases
31
-
32
-
```
33
-
$ go get github.com/urfave/cli/v2
34
-
```
35
-
36
-
```go
37
-
...
38
-
import (
39
-
"github.com/urfave/cli/v2"// imports as package "cli"
40
-
)
41
-
...
42
-
```
43
-
44
-
### Using `v1` releases
45
-
46
-
```
47
-
$ go get github.com/urfave/cli
48
-
```
49
-
50
-
```go
51
-
...
52
-
import (
53
-
"github.com/urfave/cli"
54
-
)
55
-
...
56
-
```
57
-
58
-
### Build tags
59
-
60
-
You can use the following build tags:
61
-
62
-
#### `urfave_cli_no_docs`
63
-
64
-
When set, this removes `ToMarkdown` and `ToMan` methods, so your application
65
-
won't be able to call those. This reduces the resulting binary size by about
66
-
300-400 KB (measured using Go 1.18.1 on Linux/amd64), due to fewer dependencies.
67
-
68
-
### GOPATH
69
-
70
-
Make sure your `PATH` includes the `$GOPATH/bin` directory so your commands can
71
-
be easily used:
72
-
```
73
-
export PATH=$PATH:$GOPATH/bin
74
-
```
75
-
76
-
### Supported platforms
77
-
78
-
cli is tested against multiple versions of Go on Linux, and against the latest
79
-
released version of Go on OS X and Windows. This project uses Github Actions for
80
-
builds. To see our currently supported go versions and platforms, look at the [./.github/workflows/cli.yml](https://github.com/urfave/cli/blob/main/.github/workflows/cli.yml).
14
+
More documentation is available in [`./docs`](./docs) or the hosted
0 commit comments