cmd

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2024 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 CLI

type CLI struct {
	Dump struct {
		Fav struct {
			Casts struct {
				DumpFavoriteCasts `cmd:""`
				// contains filtered or unexported fields
			} `cmd:""`
			// contains filtered or unexported fields
		} `cmd:""`
		Follow struct {
			Casts struct {
				DumpFollowingCasts `cmd:""`
				// contains filtered or unexported fields
			} `cmd:""`
			// contains filtered or unexported fields
		} `cmd:""`
		Shop struct {
			Casts struct {
				DumpShopCasts `cmd:""`
				// contains filtered or unexported fields
			} `cmd:""`
			// contains filtered or unexported fields
		} `cmd:""`
		// contains filtered or unexported fields
	} `cmd:""`
	Restore struct {
		Fav struct {
			Casts struct {
				RestoreFavoriteCasts `cmd:""`
			} `cmd:""`
			// contains filtered or unexported fields
		} `cmd:""`
	} `cmd:""`
	Version PrintVersion `cmd:"" hidden:""`
	// contains filtered or unexported fields
}

type DumpFavoriteCasts

type DumpFavoriteCasts struct{}

func (*DumpFavoriteCasts) Run

func (d *DumpFavoriteCasts) Run(o *CLI) error

type DumpFollowingCasts

type DumpFollowingCasts struct {
	Mutual bool `help:"only mutual followees"`
}

func (*DumpFollowingCasts) Run

func (d *DumpFollowingCasts) Run(o *CLI) error

type DumpShopCasts

type DumpShopCasts struct {
	Attendees bool `help:"only attendees"`
}

func (*DumpShopCasts) Run

func (d *DumpShopCasts) Run(o *CLI) error

type PrintVersion

type PrintVersion struct{}

func (*PrintVersion) Run

func (*PrintVersion) Run() error

type RestoreFavoriteCasts

type RestoreFavoriteCasts struct{}

func (*RestoreFavoriteCasts) Run

func (r *RestoreFavoriteCasts) Run(o *CLI) error

Jump to

Keyboard shortcuts

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