main: Add an argparse-based command line interface