augur.write_file module

Write a file like Augur, with transparent optimized compression and universal newlines.

Input is always from stdin.

Output is to the given file path, as the compression format detection require it. The given path may be “-” to explicitly write to stdout, but no decompression will be done.

Universal newline translation is always performed, so n, rn, and r in the input are all translated to the system’s native newlines (e.g. n on Unix, rn on Windows) in the output.

augur.write_file.register_parser(parent_subparsers)
augur.write_file.run(args)