yera.cli.commands.export
Export command — export credential groups as portable JSON.
Symbols
def cred_group — Export a named credential group as self-contained JSON with authorised_roots → ["*"].
cred_group
cred_group(
name: str,
output_file: Annotated[Path | None, Parameter(name=['--output-file'])] = None,
ctx: Annotated[AppContext, Parameter(parse=False, show=False)],
) → NoneExport a named credential group as self-contained JSON with authorised_roots → ["*"].
Parameters
name
type: str
Credential group name to export.
output_file
type: Annotated[Path | None, Parameter(name=['--output-file'])] = None
Path to write the exported JSON. Uses atomic write with 0600 permissions on POSIX. Omit to write to stdout.