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"
|
build-backend = "hatchling.build"
|
||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "Gmirator"
|
name = "gmirator"
|
||||||
version = "0.0.1"
|
version = "0.0.1"
|
||||||
authors = [
|
authors = [
|
||||||
{ name="Steven GIBONE", email="steven.gibone@zaclys.net" },
|
{ name="Steven GIBONE", email="steven.gibone@zaclys.net" },
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
import typer
|
import typer
|
||||||
import generate
|
import gmirator.generate
|
||||||
import synchronise
|
import gmirator.synchronise
|
||||||
|
|
||||||
|
|
||||||
app = typer.Typer(
|
app = typer.Typer(
|
||||||
add_completion=False,
|
add_completion=False,
|
||||||
help="gmirator helps you publish in both gmi and html"
|
help="gmirator helps you publish in both gmi and html"
|
||||||
)
|
)
|
||||||
app.add_typer(generate.app, name='gen')
|
app.add_typer(gmirator.generate.app, name='gen')
|
||||||
app.add_typer(synchronise.app, name='sync')
|
app.add_typer(gmirator.synchronise.app, name='sync')
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
app()
|
app()
|
Loading…
Reference in a new issue