#!/usr/bin/env python3

import argparse
from ldit.ldit import list_tags


if __name__ == "__main__":
    parser = argparse.ArgumentParser(description='List Docker hub Image Tags.')
    parser.add_argument('images', metavar='image', type=str, nargs='+',
                        help='image name, eg. alpine, google/debian etc.')
    args = parser.parse_args()

    for image in args.images:
        list_tags(image, cli=True)
