INNER CODE UNIT · Python
main
dhondta/python-codext · src/codext/base/__init__.py:15
def main():
descr = """Usage: unbase [OPTION]... [FILE]
Decode multi-layer base encoded FILE, or standard input, to standard output.
With no FILE, or when FILE is -, read standard input.
Optional arguments:
-E, --extended also consider generic base codecs while guess-decoding
-f, --stop-function set the result chceking function (default: text)
format: printables|text|flag|lang_[bigram]
-M, --max-depth maximum codec search depth (default: 5)
-m, --min-depth minimum codec search depth (default: 0)
-p, --pattern pattern to be matched while searching
-s, --show show the decoding chain
--help display this help and exit
--verbose show guessing information and steps
--version output version information and exit