logs

package
v0.0.0-...-0346970 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2017 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const DateFormat = "2006-01-02"

DateFormat is the supported datetime format

Variables

View Source
var Command = cli.Command{
	Name:        "logs",
	Usage:       "display SecurePass logs",
	ArgsUsage:   " ",
	Description: "Show logs for SecurePass.",
	Action:      ActionLogs,
	Flags: []cli.Flag{
		cli.BoolFlag{
			Name:  "csv, C",
			Usage: "Enable CSV full output",
		},
		cli.StringFlag{
			Name:  "start, s",
			Usage: "Start date (YYYY-MM-DD)",
		},
		cli.StringFlag{
			Name:  "end, e",
			Usage: "End date (YYYY-MM-DD)",
		},
		cli.StringFlag{
			Name:  "realm, r",
			Usage: "Set alternate realm",
		},
	},
}

Command holds the logs command

Functions

func ActionLogs

func ActionLogs(c *cli.Context)

ActionLogs handles the logs command

Types

This section is empty.

Jump to

Keyboard shortcuts

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