lmcli
is a (Large) Language Model CLI
Matt Low
b229c42811
So far only supported on the non-streaming endpoint. Added the `read_dir` tool for reading contents from paths relative to the current working directory. |
||
---|---|---|
pkg/cli | ||
.gitignore | ||
go.mod | ||
go.sum | ||
main.go | ||
README.md |
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
, andrm
sub-commands. - Syntax highlighted output
Planned features:
- Ask questions about content received on stdin
- "functions" to allow reading (and possibly writing) to files within the current working directory
Maybe features:
- Natural language image generation, iterative editing
Install
$ go install git.mlow.ca/mlow/lmcli@latest
Usage
Invoke lmcli
at least once:
$ 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!