From 4f0691cec1c964c9e39cf08c8b55ad57684a75c4 Mon Sep 17 00:00:00 2001 From: Luke Childs Date: Sat, 5 Aug 2023 18:47:53 +0700 Subject: [PATCH] Improve config docs --- readme.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 92c5d82..8f7d80a 100644 --- a/readme.md +++ b/readme.md @@ -140,7 +140,19 @@ And then execute it. ## Configuration -The following environment variables can be added to `~/.humanscript/config` to be globally applied to all humanscripts. +The following environment variables can be added to `~/.humanscript/config` to be applied globally to all humanscripts like: + +```shell +$ cat ~/.humanscript/config +HUMANSCRIPT_API_KEY="sk-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" +HUMANSCRIPT_MODEL="gpt-4" +``` + +or on a per script basis like: + +```shell +$ HUMANSCRIPT_REGENERATE="true" ./asciiman +``` ### `HUMANSCRIPT_API`