def add_env(parser):
    """Add an `env` flag to the _parser_."""
    parser.add_argument(
        '-e', '--env', choices=ENVS, default=os.getenv('ENV', default='dev'), help='Deploy environment, overrides $ENV')
Add an `env` flag to the _parser_.