github.com/nextlinux/gosbom@v0.81.1-0.20230627115839-1ff50c281391/cmd/gosbom/cli/options/options.go (about)

     1  package options
     2  
     3  import (
     4  	"github.com/spf13/cobra"
     5  	"github.com/spf13/viper"
     6  )
     7  
     8  type Interface interface {
     9  	// AddFlags adds this options' flags to the cobra command.
    10  	AddFlags(cmd *cobra.Command, v *viper.Viper) error
    11  }