MCPcopy Create free account
hub / github.com/chainloop-dev/chainloop / newPluginCmd

Function newPluginCmd

app/cli/cmd/plugins.go:48–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46}
47
48func newPluginCmd() *cobra.Command {
49 cmd := &cobra.Command{
50 Use: "plugin",
51 Short: "Manage plugins (preview)",
52 Long: "Manage Chainloop CLI plugins (preview)",
53 }
54
55 cmd.AddCommand(newPluginListCmd())
56 cmd.AddCommand(newPluginDescribeCmd())
57 cmd.AddCommand(newPluginInstallCmd())
58
59 return cmd
60}
61
62func createPluginCommand(_ *cobra.Command, plugin *plugins.LoadedPlugin, cmdInfo *plugins.PluginCommandInfo) *cobra.Command {
63 cmd := &cobra.Command{

Callers 1

newConfigCmdFunction · 0.85

Calls 3

newPluginListCmdFunction · 0.85
newPluginDescribeCmdFunction · 0.85
newPluginInstallCmdFunction · 0.85

Tested by

no test coverage detected