CLI
The evidentsource CLI scripts the same operations you’d do from a UI or SDK — designed for CI pipelines, demos, and quick operational work.
Install
Section titled “Install”# macOS / Linuxcurl -fsSL https://sandbox.evidentsource.com/install.sh | sh
# Or build from sourcecargo install evidentsource-cliConfigure
Section titled “Configure”Point the CLI at an endpoint:
evidentsource config set endpoint https://sandbox.evidentsource.comevidentsource config set database todomvcFor your own deployment, also set an authentication token.
Common commands
Section titled “Common commands”Commands & events
Section titled “Commands & events”# Issue a commandevidentsource command send CreateTodo --subject todo-1 --data '{"title":"Hi"}'
# Query eventsevidentsource events query --subject todo-1State views
Section titled “State views”evidentsource state-view read todo-listevidentsource state-view read single-todo --todoId todo-1 --as-of 2026-04-20T00:00:00ZSandbox deploys
Section titled “Sandbox deploys”evidentsource sandbox deploy --project ./my-project --database my-todosAdministration
Section titled “Administration”evidentsource db listevidentsource db create my-dbevidentsource components list --database my-dbShell completion
Section titled “Shell completion”evidentsource completion fish > ~/.config/fish/completions/evidentsource.fishevidentsource completion bash > /etc/bash_completion.d/evidentsourceevidentsource completion zsh > "${fpath[1]}/_evidentsource"evidentsource --help and evidentsource <subcommand> --help are the authoritative references.