Skip to content

Provide mechanism to pipe text to a process #97

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

Open
bsutton opened this issue Aug 14, 2020 · 1 comment
Open

Provide mechanism to pipe text to a process #97

bsutton opened this issue Aug 14, 2020 · 1 comment

Comments

@bsutton
Copy link
Collaborator

bsutton commented Aug 14, 2020

How do we do the equivalent of:

echo "secret" | ssh-vault -u <github.com/user> create

@bsutton
Copy link
Collaborator Author

bsutton commented Aug 14, 2020

This does work:
('echo ${secretStuff}' | '$vaultPath -u ${Shell.current.loggedInUser} create').run;

but really want to be able to do:
echo(${secretStuff}) | '$vaultPath -u ${Shell.current.loggedInUser} create'.run;

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

No branches or pull requests

1 participant