NetBash
NetBash copied to clipboard
Redirect to file
What do you think about supporting a redirect to file? E.g.
help > help.txt
We could easily check for the redirect arrow and rather than appending to console it provides the file (help.txt) for download. This would be great for getting an export of your database, logs etc...
The commands wouldn't need to know anything about it, we would simply strip the '> help.txt' from the arguments.
I've implemented this here: https://github.com/phdesign/NetBash/compare/master...redirect-to-file