Documentation
¶
Index ¶
Constants ¶
View Source
const TimeLayout = "2006-01-02 15:04:05"
Variables ¶
View Source
var ( ConfigFlag = &cli.StringFlag{ Name: "config", Aliases: []string{"c"}, Value: "config.json", Usage: "load configuration from `file`", } LabelFlag = &cli.StringFlag{ Name: "label", Aliases: []string{"l"}, Value: "", Usage: "only process the user with `label` (default: \"\", for all users)", } StartTimeFlag = &cli.StringFlag{ Name: "start", Aliases: []string{"s"}, Value: "", Usage: "start `time` (e.g. \"2020-04-01 00:00:00\", default: yesterday)", } EndTimeFlag = &cli.StringFlag{ Name: "end", Aliases: []string{"e"}, Value: "", Usage: "end `time` (e.g. \"2020-04-01 23:59:59\", default: now)", } CsvFlag = &cli.StringFlag{ Name: "csv", Value: "", Usage: "write to `file`", } TestConfigFlag = &cli.BoolFlag{ Name: "test", Aliases: []string{"t"}, Value: false, Usage: "do not run, just test config file", } DryRunFlag = &cli.BoolFlag{ Name: "dry-run", Value: false, Usage: "do not run, just print the result", } )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.