cmd

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Arg

type Arg struct {
	Option
	Dump struct {
		Fav struct {
			Casts DumpFavoriteCasts `cmd:""`
			Shops DumpFavoriteShops `cmd:""`
		} `cmd:""`
	} `cmd:""`
	Restore struct {
		Fav struct {
			Casts RestoreFavoriteCasts `cmd:""`
			Shops RestoreFavoriteShops `cmd:""`
		} `cmd:""`
	} `cmd:""`
	Version PrintVersion `cmd:"" hidden:""`
}

type DumpFavoriteCasts

type DumpFavoriteCasts struct{}

func (*DumpFavoriteCasts) Run

func (d *DumpFavoriteCasts) Run() error

type DumpFavoriteShops

type DumpFavoriteShops struct{}

func (*DumpFavoriteShops) Run

func (d *DumpFavoriteShops) Run() error

type Option

type Option struct {
	Login    string `short:"l" help:"Mail address."`
	Password string `short:"p" help:"Password."`
}

type PrintVersion

type PrintVersion struct{}

func (PrintVersion) Run

func (PrintVersion) Run(vars kong.Vars) error

type RestoreFavoriteCasts

type RestoreFavoriteCasts struct{}

func (*RestoreFavoriteCasts) Run

func (r *RestoreFavoriteCasts) Run() error

type RestoreFavoriteShops

type RestoreFavoriteShops struct{}

func (*RestoreFavoriteShops) Run

func (r *RestoreFavoriteShops) Run() error

Jump to

Keyboard shortcuts

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