package
0.4.7
Repository: https://github.com/afshinpaydar-binary/argo.git
Documentation: pkg.go.dev

# Functions

AddKubectlFlagsToCmd adds kubectl like flags to a command and returns the ClientConfig interface for retrieving the values.
AskToProceed prompts the user with a message (typically a yes or no question) and returns whether or not they responded in the affirmative or negative.
MarshalLocalYAMLFile writes JSON or YAML to a file on disk.
NewVersionCmd returns a new `version` command to be used as a sub-command to root.
PromptCredentials is a helper to prompt the user for a username and password (unless already supplied).
PromptMessage prompts the user for a value (unless already supplied).
PromptPassword prompts the user for a password, without local echo.
PromptUsername prompts the user for a username value.
UnmarshalLocalFile retrieves JSON or YAML from a file on disk.
UnmarshalRemoteFile retrieves JSON or YAML through a GET request.