Skip to content

Commit

Permalink
Migrate to urfave/cli/v2 (#1276)
Browse files Browse the repository at this point in the history
Signed-off-by: Dominik Schulz <[email protected]>
  • Loading branch information
dominikschulz authored Apr 24, 2020
1 parent 3ba59c0 commit af62f1b
Show file tree
Hide file tree
Showing 90 changed files with 477 additions and 671 deletions.
6 changes: 3 additions & 3 deletions app.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"github.com/gopasspw/gopass/pkg/termio"

"github.com/blang/semver"
"github.com/urfave/cli"
"github.com/urfave/cli/v2"
)

func setupApp(ctx context.Context, sv semver.Version) *cli.App {
Expand Down Expand Up @@ -65,11 +65,11 @@ func setupApp(ctx context.Context, sv semver.Version) *cli.App {
}

app.Flags = []cli.Flag{
cli.BoolFlag{
&cli.BoolFlag{
Name: "yes",
Usage: "Assume yes on all yes/no questions or use the default on all others",
},
cli.BoolFlag{
&cli.BoolFlag{
Name: "clip, c",
Usage: "Copy the first line of the secret into the clipboard",
},
Expand Down
Loading

0 comments on commit af62f1b

Please sign in to comment.