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

Function addCommunityScriptDeployFlags

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

Source from the content-addressed store, hash-verified

143}
144
145func addCommunityScriptDeployFlags(cmd *cobra.Command) {
146 cmd.Flags().String("node", "", "Target Proxmox node")
147 cmd.Flags().Bool("skip-url-check", false, "Skip checking that the raw install script URL exists before SSH")
148 cmd.Flags().StringArray("set", nil, "Community Scripts var_* override in KEY=VALUE form (repeatable)")
149 cmd.Flags().Bool("yes", false, "Run without allocating a TTY and fail instead of waiting for interactive prompts")
150 cmd.Flags().Bool("non-interactive", false, "Alias for --yes")
151}
152
153func runCommunityScriptsSearch(cmd *cobra.Command, args []string) error {
154 session, err := initCLISession(cmd)

Callers 2

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected