@marizmelo/llm-cli 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +57 -0
- package/dist/package.json +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# LLM CLI
|
|
2
|
+
|
|
3
|
+
Multi-provider AI assistant for the command line supporting OpenAI, Anthropic Claude, Ollama, and more.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install -g @marizmelo/llm-cli
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
llm-cli
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
For non-interactive mode:
|
|
18
|
+
```bash
|
|
19
|
+
llm-cli --prompt "What is 2+2?"
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
## Features
|
|
23
|
+
|
|
24
|
+
- 🤖 Multi-provider support (OpenAI, Anthropic, Ollama, Gemini)
|
|
25
|
+
- 🔧 Interactive CLI interface
|
|
26
|
+
- 📁 Context-aware file processing
|
|
27
|
+
- 🔌 Extensible with custom commands
|
|
28
|
+
- 🎯 Provider-specific model switching
|
|
29
|
+
- 💾 Memory and context management
|
|
30
|
+
|
|
31
|
+
## Provider Setup
|
|
32
|
+
|
|
33
|
+
### Ollama (Local)
|
|
34
|
+
```bash
|
|
35
|
+
# Install Ollama first, then:
|
|
36
|
+
llm-cli /provider switch ollama
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
### OpenAI
|
|
40
|
+
```bash
|
|
41
|
+
export OPENAI_API_KEY="your-api-key"
|
|
42
|
+
llm-cli /provider switch openai
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
### Anthropic Claude
|
|
46
|
+
```bash
|
|
47
|
+
export ANTHROPIC_API_KEY="your-api-key"
|
|
48
|
+
llm-cli /provider switch anthropic
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
## Documentation
|
|
52
|
+
|
|
53
|
+
For full documentation, visit: https://github.com/marizmelo/llm-cli
|
|
54
|
+
|
|
55
|
+
## License
|
|
56
|
+
|
|
57
|
+
Apache-2.0
|