# -*- coding: utf-8 -*-

"""
Call as script
"""

import argparse
import importlib.metadata


_PACKAGE_NAME = "ncw"


def main() -> None:
    """Script fuction autogenerated by uv, might delete later"""
    try:
        version = importlib.metadata.version(_PACKAGE_NAME)
    except importlib.metadata.PackageNotFoundError as error:
        version = str(error)
    #
    argument_parser = argparse.ArgumentParser(
        prog="ncw", description="Nested collections wrapper"
    )
    argument_parser.add_argument("--version", action="version", version=version)
    argument_parser.parse_args()


if __name__ == "__main__":
    main()  # not testable

# vim: fileencoding=utf-8 ts=4 sts=4 sw=4 autoindent expandtab syntax=python:
