wer get

Display one or many resources.

Usage

wer get <type> [name ...] [flags]

Description

The get command lists resources in a table format. When called with just a resource type, it shows all resources of that type. When called with one or more names, it displays those specific resources.

Arguments

Argument Description
type The type of resource to list. Accepts singular, plural, or short forms: workstation/workstations/ws, workstationconfig/workstationconfigs/wc, sshkey/sshkeys/sk
name Optional - one or more specific resource names to display

Flags

Flag Description
-o, --output Output format: yaml, json, wide, or name

Examples

# List all workstations
wer get workstations

# Get a specific workstation
wer get workstation my-vm

# Get multiple specific workstations
wer get ws my-vm1 my-vm2 my-vm3

# Output as YAML
wer get workstation my-vm -o yaml

# Output as JSON
wer get workstation my-vm -o json

# Output just names
wer get workstations -o name

# Wide output (includes resource version)
wer get workstations -o wide

# List all SSH keys
wer get sshkeys

# List all workstation configs using short alias
wer get wc