Create a skeleton python project using "hatch new -i --cli infra-rebuild" with Hatch version 1.7.0 and modify it to fit this project. This is the first step of porting infra-rebuild to Python. Also provide a first .gitignore ignoring relevant build directories.
9 lines
286 B
Python
9 lines
286 B
Python
import click
|
|
|
|
from infra_rebuild.__about__ import __version__
|
|
|
|
|
|
@click.group(context_settings={"help_option_names": ["-h", "--help"]}, invoke_without_command=True)
|
|
@click.version_option(version=__version__, prog_name="infra-rebuild")
|
|
def infra_rebuild():
|
|
click.echo("Hello world!")
|