Klimi's new dotfiles with stow.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 lines
195 B

4 years ago
  1. # -*- mode: snippet -*-
  2. # name: parse_args
  3. # key: pargs
  4. # group: argparser
  5. # --
  6. def parse_arguments():
  7. parser = argparse.ArgumentParser(description='$1')
  8. $0
  9. return parser.parse_args()