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

request: flag for Clipboard + username in single command #1178

Open
benyanke opened this issue Sep 10, 2019 · 1 comment

Comments

@benyanke
Copy link
Contributor

commented Sep 10, 2019

In the majority of times I use this tool, I find myself typing:

$ gopass site
Entry 'site' not found. Starting search...
Found exact match in 'path/to/site'
j4f9gfj438
login: jdoe
email: jdoe@doeinc.com

Here I would grab username, or url and username with cursor, or if it's a memorable username (as they usually are), just visually look and quickly retype it.

$ gopass -c site

Entry 'site' not found. Starting search...
Found exact match in 'path/to/site'
✔ Copied path/to/site to clipboard. Will clear in 45 seconds.

I would then paste the password from clipboard.

It would be really neat to have an option (perhaps capital C? -C) which would display the full normal output, as occurs when there's not a clipboard call, but also dumps password to clipboard. That way, the user can run one gopass, see visually what the username is, type it, and then paste the password.

For example:

$ gopass -C site

Entry 'site' not found. Starting search...
Found exact match in 'path/to/site'
✔ Also copied path/to/site to clipboard. Will clear in 45 seconds.
j4f9gfj438
login: jdoe
email: jdoe@doeinc.com
@skaldesh

This comment has been minimized.

Copy link

commented Sep 13, 2019

Yes, I would like to see this feature as well
Should be fairly simple to implement as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.