Coverage for packages / griffecli / src / griffecli / __init__.py: 100.00%

3 statements  

« prev     ^ index     » next       coverage.py v7.13.4, created at 2026-02-11 11:48 +0100

1# This top-level module imports all public names from the CLI package, 

2# and exposes them as public objects. 

3 

4"""Griffe CLI package. 

5 

6The CLI (Command Line Interface) for the griffe library. 

7This package provides command-line tools for interacting with griffe. 

8 

9## CLI entrypoints 

10 

11- [`griffecli.main`][]: Run the main program. 

12- [`griffecli.check`][]: Check for API breaking changes in two versions of the same package. 

13- [`griffecli.dump`][]: Load packages data and dump it as JSON. 

14- [`griffecli.get_parser`][]: Get the argument parser for the CLI. 

15""" 

16 

17from __future__ import annotations 

18 

19from griffecli._internal.cli import DEFAULT_LOG_LEVEL, check, dump, get_parser, main 

20 

21__all__ = [ 

22 "DEFAULT_LOG_LEVEL", 

23 "check", 

24 "dump", 

25 "get_parser", 

26 "main", 

27]