You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
towncrier/src/towncrier/_shell.py

26 lines
557 B

# Copyright (c) Stephen Finucane, 2019
# See LICENSE for details.
"""
towncrier, a builder for your news files.
"""
import click
from click_default_group import DefaultGroup
from ._version import __version__
from .build import _main as _build_cmd
from .check import _main as _check_cmd
from .create import _main as _create_cmd
@click.group(cls=DefaultGroup, default="build", default_if_no_args=True)
@click.version_option(__version__.public())
def cli():
pass
cli.add_command(_build_cmd)
cli.add_command(_check_cmd)
cli.add_command(_create_cmd)