run

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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRunCmd

func NewRunCmd(f *cmdutil.Factory, runF func(*RunOptions) error) *cobra.Command

NewRunCmd creates and returns a run command for crawlers.

Types

type RunOptions

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

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

	ID string
}

RunOptions holds the options for the stats command.

Jump to

Keyboard shortcuts

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