Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: improve flags parsing #461

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix: upgrade ffcli version v2->v3
Signed-off-by: ismael FALL <[email protected]>
  • Loading branch information
Doozers committed Sep 15, 2022
commit b4ab12ceea1504928e91021cdb52ba861c95b304
2 changes: 1 addition & 1 deletion go.mod

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions go/cmd/yolo/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ import (
_ "github.com/jinzhu/gorm/dialects/sqlite"
circleci "github.com/jszwedko/go-circleci"
"github.com/peterbourgon/diskv"
ff "github.com/peterbourgon/ff/v2"
"github.com/peterbourgon/ff/v2/ffcli"
ff "github.com/peterbourgon/ff/v3"
"github.com/peterbourgon/ff/v3/ffcli"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions go/cmd/yolo/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ import (
"github.com/buildkite/go-buildkite/buildkite"
"github.com/jszwedko/go-circleci"
"github.com/oklog/run"
"github.com/peterbourgon/ff/v2"
"github.com/peterbourgon/ff/v2/ffcli"
"github.com/peterbourgon/ff/v3"
"github.com/peterbourgon/ff/v3/ffcli"
"github.com/tevino/abool"
)

Expand Down
4 changes: 2 additions & 2 deletions go/cmd/yolo/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
"berty.tech/yolo/v2/go/pkg/yolosvc"
"moul.io/godev"

"github.com/peterbourgon/ff/v2"
"github.com/peterbourgon/ff/v2/ffcli"
"github.com/peterbourgon/ff/v3"
"github.com/peterbourgon/ff/v3/ffcli"
)

func storeFlagSet() *flag.FlagSet {
Expand Down