This pull request attempts to solve the issue highlighted in pull request #82
It creates a 'setup' function that output modules can use to perform actions after command-line arguments are read, but before decoders do all of their input processing.
For example, this will allow the colorout module to print its HTML header data to a user-defined file before the followstream decoder prints any of its output. It also avoids the need to clear out any arguments provided to an output module's __init__ function in the decoder.
This pull request attempts to solve the issue highlighted in pull request #82
It creates a 'setup' function that output modules can use to perform actions after command-line arguments are read, but before decoders do all of their input processing.
For example, this will allow the colorout module to print its HTML header data to a user-defined file before the followstream decoder prints any of its output. It also avoids the need to clear out any arguments provided to an output module's
__init__
function in the decoder.