| 1 | import click |
| 2 | from .codegen import Codegen |
| 3 | from pathlib import Path |
| 4 | |
| 5 | |
| 6 | @click.command() |
| 7 | @click.argument("prompt") |
| 8 | def cli(prompt): |
| 9 | codegen = Codegen() |
| 10 | codegen.load_session_data(str(Path.cwd())) |
| 11 | if codegen.is_new_session_data: |
| 12 | codegen.init_session() |