def add_list_parser(sub_parser):
    """
    Adds a sub-parser for the "list" sub-command to the parser provided.

    :param sub_parser: the parser to add to
    :type sub_parser: <class 'argparse.ArgumentParser'>
    """
    list_parser = sub_parser.add_parser('list', help='List file in remote')
    list_parser.add_argument('remote', help='remote to list')
