e850c340b7cafdbba90c07c1e6a6b9724d51f8b3
Adds the following tools: - read_dir - list a directory's contents - read_file - read the content of a file - write_file - write contents to a file - insert_file_lines - insert lines in a file - replace_file_lines - replace or remove lines in a file
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, andrmsub-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!
Description
Languages
Go
100%