def parser(subparsers):
    'Build an argparse argument parser to parse the command line.'
    parser_config = subparsers.add_parser('configure', help='Configure %(prog)s for operation!')
    config_subparsers = parser_config.add_subparsers()
    parser_check_auth = config_subparsers.add_parser('check-auth', help=check_auth.__doc__)
    parser_check_auth.set_defaults(func=check_auth)
    parser_local_cache = config_subparsers.add_parser('display-auth-cache', help=display_auth_cache.__doc__)
    parser_local_cache.set_defaults(func=display_auth_cache)
    parser_local_cache.add_argument('--no-truncate', action='store_true', help='Do not truncate the keys [DANGER!!]')
    return parser_config
Build an argparse argument parser to parse the command line.
def parser(subparsers):
    
    parser_config = subparsers.add_parser('configure', help='Configure %(prog)s for operation!')
    config_subparsers = parser_config.add_subparsers()
    parser_check_auth = config_subparsers.add_parser('check-auth', help=check_auth.__doc__)
    parser_check_auth.set_defaults(func=check_auth)
    parser_local_cache = config_subparsers.add_parser('display-auth-cache', help=display_auth_cache.__doc__)
    parser_local_cache.set_defaults(func=display_auth_cache)
    parser_local_cache.add_argument('--no-truncate', action='store_true', help='Do not truncate the keys [DANGER!!]')
    return parser_config