Config file
The CLI stores its configuration at~/.versori/config.yaml by default. You can override this with the --config flag or the VERSORI_CONFIG environment variable.
The config file holds your contexts (name, organisation ID, JWT) and tracks which context is currently active.
Contexts
A context groups together an organisation ID and a JWT token under a name. The active context is used by default for all commands. You can switch contexts withversori context select or override per-invocation with the --context flag.
Project-level configuration
When you runversori projects sync, a .versori file is created in the target directory containing the project ID and context name. Subsequent commands that accept --project infer the project automatically when run from that directory, so flags like save, deploy, logs, and proxy can be invoked without re-typing the project ID.
Resolution rules for --project
Warnings and notices are written to stderr so JSON / piped output on stdout stays clean. Pass
--context explicitly to override the .versori auto-switch; the active CLI context itself is unchanged (no need to re-run versori context select).