|
1 | 1 | # json-cli |
2 | 2 |
|
3 | | -AI-powered CLI task runner. Describe your goal in plain English — AI generates a validated JSON command plan — runner executes it step by step. |
| 3 | +AI-powered CLI task runner. Write in plain English, AI generates a validated JSON command plan and finally runner executes it step by step. |
4 | 4 |
|
5 | 5 | ## Installation |
6 | 6 |
|
@@ -107,31 +107,31 @@ json-cli |
107 | 107 | json-cli --help |
108 | 108 | ``` |
109 | 109 | ``` |
110 | | -┌ json-cli — AI-powered CLI task runner |
111 | | -│ |
112 | | -│ Usage |
113 | | -│ json-cli "<your goal>" [options] |
114 | | -│ |
115 | | -│ Options |
116 | | -│ --provider <name> AI provider: claude | openai | ollama (default: claude) |
117 | | -│ --yes Skip confirmation prompt |
118 | | -│ --dry-run Show plan without executing |
119 | | -│ --debug Show system prompt and raw AI response |
120 | | -│ --help Show this help message |
121 | | -│ --version, -v Show version |
122 | | -│ |
123 | | -│ Examples |
124 | | -│ json-cli "please run tests" |
125 | | -│ json-cli "run tests and build" |
126 | | -│ json-cli "run tests and build" --yes |
127 | | -│ json-cli "git add, commit with message 'fix: bug', push" |
128 | | -│ json-cli "clone https://github.com/user/repo, install deps, run dev" |
129 | | -│ json-cli "run tests and publish" --provider openai |
130 | | -│ json-cli "run tests" --dry-run |
131 | | -│ json-cli "run tests" --debug |
132 | | -│ json-cli "run tests" --debug --dry-run |
133 | | -│ |
134 | | -└ Docs: https://github.com/ekaone/json-cli |
| 110 | + json-cli — AI-powered CLI task runner |
| 111 | +
|
| 112 | + Usage |
| 113 | + json-cli "<your goal>" [options] |
| 114 | +
|
| 115 | + Options |
| 116 | + --provider <name> AI provider: claude | openai | ollama (default: claude) |
| 117 | + --yes Skip confirmation prompt |
| 118 | + --dry-run Show plan without executing |
| 119 | + --debug Show system prompt and raw AI response |
| 120 | + --help Show this help message |
| 121 | + --version, -v Show version |
| 122 | +
|
| 123 | + Examples |
| 124 | + json-cli "please run tests" |
| 125 | + json-cli "run tests and build" |
| 126 | + json-cli "run tests and build" --yes |
| 127 | + json-cli "git add, commit with message 'fix: bug', push" |
| 128 | + json-cli "clone https://github.com/user/repo, install deps, run dev" |
| 129 | + json-cli "run tests and publish" --provider openai |
| 130 | + json-cli "run tests" --dry-run |
| 131 | + json-cli "run tests" --debug |
| 132 | + json-cli "run tests" --debug --dry-run |
| 133 | +
|
| 134 | + Docs: https://github.com/ekaone/json-cli |
135 | 135 | ``` |
136 | 136 |
|
137 | 137 | --- |
@@ -172,7 +172,7 @@ Runner ← executes step by step, streams output live |
172 | 172 | | `fs` | mkdir, touch, cp, mv, ls `(coming soon)` | |
173 | 173 | | `shell` | any *(escape hatch — always requires extra confirmation)* | |
174 | 174 |
|
175 | | -> **Note:** Flags and arguments are unrestricted — `--port 5000`, `-m "message"`, `--force` etc. are all passed freely. Only the command itself is whitelisted. |
| 175 | +> **Note:** Flags and arguments are unrestricted, `--port 5000`, `-m "message"`, `--force` etc. are all passed freely. Only the command itself is whitelisted. |
176 | 176 |
|
177 | 177 | --- |
178 | 178 |
|
|
0 commit comments