homelab-nut inventory
homelab-nut inventory
Inspect and edit the homelab-nut inventory
Synopsis
The inventory is a YAML file describing the hosts in your homelab, their roles, and the UPS attachments. With no --inventory/-i flag, homelab-nut uses ./homelab-nut.yaml if present, otherwise ~/homelab-nut.yaml.
Subcommands let you list hosts, validate the file, show a single host, or open the file in your $EDITOR (re-validating on save).
Options
-h, --help help for inventory
Options inherited from parent commands
-i, --inventory string path to the inventory YAML file (default: ./homelab-nut.yaml if present, else ~/homelab-nut.yaml)
SEE ALSO
- homelab-nut - Modern CLI + TUI for Network UPS Tools (NUT)
- homelab-nut inventory edit - Open the inventory in $EDITOR and re-validate on save
- homelab-nut inventory list - Print a table of hosts (or JSON with -o json)
- homelab-nut inventory show - Show details for one host (or JSON with -o json)
- homelab-nut inventory validate - Check the inventory against the schema and rules