Coverage for python/lsst/images/cli/_main.py: 100%
17 statements
« prev ^ index » next coverage.py v7.14.1, created at 2026-06-15 03:31 +0000
« prev ^ index » next coverage.py v7.14.1, created at 2026-06-15 03:31 +0000
1# This file is part of lsst-images.
2#
3# Developed for the LSST Data Management System.
4# This product includes software developed by the LSST Project
5# (https://www.lsst.org).
6# See the COPYRIGHT file at the top-level directory of this distribution
7# for details of code ownership.
8#
9# Use of this source code is governed by a 3-clause BSD-style
10# license that can be found in the LICENSE file.
11from __future__ import annotations
13__all__ = ("main",)
15import click
17from ..tests.extract_legacy_test_data import extract_test_data
18from ..tests.verify_rewrite import verify_rewrite
19from ._convert import convert
20from ._inspect import inspect
21from ._minify import minify
22from ._reformat import reformat
25@click.group(name="lsst-images-admin", context_settings={"help_option_names": ["-h", "--help"]})
26def main() -> None:
27 """Administrative tools for lsst.images files."""
30main.add_command(convert)
31main.add_command(inspect)
32main.add_command(minify)
33main.add_command(reformat)
34main.add_command(extract_test_data, name="extract-test-data")
35main.add_command(verify_rewrite, name="verify-rewrite")