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

Actually read from stdin #61

Merged
merged 2 commits into from
Jul 15, 2024
Merged

Actually read from stdin #61

merged 2 commits into from
Jul 15, 2024

Conversation

NomisIV
Copy link
Contributor

@NomisIV NomisIV commented Jul 15, 2024

Description of changes

--stdin flag read a command line argument, not stdin. Now it reads from stdin.

Not sure if my code would compile on windows, but I don't have a windows computer to test it.

I'm aware that #57 tries to solve this as well, but it seems stagnant and won't pass CI.

Relevant Issues

#56

@fdncred
Copy link
Collaborator

fdncred commented Jul 15, 2024

Seems reasonable. Is there a way to add a test for this?

@AucaCoyan
Copy link
Contributor

Hi! It does work on Windows 😊.
I tried to do it with a library in #57 , but I couldn't in few tries. This version with no added dependencies is what I inteded to do in the first place 🙌

@fdncred fdncred merged commit 63549df into nushell:main Jul 15, 2024
4 of 5 checks passed
@fdncred
Copy link
Collaborator

fdncred commented Jul 15, 2024

Thanks

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.

3 participants