crawl

package
v1.6.8 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCrawlCmd

func NewCrawlCmd(f *cmdutil.Factory, runF func(*CrawlOptions) error) *cobra.Command

NewCrawlCmd creates and returns a crawl command for crawlers.

Types

type CrawlOptions

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

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

	ID            string
	URLs          []string
	Save          bool
	SaveSpecified bool
}

CrawlOptions holds the options for the crawl command.

Jump to

Keyboard shortcuts

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