flags

package
v1.8.6 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2026 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AbilitiesFlag

func AbilitiesFlag(w io.Writer, endpoint string, pokemonName string) error

func DefenseFlag added in v1.6.0

func DefenseFlag(w io.Writer, endpoint string, pokemonName string) error

func ImageFlag added in v0.11.0

func ImageFlag(w io.Writer, endpoint string, pokemonName string, size string) error

func LatestFlag

func LatestFlag() (string, error)

func MovesFlag added in v1.3.0

func MovesFlag(w io.Writer, endpoint string, pokemonName string) error

func PokemonAbilitiesFlag added in v1.2.0

func PokemonAbilitiesFlag(w io.Writer, endpoint string, abilityName string) error

func StatsFlag

func StatsFlag(w io.Writer, endpoint string, pokemonName string) error

func TypesFlag

func TypesFlag(w io.Writer, endpoint string, pokemonName string) error

Types

type AbilityFlags added in v1.8.3

type AbilityFlags struct {
	FlagSet      *flag.FlagSet
	Pokemon      *bool
	ShortPokemon *bool
}

func SetupAbilityFlagSet added in v0.12.0

func SetupAbilityFlagSet() *AbilityFlags

type PokemonFlags added in v1.8.3

type PokemonFlags struct {
	FlagSet        *flag.FlagSet
	Abilities      *bool
	ShortAbilities *bool
	Defense        *bool
	ShortDefense   *bool
	Image          *string
	ShortImage     *string
	Move           *bool
	ShortMove      *bool
	Stats          *bool
	ShortStats     *bool
	Types          *bool
	ShortTypes     *bool
}

func SetupPokemonFlagSet

func SetupPokemonFlagSet() *PokemonFlags

Jump to

Keyboard shortcuts

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