Skip to content

Commit

Permalink
Improve config docs
Browse files Browse the repository at this point in the history
  • Loading branch information
lukechilds committed Aug 5, 2023
1 parent 13edeec commit 4f0691c
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`

Expand Down

0 comments on commit 4f0691c

Please sign in to comment.