yera.cli.commands.patch
Credential subtree merge operations.
Symbols
creds
creds(
path: str,
json_str: str | None = None,
from_file: Annotated[str | None, Parameter(name='--from-file')] = None,
ctx: Annotated[AppContext, Parameter(parse=False, show=False)],
) → NoneMerge credential leaves into a namespace.
Parameters
path
type: str
Dotted namespace to merge into.
json_str
type: str | None = None
Inline JSON object to merge.
from_file
type: Annotated[str | None, Parameter(name='--from-file')] = None
JSON file path, or - for standard input.
Raises
CredentialKeyError
If input is empty or conflicts with stored leaves.