36 lines
701 B
Markdown
36 lines
701 B
Markdown
# lmcli
|
|
|
|
`lmcli` is a (Large) Language Model CLI.
|
|
|
|
Current features:
|
|
- Perform one-shot prompts with `lmcli prompt <message>`
|
|
- Manage persistent conversations with the `new`, `reply`, `view`, and `rm`
|
|
sub-commands.
|
|
|
|
Planned features:
|
|
- Ask questions about content received on stdin
|
|
- "functions" to allow reading (and possibly writing) to local files
|
|
|
|
Maybe features:
|
|
- Natural language image generation, iterative editing
|
|
|
|
## Install
|
|
|
|
```shell
|
|
$ go install git.mlow.ca/mlow/lmcli@latest
|
|
```
|
|
|
|
## Usage
|
|
|
|
Invoke `lmcli` at least once:
|
|
|
|
```shell
|
|
$ lmcli help
|
|
```
|
|
|
|
Edit `~/.config/lmcli/config.yaml` and set `openai.apiKey` to your API key.
|
|
|
|
Refer back to the output of `lmcli help` for usage.
|
|
|
|
Enjoy!
|