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

read from stdin #13

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

read from stdin #13

wants to merge 3 commits into from

Conversation

lichtzeichner
Copy link
Owner

@lichtzeichner lichtzeichner commented Jun 22, 2020

markli learns to read directly from stdin instead of only from local files, this fixes #12

main function is refactored to allow for much greater test coverage, as the bulk of work is refactored out into a testable "exec" function. Dependency on globals (os.Args, stdin, stdout, global flag definition) is reduced as much as possible.

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.

Allow input from stdin
1 participant