{"modulePath":"github.com/OctopusDeploy/cli","version":"v1.7.1","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package executionscommon\n\n## Functions\n\n```go\nfunc AskExcludedSteps(asker question.Asker, steps []*deployments.DeploymentStep) ([]string, error)\n```\n\n```go\nfunc AskGuidedFailureMode(asker question.Asker) (string, error)\n```\n\n```go\nfunc AskPackageDownload(asker question.Asker) (bool, error)\n```\n\n```go\nfunc AskTenantsAndTags(asker question.Asker, octopus *octopusApiClient.Client, projectID string, env []*environments.Environment, required bool) ([]string, []string, error)\n```\n\n```go\nfunc AskVariables(asker question.Asker, variableSet *variables.VariableSet, variablesFromCmd map[string]string) (map[string]string, error)\n```\nAskVariables returns the map of ALL variables to send to the server, whether they were prompted for, or came from the command line. variablesFromCmd is copied into the result, you don't need to merge them yourselves. Return values: 0: Variables to send to the server, 1: List of sensitive variable names for masking automation command, 2: error\n\n```go\nfunc FindEnvironments(client *octopusApiClient.Client, environmentNamesOrIds []string) ([]*environments.Environment, error)\n```\ngiven an array of environment names, maps these all to actual objects by querying the server\n\n```go\nfunc LookupGuidedFailureModeString(value string) string\n```\n\n```go\nfunc LookupPackageDownloadString(value bool) string\n```\n\n```go\nfunc ParseVariableStringArray(variables []string) (map[string]string, error)\n```\n\n```go\nfunc ScheduledStartTimeAnswerFormatter(datePicker *surveyext.DatePicker, t time.Time) string\n```\nScheduledStartTimeAnswerFormatter is passed to the DatePicker so that if the user selects a time within the next one minute after 'now', it will show the answer as the string \"Now\" rather than the actual datetime string\n\n```go\nfunc ToVariableStringArray(variables map[string]string) []string\n```\n\n","path":"github.com/OctopusDeploy/cli/pkg/executionscommon","name":"executionscommon","synopsis":"","isRedistributable":true}
