Skip to content

Instantly share code, notes, and snippets.

@godfather68
Created May 11, 2020 00:29
Show Gist options
  • Save godfather68/7abd6ec7a1d591d94e4fcb60b6e559e2 to your computer and use it in GitHub Desktop.
Save godfather68/7abd6ec7a1d591d94e4fcb60b6e559e2 to your computer and use it in GitHub Desktop.
def add_arguments(self, parser):
parser.add_argument('template_name', type=str, help="Indicates the template name(e.g home.html)")
# Optional app directory
parser.add_argument('-a', '--app', type=str, help="Defines a parent dir with the name of the app")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment