summaryrefslogtreecommitdiff
path: root/docs/usage.md
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-02 11:41:44 +0300
committerPaul Buetow <paul@buetow.org>2026-05-02 11:41:55 +0300
commit266bedf71fe8a54b86af038889522a68bae562a8 (patch)
tree6ca2b100e63ea5b4e746e71b2b79b626ba70c597 /docs/usage.md
parentd9184a5bfdc39d40232cb0d66a350daffcd7a326 (diff)
Drop hexai edit; document hexai config only.
The CLI now opens the config file only via hexai config (and --config). README, usage, and configuration docs describe the subcommand. Version 0.38.4. Co-authored-by: Cursor <cursoragent@cursor.com>
Diffstat (limited to 'docs/usage.md')
-rw-r--r--docs/usage.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/usage.md b/docs/usage.md
index 096b93a..40e8e82 100644
--- a/docs/usage.md
+++ b/docs/usage.md
@@ -81,6 +81,7 @@ Process text via the configured LLM:
- `cat SOMEFILE.txt | hexai`
- `hexai 'some prompt text here'`
- `cat SOMEFILE.txt | hexai 'some prompt text here'` (stdin and arg are concatenated)
+- `hexai config` opens the global config file in `$HEXAI_EDITOR` or `$EDITOR` (use `hexai --config /path/to.toml config` for another file)
- `hexai --tps-simulation 12-18` to simulate model output speed without calling a provider
Defaults: concise answers. If the prompt asks for commands, Hexai outputs only commands. Add the word `explain` to request a verbose explanation. Exit codes: `0` success, `1` provider/config error, `2` no input`.