def command_line_parser():

    description = "Run utility commands on the test database server."
    parser = argparse.ArgumentParser(description=description)
    subparser_factory = parser.add_subparsers(title="subcommands")

    add_create_subcommand(subparser_factory)
    add_save_subcommand(subparser_factory)
    add_drop_subcommand(subparser_factory)
    add_list_subcommand(subparser_factory)
    add_cleanup_subcommand(subparser_factory)
#    add_dbupdate_subcommand(subparser_factory)

    return parser
Return QuerySet based on :attr:`.queryset` or :attr:`.model`.
dataset/ETHPy150Open GeoscienceAustralia/agdc/src/testdb.py/command_line_parser--crossover with--dataset/ETHPy150Open applegrew/django-select2/django_select2/forms.py/ModelSelect2Mixin.get_queryset