MCPcopy Create free account
hub / github.com/devnullvoid/pvetui / getNoWait

Function getNoWait

internal/cli/cli_helpers.go:595–598  ·  view source on GitHub ↗

getNoWait reads the --no-wait flag from cmd.

(cmd *cobra.Command)

Source from the content-addressed store, hash-verified

593
594// getNoWait reads the --no-wait flag from cmd.
595func 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.

Callers 9

runStorageContentDeleteFunction · 0.85
runStorageDownloadURLFunction · 0.85
runStorageDownloadOCIFunction · 0.85
runStorageRestoreFunction · 0.85
runGuestsDeleteFunction · 0.85
runGuestsCreateVMFunction · 0.85
runGuestsCreateLXCFunction · 0.85
runGuestsMigrateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected