Skip to content

Commit 9167854

Browse files
committed
feat: change aitomatic.py to cli.py
1 parent 74cc0cc commit 9167854

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

src/cli.py

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
import click
2+
from src.app.deploy import deploy
3+
4+
5+
@click.group(help='''
6+
Aitomatic CLI tool to help manage aitomatic projects and apps
7+
''')
8+
def cli():
9+
pass
10+
11+
12+
@cli.group(help='''
13+
CLI sub-command to help manage aitomatic apps
14+
''')
15+
def app():
16+
pass
17+
18+
app.add_command(deploy)
19+
20+
if __name__ == '__main__':
21+
cli()

0 commit comments

Comments
 (0)