diff --git a/codegen.py b/codegen.py new file mode 100644 index 0000000..3aafdcf --- /dev/null +++ b/codegen.py @@ -0,0 +1,8 @@ +import click + +@click.command() +def generate(): + click.echo("Starting the generation process...") + +if __name__ == "__main__": + generate() diff --git a/main.py b/main.py deleted file mode 100644 index 65bed17..0000000 --- a/main.py +++ /dev/null @@ -1,8 +0,0 @@ -import click - -@click.command() -def hello(): - click.echo("Hello, world!") - -if __name__ == "__main__": - hello() diff --git a/tests/test_dummy.py b/tests/test_dummy.py index 63ae41d..f4addc7 100644 --- a/tests/test_dummy.py +++ b/tests/test_dummy.py @@ -1,2 +1,5 @@ +from codegen import hello + def test_dummy(): + hello() assert True is True