Skip to content

arrase/cobraplugins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cobraplugins

Add cobraplugins

import (      
  "github.com/arrase/cobraplugins"
)

Add simple plugin to rootCmd

func init() {
    rootCmd.AddCommand(cobraplugins.GetCmd(<YOUR_PLUGIN_PATH>, "MainCmd"))
}