infra-rebuild/src/infra_rebuild/cli/__init__.py
June 500438636a
Create a skeleton python project and modify it to fit this project
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.
2024-06-05 15:24:47 +02:00

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!")