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

lack the ability to redirect the output of command #10

Closed
hatelove85911 opened this issue Sep 21, 2019 · 6 comments
Closed

lack the ability to redirect the output of command #10

hatelove85911 opened this issue Sep 21, 2019 · 6 comments
Labels
bug Something isn't working

Comments

@hatelove85911
Copy link

No description provided.

@welcome
Copy link

welcome bot commented Sep 21, 2019

Thanks for opening your first issue here!

@hschne
Copy link

hschne commented Sep 21, 2019

Not sure if this is what you are looking for, but --print will print a command instead of executing it. So this should work:

./navi --print > cmd.txt

@denisidoro
Copy link
Owner

@hatelove85911, does @hschne's answer do what you expected?

@hatelove85911
Copy link
Author

@denisidoro no, I don't think so.
What I meant is that once I pick a command from navi, if the command product some std output, I want to have the ability to redirect the output to a file. Just like something like this:
ls > files.txt

But currently this doesn't work:
navi > output.txt

@denisidoro
Copy link
Owner

denisidoro commented Sep 24, 2019

This works for me. Doesn't this work for you?

~
λ navi > myip.txt # select primary IP

~
λ cat myip.txt
172.22.32.211

Be sure to be on the latest version.

@denisidoro denisidoro added the bug Something isn't working label Sep 24, 2019
@denisidoro
Copy link
Owner

Closing due to inactivity, but feel free to reopen it if you find it relevant! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants