def METHOD_NAME(args: argparse.Namespace) -> None:
    if len(args.filespec) != 1:
        raise NotImplementedError("Show can only work on a single DICOM file input")
    ds, element_val = args.filespec[0]
    if not element_val:
        element_val = ds
    if args.exclude_private:
        ds.remove_private_tags()
    if args.quiet and isinstance(element_val, Dataset):
        show_quiet(element_val)
    elif args.top and isinstance(element_val, Dataset):
        print(element_val.top())
    else:
        print(str(element_val))