# Functions
NewBaseCommand builds a new base command for the named tool.
OpenInput is a convenience for possibly opening an input file, or otherwise returning standard in.
OpenOutput is a convenience for possibly opening an output file, or otherwise returning standard out.