@@ -44,39 +44,37 @@ Using this package requires a working Go environment. [See the install instructi
44
44
45
45
Go Modules are required when using this package. [ See the go blog guide on using Go Modules] ( https://blog.golang.org/using-go-modules ) .
46
46
47
- ### Using ` v2 ` releases
47
+ ### Using ` v3 ` releases
48
48
49
- The ` v2 ` series is the recommended version for new development. Ongoing
50
- maintenance is done on the [ ` v2-maint `
51
- branch ] ( https://github.com/urfave/cli/tree/v2-maint ) which receives ** minor **
52
- improvements, bug fixes, and security fixes .
49
+ The latest ` v3 ` release may be installed via the ` /v3 ` suffix. The state of the [ ` main `
50
+ branch ] ( https://github.com/urfave/cli/tree/main ) at any given time may correspond to a
51
+ ` v3 ` series release or pre-release. Please see the [ ` v3 ` migration
52
+ guide ] ( ./migrate-v2-to-v3.md ) on using v3 if you are upgrading from v2 .
53
53
54
54
``` sh
55
- go get github.com/urfave/cli/v2 @latest
55
+ go get github.com/urfave/cli/v3 @latest
56
56
```
57
57
58
58
``` go
59
59
import (
60
- " github.com/urfave/cli/v2 " // imports as package "cli"
60
+ " github.com/urfave/cli/v3 " // imports as package "cli"
61
61
)
62
62
```
63
63
64
- ### Using ** alpha-level ** ` v3 ` releases
64
+ ### Using ` v2 ` releases
65
65
66
- The latest pre-release in progress on the [ ` main `
67
- branch] ( https://github.com/urfave/cli/tree/main ) is the ` v3 ` series which should
68
- be considered ** alpha-level** with an unstable API. Occasional ** alpha** tags
69
- are pushed to allow for limited stability without pinning to an arbitrary
70
- commit. Please see the [ ` v3 ` migration
71
- guide] ( ./migrate-v2-to-v3.md ) on using v3 if you are upgrading from v2
66
+ The ` v2 ` series is the recommended version for new development. Ongoing
67
+ maintenance is done on the [ ` v2-maint `
68
+ branch] ( https://github.com/urfave/cli/tree/v2-maint ) which receives ** minor**
69
+ improvements, bug fixes, and security fixes.
72
70
73
71
``` sh
74
- go get github.com/urfave/cli/v3 @latest
72
+ go get github.com/urfave/cli/v2 @latest
75
73
```
76
74
77
75
``` go
78
76
import (
79
- " github.com/urfave/cli/v3 " // imports as package "cli"
77
+ " github.com/urfave/cli/v2 " // imports as package "cli"
80
78
)
81
79
```
82
80
0 commit comments