diff --git a/cmd/pdu-collect.go b/cmd/pdu-collect.go index 0520c75..ba281ed 100644 --- a/cmd/pdu-collect.go +++ b/cmd/pdu-collect.go @@ -61,6 +61,12 @@ var pduCmd = &cobra.Command{ Use: "pdu [hosts...]", Short: "Collect inventory from JAWS-based PDUs", Long: `Connects to one or more PDUs with a JAWS interface to collect hardware inventory.`, + Example: ` + // Collect inventory from a single PDU using credentials + magellan collect pdu x3000m0 --username admin --password inital0 + + // Collect from multiple PDUs and send to SMD + magellan collect pdu x3000m0 x3000m1 -u admin -p initial0 | ./magellan send `, Run: func(cmd *cobra.Command, args []string) { if len(args) == 0 { log.Error().Msg("no PDU hosts provided")