Skip to content

Commit 206363a

Browse files
committed
Use direct docopt fork dependency
1 parent 93ca4a7 commit 206363a

4 files changed

Lines changed: 5 additions & 6 deletions

File tree

docs/docs/changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ title: Changelog
88
* `[Changed]` Install script now installs to `$HOME/.lets/bin`, exposes `lets` through a user PATH symlink, and stops on old non-Homebrew `/usr/local/bin/lets` installs. Issue [#121](https://github.com/lets-cli/lets/issues/121)
99
* `[Fixed]` Prevent `lets self upgrade` from overwriting Homebrew-managed installs. Issue [#338](https://github.com/lets-cli/lets/issues/338)
1010
* `[Fixed]` `lets self upgrade` now updates symlink targets and refuses common system-managed install paths.
11+
* `[Fixed]` Replace the released `go.mod` docopt override with a direct fork dependency so `go install github.com/lets-cli/lets/cmd/lets@version` works again.
1112

1213
## [0.0.60](https://github.com/lets-cli/lets/releases/tag/v0.0.60)
1314

go.mod

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ toolchain go1.26.0
77
require (
88
github.com/codeclysm/extract v2.2.0+incompatible
99
github.com/coreos/go-semver v0.3.1
10-
github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815
1110
github.com/fatih/color v1.16.0
11+
github.com/kindermax/docopt.go v0.8.0
1212
github.com/mattn/go-isatty v0.0.20
1313
github.com/odvcencio/gotreesitter v0.12.1
1414
github.com/pkg/errors v0.9.1
@@ -50,5 +50,3 @@ require (
5050
gopkg.in/check.v1 v1.0.0-20200902074654-038fdea0a05b // indirect
5151
gopkg.in/yaml.v3 v3.0.1
5252
)
53-
54-
replace github.com/docopt/docopt-go => github.com/kindermax/docopt.go v0.7.2-0.20260318200304-9bd2b80373ad

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ github.com/juju/version v0.0.0-20191219164919-81c1be00b9a6/go.mod h1:kE8gK5X0CIm
5050
github.com/julienschmidt/httprouter v1.1.1-0.20151013225520-77a895ad01eb/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w=
5151
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 h1:Z9n2FFNUXsshfwJMBgNA0RU6/i7WVaAegv3PtuIHPMs=
5252
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51/go.mod h1:CzGEWj7cYgsdH8dAjBGEr58BoE7ScuLd+fwFZ44+/x8=
53-
github.com/kindermax/docopt.go v0.7.2-0.20260318200304-9bd2b80373ad h1:cVJX4gy/neGpAmzpacu/B+0GxLy9rykPapPmljtyug0=
54-
github.com/kindermax/docopt.go v0.7.2-0.20260318200304-9bd2b80373ad/go.mod h1:VlXA+8GArbisi1Ja07kavKt/UOrJFDWJk6EhMN6KdAU=
53+
github.com/kindermax/docopt.go v0.8.0 h1:OGJMTstN2LOFx4+e/HxrokEC6dfXPHWFLnhyElhLYqY=
54+
github.com/kindermax/docopt.go v0.8.0/go.mod h1:X+16hN4VkHl1vcboDZhANciKweylM0cNT419VA9daWs=
5555
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
5656
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
5757
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=

internal/docopt/docopts.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"strconv"
66
"strings"
77

8-
dopt "github.com/docopt/docopt-go"
8+
dopt "github.com/kindermax/docopt.go"
99
)
1010

1111
// aliases for docopt types.

0 commit comments

Comments
 (0)