github.com/kastenhq/syft@v0.0.0-20230821225854-0710af25cdbe/cmd/syft/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  }