autograder.run.reset-pass

Alias for autograder.cli.users.password.reset.

usage: python3 -m autograder.run.reset-pass [-h] [--version] [--server SERVER]
                                            [--user USER] [--testing-mode]

Request a password reset.

options:
    -h, --help       show this help message and exit
    --version        show program's version number and exit

command-specific options:
    --server SERVER  The URL of the autograder server to communicate with.
    --user USER      The email of the user making this request.

testing options:
    --testing-mode   Run as if a test is being run (default: False).

Alias for `autograder.cli.users.password.reset`.
 1# pylint: disable=invalid-name
 2
 3"""
 4Alias for `autograder.cli.users.password.reset`.
 5"""
 6
 7import argparse
 8import sys
 9
10import autograder.cli.users.password.reset as alias
11
12def main() -> int:
13    """ Get a parser, parse the args, and call run. """
14
15    return alias.run_cli(_get_parser().parse_args())
16
17def _get_parser() -> argparse.ArgumentParser:
18    """ Get a parser for this operation. """
19
20    parser = alias._get_parser()
21    parser.epilog = __doc__.strip()
22    return parser
23
24if (__name__ == '__main__'):
25    sys.exit(main())
def main() -> int:
13def main() -> int:
14    """ Get a parser, parse the args, and call run. """
15
16    return alias.run_cli(_get_parser().parse_args())

Get a parser, parse the args, and call run.