Documentation ¶
Index ¶
- func BuildDetailsCommand(c api.FplAPI, config helpers.ConfigReader, teamParser helpers.TeamsParser, ...) *cobra.Command
- func BuildFixturesCommand(c api.FplAPI, config helpers.ConfigReader, teamParser helpers.TeamsParser, ...) *cobra.Command
- func BuildHistoryCommand(c api.FplAPI, config helpers.ConfigReader, teamParser helpers.TeamsParser, ...) *cobra.Command
- func BuildPointsCommand(c api.FplAPI, config helpers.ConfigReader, teamsParser helpers.TeamsParser, ...) *cobra.Command
- func BuildRivalsCommand(c api.FplAPI, config helpers.ConfigReader, ...) *cobra.Command
- func BuildRootCommand() *cobra.Command
- func Execute()
- type DetailsArgs
- type HistoryArgs
- type PointsArgs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildDetailsCommand ¶
func BuildDetailsCommand(c api.FplAPI, config helpers.ConfigReader, teamParser helpers.TeamsParser, renderer ui.Renderer) *cobra.Command
BuildDetailsCommand returns the details cobra command
func BuildFixturesCommand ¶
func BuildFixturesCommand(c api.FplAPI, config helpers.ConfigReader, teamParser helpers.TeamsParser, gameweekParser helpers.GameweekParser, renderer ui.Renderer) *cobra.Command
BuildFixturesCommand returns the fixtures cobra command
func BuildHistoryCommand ¶
func BuildHistoryCommand(c api.FplAPI, config helpers.ConfigReader, teamParser helpers.TeamsParser, renderer ui.Renderer) *cobra.Command
BuildHistoryCommand returns the history cobra command
func BuildPointsCommand ¶
func BuildPointsCommand(c api.FplAPI, config helpers.ConfigReader, teamsParser helpers.TeamsParser, gameweekParser helpers.GameweekParser, renderer ui.Renderer) *cobra.Command
BuildPointsCommand returns the points cobra command
func BuildRivalsCommand ¶
func BuildRivalsCommand(c api.FplAPI, config helpers.ConfigReader, gameweekParser helpers.GameweekParser, renderer ui.Renderer) *cobra.Command
BuildRivalsCommand returns the rivals cobra command
func BuildRootCommand ¶
BuildRootCommand returns the root cobra command
Types ¶
type DetailsArgs ¶
type DetailsArgs struct {
TeamID string
}
DetailsArgs are the arguments you can pass to the history command
type HistoryArgs ¶
type HistoryArgs struct {
TeamID string
}
HistoryArgs are the arguments you can pass to the history command
type PointsArgs ¶
type PointsArgs struct {
TeamID string
}
PointsArgs are the arguments you can pass to the points command
Click to show internal directories.
Click to hide internal directories.