Skip to content

Config — tamias.yml / tamias.yaml / tamias.toml ​

store / cache — an install/fetch location ​

fieldtyperequirednotes
kindstringoptionalImpl kind — local (default) or cf.
rootstringoptionalRoot dir (or URL base for cf).

registries.NAME — a named registry ​

fieldtyperequirednotes
kindstringoptionallocal (default) or cf.
urlstringoptionalBase URL (http) or root dir.
token_envstringoptionalEnv var name holding the bearer token — never the token.

[publish] — publish routing ​

fieldtyperequirednotes
defaultstringoptionalRegistry name publish targets by default.

Top level ​

fieldtyperequirednotes
storeLocationoptionalInstall store location.
cacheLocationoptionalFetch-cache location.
registriesBTreeMap<String, Registry>optionalNamed registries.
publishPublishoptionalPublish routing.

format trait (parse/render) ​

fieldtyperequirednotes

Formats ​

YAML is the standard — tamias.yml or tamias.yaml; tamias.toml parses into the same Config. tamias config reads the first of ./tamias.yml, ./tamias.yaml, ./tamias.toml in the cwd (--file overrides); no file means defaults. The same file informs doctor's registry check (publish.default → registries.NAME).

Constraints ​

  • Token values never live in the file — token_env fields name the env var that carries them (the http client reads TAMIAS_REGISTRY_TOKEN).
  • tamias config --json dumps the effective config; tamias schema emits the JSON Schema for the package manifest (tamias.yaml), a different document.