change "main.py" into "__init__.py"
and adapted imports accordingly
This commit is contained in:
parent
aab9cfff0b
commit
7fe3e6d434
2 changed files with 5 additions and 5 deletions
|
@ -3,7 +3,7 @@ requires = ["hatchling"]
|
|||
build-backend = "hatchling.build"
|
||||
|
||||
[project]
|
||||
name = "Gmirator"
|
||||
name = "gmirator"
|
||||
version = "0.0.1"
|
||||
authors = [
|
||||
{ name="Steven GIBONE", email="steven.gibone@zaclys.net" },
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
import typer
|
||||
import generate
|
||||
import synchronise
|
||||
import gmirator.generate
|
||||
import gmirator.synchronise
|
||||
|
||||
|
||||
app = typer.Typer(
|
||||
add_completion=False,
|
||||
help="gmirator helps you publish in both gmi and html"
|
||||
)
|
||||
app.add_typer(generate.app, name='gen')
|
||||
app.add_typer(synchronise.app, name='sync')
|
||||
app.add_typer(gmirator.generate.app, name='gen')
|
||||
app.add_typer(gmirator.synchronise.app, name='sync')
|
||||
|
||||
if __name__ == "__main__":
|
||||
app()
|
Loading…
Reference in a new issue