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

Copy to clipboard button after command returns a value #15

Merged
merged 2 commits into from
Oct 17, 2022

Conversation

christian-bromann
Copy link
Contributor

@christian-bromann christian-bromann commented Oct 17, 2022

ex)

openssl rand -base64 32

This command returns an output that is usually copied and pasted(to .env). Can we display the returned value below the runnable command and have the option to copy it to clipboard.

@christian-bromann
Copy link
Contributor

Demo:

copy

@christian-bromann
Copy link
Contributor

I will move ahead to not have to work on diverged branches, let me know if you have any feedback and I can adjust the implementation.

@christian-bromann christian-bromann merged commit d8c0212 into main Oct 17, 2022
@christian-bromann christian-bromann deleted the cb-copy-shell-output branch October 17, 2022 23:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant