test

package
v1.6.9 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTestCmd

func NewTestCmd(f *cmdutil.Factory, runF func(*TestOptions) error) *cobra.Command

NewTestCmd creates and returns a crawl command for crawlers.

Types

type TestOptions

type TestOptions struct {
	Config config.IConfig
	IO     *iostreams.IOStreams

	CrawlerClient func() (*crawler.Client, error)

	ID  string
	URL string

	PrintFlags *cmdutil.PrintFlags
	// contains filtered or unexported fields
}

TestOptions holds the options for the test command.

Jump to

Keyboard shortcuts

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