Created
May 20, 2022 10:42
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def parseArguments(): | |
parser = argparse.ArgumentParser() | |
parser.add_argument('--out', help='output file path', required=True) | |
parser.add_argument('--in1', help='first input pdf path', required=True) | |
parser.add_argument('--in2', help='second input pdf path', required=True) | |
parser.add_argument('--reverse1', help='reverse first pdf page order', action='store_true') | |
parser.add_argument('--reverse2', help='reverse second pdf page order', action='store_true') | |
return parser.parse_args() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment