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

Function communityScriptNonInteractive

internal/cli/community_scripts.go:467–472  ·  view source on GitHub ↗
(cmd *cobra.Command)

Source from the content-addressed store, hash-verified

465}
466
467func communityScriptNonInteractive(cmd *cobra.Command) bool {
468 yes, _ := cmd.Flags().GetBool("yes")
469 nonInteractive, _ := cmd.Flags().GetBool("non-interactive")
470
471 return yes || nonInteractive
472}
473
474func redactCommunityScriptEnv(env []core.EnvOverride) []core.EnvOverride {
475 return core.RedactEnvOverrides(env)

Callers 2

buildCommunityScriptPlanFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected