wer patch
Update specific fields of a resource without opening an editor.
Usage
wer patch <resource-type> <name> [flags] Description
The patch command updates individual fields of a resource directly from the
command line. Unlike wer edit, which opens the full resource definition in
an editor, patch lets you make targeted changes using flags. This is ideal
for scripting and quick one-off modifications.
Arguments
| Argument | Description |
|---|---|
resource-type | The type of resource to patch (e.g., workstation, workstationconfig) |
name | The name of the resource to update |
Examples
# Update a field on a workstation
wer patch workstation my-dev --config=new-config
# Patch a workstation config
wer patch workstationconfig default-config --machine-type=n1-standard-4