What's new
--context is optional. A question that carries its own facts runs with no context: decide "Is Atlanta the capital of Georgia?" prints yes.
- Config files.
decide reads .decide/config from the working directory and each parent up to your home directory, then ~/.config/decide/config and ~/.decide/config. Files hold KEY = "value" lines for DECIDE_MODEL and DECIDE_MODEL_API_KEY, a subset of TOML. The nearest file wins per key, and the environment wins over every file. DECIDE_MODEL_API_KEY may appear only in the home files, so a key never lands in a repository. Any problem in a file exits 10 with a message naming the file and line.
--set-config. decide --set-config --model typesafe:jev-latest --api-key <key> writes those settings to ~/.config/decide/config, changing only those lines and keeping the rest of the file, comments included. --project writes ./.decide/config instead.
- Built on DecisionModels 0.3.0.
Install
brew install vsekhar/tap/decide