Coverage for .tox/coverage/lib/python3.11/site-packages/wuttjamaican/cli/__init__.py: 100%

6 statements  

« prev     ^ index     » next       coverage.py v7.3.2, created at 2024-12-08 19:35 -0600

1# -*- coding: utf-8; -*- 

2################################################################################ 

3# 

4# WuttJamaican -- Base package for Wutta Framework 

5# Copyright © 2023-2024 Lance Edgar 

6# 

7# This file is part of Wutta Framework. 

8# 

9# Wutta Framework is free software: you can redistribute it and/or modify it 

10# under the terms of the GNU General Public License as published by the Free 

11# Software Foundation, either version 3 of the License, or (at your option) any 

12# later version. 

13# 

14# Wutta Framework is distributed in the hope that it will be useful, but 

15# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 

16# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 

17# more details. 

18# 

19# You should have received a copy of the GNU General Public License along with 

20# Wutta Framework. If not, see <http://www.gnu.org/licenses/>. 

21# 

22################################################################################ 

23""" 

24WuttJamaican - command line interface 

25 

26See also :doc:`/narr/cli/index`. 

27 

28This (``wuttjamaican.cli``) namespace exposes the following: 

29 

30* :func:`~wuttjamaican.cli.base.make_typer` 

31* :data:`~wuttjamaican.cli.base.wutta_typer` (top-level command) 

32""" 

33 

34from .base import wutta_typer, make_typer 

35 

36# nb. must bring in all modules for discovery to work 

37from . import make_appdir 

38from . import make_uuid 

39 

40# discover more commands, installed via other packages 

41from .base import typer_eager_imports 

42typer_eager_imports(wutta_typer)