action="store_true",
help="alphabetize card order",
)
- parser.add_argument(
- "-f", "--flip", action="store_true", help="show second column first"
- )
parser.add_argument(
"-p",
"--purge",
stack.sort(key=lambda x: x.front)
if args.reverse:
stack.reverse()
- if args.flip:
- for x in stack:
- x[0], x[1] = x[1], x[0]
- headers[0], headers[1] = headers[1], headers[0]
# Send to display
win = Display(stack, headers, idx)