Skip to content

Commit

Permalink
UX update
Browse files Browse the repository at this point in the history
Streamline command output, add unicode icons and as for passphrase
during onboarding.

Fixes gopasspw#1698

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
  • Loading branch information
dominikschulz committed Jan 16, 2021
1 parent 774eb1d commit d28711b
Show file tree
Hide file tree
Showing 25 changed files with 408 additions and 376 deletions.
2 changes: 1 addition & 1 deletion go.mod
Expand Up @@ -42,7 +42,7 @@ require (
github.com/urfave/cli/v2 v2.2.0
github.com/xrash/smetrics v0.0.0-20200730060457-89a2a8a1fb0b // indirect
golang.org/x/crypto v0.0.0-20200930160638-afb6bcd081ae
golang.org/x/net v0.0.0-20201021035429-f5854403a974
golang.org/x/net v0.0.0-20201021035429-f5854403a974 // indirect
golang.org/x/sys v0.0.0-20201024232916-9f70ab9862d5
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f // indirect
Expand Down
4 changes: 2 additions & 2 deletions internal/action/clone.go
Expand Up @@ -53,7 +53,7 @@ func (s *Action) clone(ctx context.Context, repo, mount, path string) error {
if path == "" {
path = config.PwStoreDir(mount)
}
inited, err := s.Store.Initialized(ctxutil.WithGitInit(ctx, false))
inited, err := s.Store.IsInitialized(ctxutil.WithGitInit(ctx, false))
if err != nil {
return ExitError(ExitUnknown, err, "Failed to initialized stores: %s", err)
}
Expand Down Expand Up @@ -113,7 +113,7 @@ func (s *Action) cloneAddMount(ctx context.Context, mount, path string) error {
return nil
}

inited, err := s.Store.Initialized(ctx)
inited, err := s.Store.IsInitialized(ctx)
if err != nil {
return ExitError(ExitUnknown, err, "Failed to initialize store: %s", err)
}
Expand Down

0 comments on commit d28711b

Please sign in to comment.