mod

package
v1.0.0-alpha.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 23, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exec

func Exec(modOptions ModOptions) error

func New

func New() *ffcli.Command

Types

type ModOptions

type ModOptions struct {
	options.LogOptions
	options.OutputOptions
	options.SBOMOptions

	ComponentType string
	ModuleDir     string
	IncludeTest   bool
}

ModOptions provides options for the `mod` command.

func (*ModOptions) RegisterFlags

func (m *ModOptions) RegisterFlags(fs *flag.FlagSet)

func (ModOptions) Validate

func (m ModOptions) Validate() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL