Yera Delete
The delete command removes configuration entries and stored data from
yera.toml, the model universe, and credentials.json. Most destructive
subcommands require --force to prevent accidental data loss. Scoped variants
(delete hub, delete model, delete cred) target a single named entry,
while plural forms (delete hubs, delete models, delete creds) operate in
bulk and always require --force.
yera delete
Delete config entries and Yera object data.
yera delete config
Delete yera.toml.
Args:
force: Must be true; the command refuses to delete without ``--force``.
yera delete config [--force]Options
Must be true; the command refuses to delete without --force.
yera delete hub
Remove a named hub from yera.toml.
Args:
hub_name: Hub to remove from ``yera.toml``. If it was the default hub,
the default is cleared.
yera delete hub HUB_NAMEArguments
Hub to remove from yera.toml. If it was the default hub,
the default is cleared.
yera delete hubs
Remove all hubs and the default hub setting from yera.toml.
Args:
force: Must be true; the command refuses to delete without ``--force``.
yera delete hubs [--force]Options
Must be true; the command refuses to delete without --force.
yera delete provider
Remove a provider or one of its connections from yera.toml.
Args:
provider_type: Provider type to remove. Must be a configured provider.
connection: If set, remove only this connection. Raises an error if any
Yera profile references it — update or remove those profiles first.
force: Required when removing an entire provider. The command refuses
to delete without ``--force``.
yera delete provider PROVIDER_TYPE [--connection STR] [--force]Arguments
Provider type to remove.
Options
If set, remove only this connection rather than the entire provider. Raises an error if any Yera profile references this connection.
Required when removing an entire provider. The command refuses
to delete without --force.
yera delete providers
Remove all providers from yera.toml.
Args:
force: Must be true; the command refuses to delete without ``--force``.
yera delete providers [--force]Options
Must be true; the command refuses to delete without --force.
yera delete model
Remove one model entry from the universe.
Args:
model_id: Yera-internal dot-delimited model id to remove.
connection: Connection name the model was discovered under. Required
because the same model id can exist under multiple connections.
model_type: Model type of the entry to remove.
yera delete model MODEL_ID --connection STR --model-type LITERALArguments
Yera model id to remove.
Options
Connection name the model was discovered under. Required since the same model id can exist under multiple connections.
Model type of the entry to remove.
yera delete models
Remove all models from the universe, optionally filtered by type.
Args:
model_type: If set, only models of this type are removed. If omitted,
all models across all types are removed.
force: Must be true; the command refuses to delete without ``--force``.
yera delete models [MODEL_TYPE] [--force]Arguments
If set, remove only models of this type.
Options
Must be true; the command refuses to delete without --force.
yera delete profile
Remove a named Yera profile from yera.toml.
Args:
profile_name: Profile to remove. If it was the active default profile,
the default is cleared.
yera delete profile PROFILE_NAMEArguments
Yera profile name to remove.
yera delete profiles
Remove all Yera profiles and the active default from yera.toml.
Args:
force: Must be true; the command refuses to delete without ``--force``.
yera delete profiles [--force]Options
Must be true; the command refuses to delete without --force.
yera delete cred-group
Delete a credential group and all its credentials from credentials.json.
Args:
name: Credential group name to delete.
force: Must be true; the command refuses to delete without ``--force``.
yera delete cred-group NAME [--force]Arguments
Credential group name to delete.
Options
Must be true; the command refuses to delete without --force.
yera delete cred
Delete a single credential leaf by exact key.
Args:
key: Exact dotted leaf key to delete.
yera delete cred KEYArguments
Exact dotted leaf key to delete.
yera delete creds
Delete credential leaves under a path within the active credential group.
Args:
path: Dotted path prefix to delete under. Omit to delete all credentials
in the active group.
force: Must be provided to permit bulk deletion.
yera delete creds [PATH] [--force]Arguments
Dotted path prefix to delete under. Omit to delete all credentials in the active group.
Options
Must be provided to permit bulk deletion.