File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ celerybeat.pid
103103
104104# Environments
105105.env
106- .venv
106+ .venv **
107107env /
108108venv /
109109ENV /
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ black -S .
3636```
37372 . Run command to test script
3838``` shell
39- python src/aitomatic .py
39+ python src/cli .py
4040```
4141
4242## Steps to install the CLI to virtual environment and test it
@@ -47,11 +47,11 @@ pip install -e .
4747```
48482 . Verify the CLI
4949``` shell
50- which aitomatic
50+ which aito
5151```
52- 3 . Run ` aitomatic ` command
52+ 3 . Run ` aito ` command
5353``` shell
54- aitomatic
54+ aito
5555```
5656
5757## Steps to package and distribute CLI to TestPyPI
Original file line number Diff line number Diff line change @@ -24,4 +24,4 @@ python_requires = >=3.7
2424
2525[options.entry_points]
2626console_scripts =
27- aitomatic = src.aitomatic:aitomatic_cli
27+ aito = src.cli:cli
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ import click
2+ from src .app .deploy import deploy
3+
4+
5+ @click .group (help = '''
6+ CLI sub-command to help manage aitomatic apps
7+ ''' )
8+ def app ():
9+ pass
10+
11+ app .add_command (deploy )
Original file line number Diff line number Diff line change 1+ import click
2+ from src .app .cli import app
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+ cli .add_command (app )
12+
13+ if __name__ == '__main__' :
14+ cli ()
Original file line number Diff line number Diff line change 1- 0.1.1
1+ 0.2.0
You can’t perform that action at this time.
0 commit comments