hatched
This commit is contained in:
commit
aac78ff993
9 changed files with 1089 additions and 0 deletions
4
coverage_rich/__about__.py
Normal file
4
coverage_rich/__about__.py
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
# SPDX-FileCopyrightText: 2023-present Waylon S. Walker <waylon@waylonwalker.com>
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
__version__ = '0.0.1'
|
||||
3
coverage_rich/__init__.py
Normal file
3
coverage_rich/__init__.py
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# SPDX-FileCopyrightText: 2023-present Waylon S. Walker <waylon@waylonwalker.com>
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
9
coverage_rich/__main__.py
Normal file
9
coverage_rich/__main__.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
# SPDX-FileCopyrightText: 2023-present Waylon S. Walker <waylon@waylonwalker.com>
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
import sys
|
||||
|
||||
if __name__ == '__main__':
|
||||
from .cli import coverage_rich
|
||||
|
||||
sys.exit(coverage_rich())
|
||||
13
coverage_rich/cli/__init__.py
Normal file
13
coverage_rich/cli/__init__.py
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
# SPDX-FileCopyrightText: 2023-present Waylon S. Walker <waylon@waylonwalker.com>
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
import click
|
||||
|
||||
from ..__about__ import __version__
|
||||
|
||||
|
||||
@click.group(context_settings={'help_option_names': ['-h', '--help']}, invoke_without_command=True)
|
||||
@click.version_option(version=__version__, prog_name='coverage-rich')
|
||||
@click.pass_context
|
||||
def coverage_rich(ctx: click.Context):
|
||||
click.echo('Hello world!')
|
||||
Loading…
Add table
Add a link
Reference in a new issue