File size: 749 Bytes
5cbac45
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
dcff6aa
5cbac45
 
dcff6aa
5cbac45
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Windows CLI Application

This folder contains a standalone command line interface for interacting with
`llm-backend`. The application uses [Typer](https://typer.tiangolo.com/) for a
simple user experience and can be packaged into a single Windows executable
using [PyInstaller](https://www.pyinstaller.org/).

## Running from source

```bash
python -m cli_app --user yourname
```

## Building the executable

1. Install PyInstaller:

   ```bash
   pip install pyinstaller
   ```

2. Build the app:

   ```bash
   pyinstaller --onefile -n StarletteAI cli_app/main.py
   ```

   The resulting `StarletteAI.exe` will appear in the `dist` directory.

The executable can be distributed on Windows 10/11 systems without requiring a
Python installation.