Configuration Fields
The default configuration file is ~/.config/leo-cli/config.yaml. Complete example:
repo: roots: - ~/work - $HOME/srcdocker: registries: it: source-registry.example.com t: mirror-registry.example.comtime: zones: - +9 - +0 - America/Los_Angelesclipboard: base_url: https://clipboard.example.com token: replace-with-a-long-random-tokenproj: mc: match: demo_01 logs: - runtime/logs - /docker-runtimerepo.roots lists directories scanned by leo repo reindex. Each value expands home, environment variables, and relative paths.
docker
Section titled “docker”docker.registries maps short aliases to registry hostnames. leo docker copy can use these aliases in source or destination references.
time.zones lists extra timezone rows printed after the primary leo time result. Each entry may be a UTC offset such as +9 or an IANA timezone name.
clipboard
Section titled “clipboard”clipboard.base_url points to the Maccy server. leo clip requests its /v1/entries endpoint. clipboard.token is the matching bearer secret from the server’s auth map. Use a long random value and restrict the configuration file permissions.
Each proj key is a project name and the default directory match string. Optional match overrides that directory match string; logs lists log directories resolved from the project root. leo log --project NAME strictly selects by project key.