Reference

CLI reference

Every Eva command and every global flag, with what each one does and what it returns.

Commands

eva                                 start the interactive console
eva --print <prompt>                answer once and exit
eva trust                           read this directory's .eva, and record the grant
eva untrust                         drop the grant for this directory
eva config show                     print the resolved config, and where each key came from
CommandWhat it doesPage
evaopen the interactive consoleThe console
eva --printanswer once, print to stdout, exitPrint mode
eva trustread this directory's .eva, and record the grantTrust
eva untrustdrop the grant for this directoryTrust
eva config showprint the resolved config with each key's originConfiguration

Global flags

Every flag below is valid on every command, before it or after it.

FlagRepeatableWhat it does
--config <path>yesoverlay a config file
--model <provider/model>noset the model for this run
--plugin <id>yesload a plugin for this run
--without-plugin <id>yesskip a plugin for this run
-p, --print <prompt>noanswer once and exit
-v, --versionnoprint the version and exit
-h, --helpnoprint the help and exit

Notes on the surface

The prompt is a flag, not a bare argument. With a bare argument accepted, eva trsut would be a valid prompt rather than a misspelling Eva can correct.

--without-plugin, not --no-plugin. A flag named --no-plugin is parsed by Commander as the negation of --plugin and silently joins it, which is the opposite of what it reads like.

-v is version, not verbose.

-- does not protect a value. Quote a prompt that begins with a dash.

Exit codes

See exit codes.