kunji ask
Ask an AI model one question from the terminal, with pipes and file attachments.
Examples
Section titled “Examples”# Ask one questionkunji ask "What is a closure in JavaScript?"
# Ask about a filekunji ask -f app.py "What does this do?"
# Send command outputnpm test 2>&1 | kunji ask "Why does this fail?"
# Plain output for scriptskunji ask --raw "Write a haiku about git" > poem.txtkunji ask
Section titled “kunji ask”One question, one answer. Works with pipes: npm test 2>&1 | kunji ask “fix this”
kunji ask [prompt] [options]Arguments
| Name | Required | Description |
|---|---|---|
prompt |
no | Your question. Piped input is added below it. |
Options
| Option | Description |
|---|---|
--model, -m |
provider:model |
--system, -s |
System prompt. |
--file, -f |
Attach a text file (repeat for more). |
--raw |
Plain text output (default when piped). |
Run kunji ask --help in your terminal to see this in place.