Skip to content

Commit 0ad1e2c

Browse files
stainless-app[bot]yjp20
authored andcommitted
feat: new and simplified CLI flag parsing code and YAML support
1 parent cc981f3 commit 0ad1e2c

File tree

14 files changed

+1246
-468
lines changed

14 files changed

+1246
-468
lines changed

go.mod

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ require (
1616
github.com/muesli/reflow v0.3.0
1717
github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c
1818
github.com/stainless-api/stainless-api-go v0.27.0
19+
github.com/stretchr/testify v1.10.0
1920
github.com/tidwall/gjson v1.18.0
2021
github.com/tidwall/pretty v1.2.1
2122
github.com/urfave/cli-docs/v3 v3.0.0-alpha6
@@ -36,6 +37,7 @@ require (
3637
github.com/charmbracelet/x/exp/slice v0.0.0-20250327172914-2fdc97757edf // indirect
3738
github.com/charmbracelet/x/exp/strings v0.0.0-20240722160745-212f7b056ed0 // indirect
3839
github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect
40+
github.com/davecgh/go-spew v1.1.1 // indirect
3941
github.com/dlclark/regexp2 v1.11.0 // indirect
4042
github.com/dustin/go-humanize v1.0.1 // indirect
4143
github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f // indirect
@@ -49,6 +51,7 @@ require (
4951
github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 // indirect
5052
github.com/muesli/cancelreader v0.2.2 // indirect
5153
github.com/muesli/termenv v0.16.0 // indirect
54+
github.com/pmezard/go-difflib v1.0.0 // indirect
5255
github.com/rivo/uniseg v0.4.7 // indirect
5356
github.com/russross/blackfriday/v2 v2.1.0 // indirect
5457
github.com/tidwall/match v1.1.1 // indirect
@@ -58,4 +61,5 @@ require (
5861
github.com/yuin/goldmark-emoji v1.0.5 // indirect
5962
golang.org/x/net v0.33.0 // indirect
6063
golang.org/x/sync v0.15.0 // indirect
64+
gopkg.in/yaml.v3 v3.0.1 // indirect
6165
)

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,5 +141,7 @@ golang.org/x/term v0.37.0 h1:8EGAD0qCmHYZg6J17DvsMy9/wJ7/D/4pV/wfnld5lTU=
141141
golang.org/x/term v0.37.0/go.mod h1:5pB4lxRNYYVZuTLmy8oR2BH8dflOR+IbTYFD8fi3254=
142142
golang.org/x/text v0.24.0 h1:dd5Bzh4yt5KYA8f9CJHCP4FB4D51c2c6JvN37xJJkJ0=
143143
golang.org/x/text v0.24.0/go.mod h1:L8rBsPeo2pSS+xqN0d5u2ikmjtmoJbDBT1b7nHvFCdU=
144+
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
145+
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
144146
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
145147
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=

0 commit comments

Comments
 (0)