Skip to content

Commit

Permalink
Merge commit '9bc0b8fa7807eab60f66523ee7f620152d39ec72' into mr/march…
Browse files Browse the repository at this point in the history
…-hotfixes

* commit '9bc0b8fa7807eab60f66523ee7f620152d39ec72':
  Switch to standalone cobra-cli dependency
  Update tools to cobra v1.3.0 and tidy
  • Loading branch information
majodev committed Mar 28, 2022
2 parents a7d21a6 + 9bc0b8f commit f50b4c4
Show file tree
Hide file tree
Showing 4 changed files with 131 additions and 63 deletions.
4 changes: 2 additions & 2 deletions cmd/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ Main applications for this project.

Don't put a lot of code in the application directory. If you think the code can be imported and used in other projects, then it should live in the `/pkg` directory. If the code is not reusable or if you don't want others to reuse it, put that code in the `/internal` directory. You'll be surprised what others will do, so be explicit about your intentions!

We manage our applications via cobra (cli is installed via `tools.go`), see:
We manage our applications via cobra (`cobra-cli` is installed via `tools.go`), see:
* https://github.com/spf13/cobra#getting-started
* https://github.com/spf13/cobra/blob/master/cobra/README.md#cobra-add
* https://github.com/spf13/cobra-cli/blob/main/README.md#add-commands-to-a-project

Also see https://github.com/golang-standards/project-layout/tree/master/cmd
29 changes: 15 additions & 14 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,22 @@ require (
github.com/rogpeppe/go-internal v1.8.0
github.com/rs/zerolog v1.25.0
github.com/rubenv/sql-migrate v0.0.0-20210614095031-55d5740dbbcc
github.com/spf13/cobra v1.2.1
github.com/spf13/viper v1.9.0
github.com/spf13/cobra v1.3.0
github.com/spf13/cobra-cli v1.3.0
github.com/spf13/viper v1.10.1
github.com/stretchr/testify v1.7.0
github.com/volatiletech/null/v8 v8.1.2
github.com/volatiletech/randomize v0.0.1
github.com/volatiletech/sqlboiler/v4 v4.6.0
github.com/volatiletech/strmangle v0.0.1
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519
golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6
golang.org/x/sys v0.0.0-20211210111614-af8b64212486
golang.org/x/text v0.3.7
google.golang.org/api v0.57.0
google.golang.org/api v0.63.0
)

require (
cloud.google.com/go v0.94.1 // indirect
cloud.google.com/go v0.99.0 // indirect
github.com/Masterminds/goutils v1.1.0 // indirect
github.com/Masterminds/semver v1.5.0 // indirect
github.com/Masterminds/sprig v2.22.0+incompatible // indirect
Expand All @@ -49,7 +50,7 @@ require (
github.com/bgentry/speakeasy v0.1.0 // indirect
github.com/denisenkom/go-mssqldb v0.10.0 // indirect
github.com/ericlagergren/decimal v0.0.0-20181231230500-73749d4874d5 // indirect
github.com/fatih/color v1.9.0 // indirect
github.com/fatih/color v1.13.0 // indirect
github.com/fsnotify/fsnotify v1.5.1 // indirect
github.com/go-logfmt/logfmt v0.5.0 // indirect
github.com/go-openapi/analysis v0.20.1 // indirect
Expand All @@ -63,10 +64,10 @@ require (
github.com/gofrs/uuid v3.2.0+incompatible // indirect
github.com/golang-jwt/jwt v3.2.2+incompatible // indirect
github.com/golang-sql/civil v0.0.0-20190719163853-cb61b32ac6fe // indirect
github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/google/uuid v1.1.2 // indirect
github.com/googleapis/gax-go/v2 v2.1.0 // indirect
github.com/googleapis/gax-go/v2 v2.1.1 // indirect
github.com/hashicorp/errwrap v1.0.0 // indirect
github.com/hashicorp/go-multierror v1.1.0 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
Expand All @@ -77,14 +78,14 @@ require (
github.com/labstack/gommon v0.3.0 // indirect
github.com/magiconair/properties v1.8.5 // indirect
github.com/mailru/easyjson v0.7.6 // indirect
github.com/mattn/go-colorable v0.1.8 // indirect
github.com/mattn/go-colorable v0.1.12 // indirect
github.com/mattn/go-isatty v0.0.14 // indirect
github.com/mattn/go-oci8 v0.1.1 // indirect
github.com/mattn/go-runewidth v0.0.9 // indirect
github.com/mattn/go-sqlite3 v1.14.6 // indirect
github.com/mitchellh/cli v1.1.2 // indirect
github.com/mitchellh/copystructure v1.0.0 // indirect
github.com/mitchellh/mapstructure v1.4.2 // indirect
github.com/mitchellh/mapstructure v1.4.3 // indirect
github.com/mitchellh/reflectwalk v1.0.0 // indirect
github.com/oklog/ulid v1.3.1 // indirect
github.com/olekukonko/tablewriter v0.0.5 // indirect
Expand All @@ -103,15 +104,15 @@ require (
go.mongodb.org/mongo-driver v1.7.5 // indirect
go.opencensus.io v0.23.0 // indirect
golang.org/x/net v0.0.0-20210913180222-943fd674d43e // indirect
golang.org/x/oauth2 v0.0.0-20210819190943-2bc19b11175f // indirect
golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8 // indirect
golang.org/x/time v0.0.0-20201208040808-7e3f01d25324 // indirect
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/genproto v0.0.0-20210903162649-d08c68adba83 // indirect
google.golang.org/grpc v1.40.0 // indirect
google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa // indirect
google.golang.org/grpc v1.43.0 // indirect
google.golang.org/protobuf v1.27.1 // indirect
gopkg.in/gorp.v1 v1.7.2 // indirect
gopkg.in/ini.v1 v1.63.2 // indirect
gopkg.in/ini.v1 v1.66.2 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
)
Loading

0 comments on commit f50b4c4

Please sign in to comment.