diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/configuration.md | 1 | ||||
| -rw-r--r-- | docs/usage.md | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/docs/configuration.md b/docs/configuration.md index 573d8e7..81de647 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -5,6 +5,7 @@ This page explains where the config lives and how to choose a style; the authori Global config file - Location: `$XDG_CONFIG_HOME/hexai/config.toml` (usually `~/.config/hexai/config.toml`). +- Edit from a terminal: `hexai config` opens that file in `$HEXAI_EDITOR` or `$EDITOR` (or `hexai --config /path/to.toml config` for a specific file). - Style: sectioned tables only — see [config.toml.example](../config.toml.example) for a complete, commented reference. Per-project config file 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`. |
