args

package
v0.0.0-...-3f2129e Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	Tags      []string `arg:"positional" help:"image tags to look for"`
	Output    string   `arg:"-o" help:"output directory" default:"./output"`
	Meta      string   `arg:"-m" help:"file to safe metadata in (JSON file format)"`
	Limit     int      `help:"set a limit for images to be crawled" default:"-1"`
	Offset    int      `help:"set an offset of how many images should be skipped"`
	Overwrite bool     `help:"downloads and overwrites existing images" default:"false"`
	Workers   int      `arg:"-w" help:"number of concurrent download workers" default:"5"`
}

func Parse

func Parse() *Args

Jump to

Keyboard shortcuts

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