Coverage for python/lsst/images/cli/_main.py: 100%
29 statements
« prev ^ index » next coverage.py v7.16.2, created at 2026-10-14 19:06 +0000
« prev ^ index » next coverage.py v7.16.2, created at 2026-10-14 19:06 +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.extract_obs_info_test_data import extract_obs_info_test_data
19from ..tests.verify_rewrite import verify_rewrite
20from ._convert import convert
21from ._describe import describe
22from ._diagram import diagram
23from ._fixtures import fixtures
24from ._fuzz import fuzz_masked_image
25from ._inspect import inspect
26from ._minify import minify
27from ._reformat import reformat
28from ._schemas import schemas
31@click.group(name="lsst-images-admin", context_settings={"help_option_names": ["-h", "--help"]})
32def main() -> None:
33 """Administrative tools for lsst.images files."""
36main.add_command(convert)
37main.add_command(describe)
38main.add_command(diagram)
39main.add_command(fixtures)
40main.add_command(inspect)
41main.add_command(minify)
42main.add_command(reformat)
43main.add_command(schemas)
44main.add_command(extract_test_data, name="extract-test-data")
45main.add_command(extract_obs_info_test_data, name="extract-obs-info-test-data")
46main.add_command(verify_rewrite, name="verify-rewrite")
47main.add_command(fuzz_masked_image, name="fuzz-masked-image")