wer edit

Edit a resource in your default editor.

Usage

wer edit <resource-type> <name>

Description

The edit command opens the YAML definition of a resource in your default editor (as set by the $EDITOR environment variable). When you save and close the editor, werkr will apply the changes to the resource. This provides a quick way to modify resource configuration without manually exporting, editing, and re-applying a file.

Arguments

Argument Description
resource-type The type of resource to edit (e.g., workstation, workstationconfig)
name The name of the resource to edit

Examples

# Edit a workstation definition
wer edit workstation my-dev

# Edit a workstation config
wer edit workstationconfig default-config

# Edit a provider config
wer edit providerconfig aws-provider