cmd

package
v0.0.0-...-fe7f6c0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Search = cli.Command{
	Name:        "search",
	Usage:       "MagnetSearch search sth",
	Description: "Search what you need :)",
	Action:      crawler.Search,
	Flags: []cli.Flag{
		stringFlag("keyword, k", "sakuramomo", "search keyword"),
		intFlag("number, n", 10, "most return numbers"),
		intFlag("sort, s", 1, "sort way: 1-time, 2-hot, 3-size"),
		boolFlag("detail, d", "show detail information"),
	},
}

Functions

func Lang

func Lang(a string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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