flags

package
v0.0.0-...-983a08b Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// From represents a flag for retrieving a starting date
	From = &cli.StringFlag{
		Name:  "from",
		Usage: "date where the series start",
		Value: defaultFrom,
	}

	// To represents a flag for retrieving an end date
	To = &cli.StringFlag{
		Name:  "to",
		Usage: "date where the series end",
		Value: defaultTo,
	}

	// Aggregate represents a flag for picking an aggregate method
	Aggregate = &cli.StringFlag{
		Name:  "aggregate",
		Usage: "daily, weekly, monthly, quarterly or yearly",
		Value: "daily",
	}

	// Analysis represents a flag for picking an analysis method
	Analysis = &cli.StringFlag{
		Name:  "analysis",
		Usage: "real, mean, min, max or ultimo",
		Value: "real",
	}

	// Currency represents a flag for adding a currency pair
	Currency = &cli.StringSliceFlag{
		Name:  "currency, c",
		Usage: "eg. GBP",
	}

	// Series represents a flag for adding a series
	Series = &cli.StringSliceFlag{
		Name:  "series, s",
		Usage: "series id (eg. SETB1MBENCHC)",
	}

	// Group represents a flag for adding a group
	Group = &cli.StringSliceFlag{
		Name:  "group, g",
		Usage: "group id (eg. 1), if none provided all groups will be shown",
	}
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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