yera.cli.commands.get
Get commands — inspect resolved config values.
Symbols
cred
cred(
key: str,
allow_missing: Annotated[bool, Parameter(negative='')] = False,
ctx: Annotated[AppContext, Parameter(parse=False, show=False)],
) → NonePrint the plain value of a single credential leaf.
Parameters
Exact dotted leaf key.
Exit 0 and print nothing if the key is absent.
cred_group
cred_group(
name: str | None = None,
ctx: Annotated[AppContext, Parameter(parse=False, show=False)],
) → NoneShow active credential group or inspect a named group's metadata.
Parameters
Credential group name to inspect. If omitted, prints the active group name. If provided, prints the named group's metadata as JSON.
cred_groups
cred_groups(
ctx: Annotated[AppContext, Parameter(parse=False, show=False)],
) → NoneList all credential groups with credential counts and authorised roots.
creds
creds(
path: str | None = None,
keys_only: Annotated[bool, Parameter(negative='')] = False,
reveal: Annotated[bool, Parameter(negative='')] = False,
ctx: Annotated[AppContext, Parameter(parse=False, show=False)],
) → NoneInspect credentials for the active credential group.
Parameters
Dotted path prefix to scope the output. Omit for all credentials in the active group.
Print key names only.
Show real credential values instead of ***.
hub
hub(
hub_name: str | None = None,
ctx: Annotated[AppContext, Parameter(parse=False, show=False)],
) → NonePrint one hub's config as JSON.
Parameters
Hub name to inspect. If omitted, uses the resolved default hub
(pyproject.toml [tool.yera] hub, then yera.toml
[hubs] default).
hubs
hubs(
ctx: Annotated[AppContext, Parameter(parse=False, show=False)],
) → NonePrint every hub entry from config as JSON.
model
model(
model_id: Annotated[str, Parameter(help='Yera model id, e.g. aws.meta.llama3.')],
ctx: Annotated[AppContext, Parameter(parse=False, show=False)],
) → NonePrint all entries for a model id visible under the active Yera profile as JSON.
Since the same model id can exist under multiple connections, all matching entries visible in the active profile are printed.
Parameters
Yera-internal dot-delimited model id, e.g. aws.meta.llama3.
models
models(
model_type: Annotated[Literal['llm', 'tts', 'stt', 'embedding', 'reranker'] | None, Parameter(help='Filter by model type.')] = None,
ctx: Annotated[AppContext, Parameter(parse=False, show=False)],
) → NonePrint all models visible under the active Yera profile as JSON.
Parameters
If set, only models of this type are returned.
profile
profile(
ctx: Annotated[AppContext, Parameter(parse=False, show=False)],
) → NonePrint the currently active Yera profile as JSON.
profiles
profiles(
ctx: Annotated[AppContext, Parameter(parse=False, show=False)],
) → NonePrint all configured Yera profiles as JSON.
provider
provider(
provider_type: Annotated[Literal['anthropic', 'openai', 'aws', 'azure', 'ollama', 'llama_cpp'], Parameter(help='Provider type to inspect.')],
ctx: Annotated[AppContext, Parameter(parse=False, show=False)],
) → NonePrint one provider's config including all connections as JSON.
Parameters
Provider type to inspect. Must be a configured provider.
providers
providers(
ctx: Annotated[AppContext, Parameter(parse=False, show=False)],
) → NonePrint all configured providers as JSON.
setting
setting(
setting_name: Annotated[str, Parameter(help=_SETTING_NAME_HELP)],
ctx: Annotated[AppContext, Parameter(parse=False, show=False)],
) → NonePrint the resolved value of a single setting.
settings
settings(
ctx: Annotated[AppContext, Parameter(parse=False, show=False)],
) → NonePrint all resolved settings and the resolved default hub name.