Coverage for python/lsst/images/cli/_main.py: 100%
19 statements
« prev ^ index » next coverage.py v7.14.1, created at 2026-06-24 01:50 -0700
« prev ^ index » next coverage.py v7.14.1, created at 2026-06-24 01:50 -0700
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 ._fuzz import fuzz_masked_image
21from ._inspect import inspect
22from ._minify import minify
23from ._reformat import reformat
26@click.group(name="lsst-images-admin", context_settings={"help_option_names": ["-h", "--help"]})
27def main() -> None:
28 """Administrative tools for lsst.images files."""
31main.add_command(convert)
32main.add_command(inspect)
33main.add_command(minify)
34main.add_command(reformat)
35main.add_command(extract_test_data, name="extract-test-data")
36main.add_command(verify_rewrite, name="verify-rewrite")
37main.add_command(fuzz_masked_image, name="fuzz-masked-image")