getNoWait reads the --no-wait flag from cmd.
(cmd *cobra.Command)
| 593 | |
| 594 | // getNoWait reads the --no-wait flag from cmd. |
| 595 | func getNoWait(cmd *cobra.Command) bool { |
| 596 | v, _ := cmd.Flags().GetBool("no-wait") |
| 597 | return v |
| 598 | } |
| 599 | |
| 600 | // waitForTask polls a Proxmox task to completion using the existing |
| 601 | // WaitForTaskCompletion method and returns the final exit status string. |
no outgoing calls
no test coverage detected