Use argparse and remove the use of entry points for commands