searchcmd

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var UsageDoc = `` /* 165-byte string literal not displayed */

UsageDoc help document passed to docopts

Functions

func Search(args []string, inject *di.DI) int

Search for templates

Types

type OptSearch

type OptSearch struct {
	Search bool   `docopt:"search"`
	Long   bool   `docopt:"-l"`
	Term   string `docopt:"<term>"`
}

OptSearch bindings for docopts

Jump to

Keyboard shortcuts

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