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

Function newCommunityScriptsShowCmd

internal/cli/community_scripts.go:91–101  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

89}
90
91func newCommunityScriptsShowCmd() *cobra.Command {
92 return &cobra.Command{
93 Use: "show <slug-or-name>",
94 Short: "Show details for a community script",
95 Example: ` pvetui community-scripts show nextcloud
96 pvetui community-scripts show "Home Assistant" --output table`,
97 Args: cobra.ExactArgs(1),
98 RunE: runCommunityScriptsShow,
99 ValidArgsFunction: completeCommunityScriptSlugs,
100 }
101}
102
103func newCommunityScriptsInstallCmd() *cobra.Command {
104 cmd := &cobra.Command{

Callers 1

newCommunityScriptsCmdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected