github.com/wawandco/oxpecker@v1.5.7-0.20210910201653-5958d4afdd89/plugins/flagparser.go (about)

     1  package plugins
     2  
     3  import "github.com/spf13/pflag"
     4  
     5  // FlagParser is a plugin that will use the params to parse flags
     6  // that may affect the way it work.
     7  type FlagParser interface {
     8  	Plugin
     9  
    10  	ParseFlags([]string)
    11  	Flags() *pflag.FlagSet
    12  }