File size: 652 Bytes
98f8e86
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
33
34
# Go CLI for LLM Backend

This folder contains a cross-platform command line client written in Go. The CLI can be built as a single executable for Windows, Linux and macOS.

## Features

- Interactive colour-coded chat sessions
- Upload documents to the API
- List, read, write and delete files in the VM

## Building

Install Go 1.20 or later and run:

```bash
cd cli-go
go build -o llmcli
```

For other platforms pass `GOOS` and `GOARCH` environment variables:

```bash
GOOS=windows GOARCH=amd64 go build -o llmcli.exe
```

## Usage

```
./llmcli --user yourname --server http://localhost:8000 chat
```

Use `--help` on any subcommand for details.