We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4b55c1 commit 8307bb7Copy full SHA for 8307bb7
ygka/__init__.py
@@ -1,2 +1,5 @@
1
+from .cli import cli_app
2
+
3
4
def main():
- print('Hello, World!')
5
+ cli_app()
ygka/cli/__init__.py
@@ -0,0 +1,2 @@
+from .ygka import ygka_command as _ # noqa
+from .cli_app import cli_app as cli_app
ygka/cli/cli_app.py
@@ -0,0 +1,3 @@
+from typer import Typer
+cli_app = Typer()
ygka/cli/ygka.py
@@ -0,0 +1,8 @@
+from rich import print as pprint
+from .cli_app import cli_app
6
+@cli_app.command()
7
+def ygka_command():
8
+ pprint('[bold]Hello World![/bold]')
0 commit comments