handler

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CheckCommand = cli.Command{
	Name:   "check",
	Usage:  "check files",
	Action: check,
	Flags: []cli.Flag{
		cli.StringFlag{
			Name:  "config, c",
			Usage: "configuration file path",
			Value: "",
		},
	},
}

CheckCommand is the sub command "check".

View Source
var InitCommand = cli.Command{
	Name:   "init",
	Usage:  "create a configuration file if it doesn't exist",
	Action: initCmd,
	Flags: []cli.Flag{
		cli.StringFlag{
			Name:  "dest, d",
			Usage: "created configuration file path",
			Value: ".durl.yml",
		},
	},
}

InitCommand is the sub command "init".

Functions

func Main

func Main()

Main calls a command.

Types

This section is empty.

Jump to

Keyboard shortcuts

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