"""H5P packaging utilities CLI.

Usage::

    python -m byteb4rb1e.sphinxcontrib.h5p.utils.pkg build
    python -m byteb4rb1e.sphinxcontrib.h5p.utils.pkg build --help
"""

from byteb4rb1e.utils.argparse import CLI

from byteb4rb1e.sphinxcontrib.h5p.utils.pkg.build import BuildCommand
from byteb4rb1e.sphinxcontrib.h5p.utils.pkg.index import IndexCommand
from byteb4rb1e.sphinxcontrib.h5p.utils.pkg.bootstrap import BootstrapCommand

cli = CLI(
    prog="python -m byteb4rb1e.sphinxcontrib.h5p.utils.pkg",
    description="H5P packaging utilities.",
)
cli.bootstrap([BuildCommand, IndexCommand, BootstrapCommand])
cli.run()
