Skip to content

Added file writing support, toggle print option#10

Open
tgsmith61591 wants to merge 1 commit intoasaini:masterfrom
tgsmith61591:master
Open

Added file writing support, toggle print option#10
tgsmith61591 wants to merge 1 commit intoasaini:masterfrom
tgsmith61591:master

Conversation

@tgsmith61591
Copy link

I wanted to be able to write the output of the script to a file instead of stdout. I added two new flags to the option parser, -p and -o, which toggle the stdout printing and define the output file. If no output file is provided, the printing is set to true. Else, if the printing is switched off but the output file is also empty, the printing defaults back to true.

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