snapshell 0.2.3

snapshell - a snappy CLI that generates shell commands via OpenRouter LLMs
1
2
3
4
5
6
7
8
9
10
11
# OpenRouter API key
SNAPSHELL_OPENROUTER_API_KEY=your_openrouter_api_key_here

# Optional: set the default model to use for OpenRouter requests (can be overridden with -m)
# Format: provider/model e.g. groq/fast-model or openai/gpt-oss-120b
SNAPSHELL_OPENROUTER_MODEL=openai/gpt-oss-120b

# Optional custom system messages
SNAPSHELL_SYSTEM="You are a strict shell command generator. Output only shell commands."
SNAPSHELL_SYSTEM_SINGLE="Single-line only instruction"
SNAPSHELL_SYSTEM_MULTILINE="Multiline allowed instruction"