Skip to main content

homelab-nut init

homelab-nut init​

Generate homelab-nut.yaml interactively

Synopsis​

Walks through a guided form, then writes the resulting inventory. With no --inventory/-i flag it writes ./homelab-nut.yaml when that file already exists, otherwise ~/homelab-nut.yaml.

If an inventory already exists, you'll be asked whether to overwrite it.

This subcommand and the TUI's empty-state 'i' shortcut run the same forms — use whichever fits your context.

homelab-nut init [flags]

Options​

-h, --help help for init
--no-apply write the inventory but don't apply it (generate only — run apply later)

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)
Auto generated by spf13/cobra on 24-Jun-2026​