cmd

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DownloadCmd

type DownloadCmd struct {
	RefreshFile   string `help:"A file used for caching refresh tokens as they are issued" required:""`
	DownloadImage string `help:"Link for an image to download"`
	OutFile       string `help:"Output filename for channel json" required:""`
}

func (*DownloadCmd) Run

func (dcmd *DownloadCmd) Run(ctx *kong.Context) error

type ExtractCmd

type ExtractCmd struct {
	ShowText   bool   `help:"Show text messages"`
	ShowAlt    bool   `help:"Show alt tags"`
	ShowImages bool   `help:"Show links to images"`
	ShowDate   bool   `help:"Show timestamps"`
	ShowAuthor bool   `help:"Show senders"`
	ShowCalls  bool   `help:"Show calls"`
	ShowAll    bool   `help:"Show everything"`
	InFile     string `help:"Channel info file to load from required:" required:""`
	After      string `help:"Only include entries which happend after a certain time"`
}

func (*ExtractCmd) Run

func (ext *ExtractCmd) Run(ctx *kong.Context) error

type RefreshCmd

type RefreshCmd struct {
	RefreshFile string `help:"A file used for caching refresh tokens as they are issued" required:""`
}

func (*RefreshCmd) Run

func (rcmd *RefreshCmd) Run(ctx *kong.Context) error

type UpdateCmd

type UpdateCmd struct {
	RefreshFile string `help:"A file used for caching refresh tokens as they are issued" required:""`
	OutFile     string `help:"Output filename for channel json" required:""`
}

func (*UpdateCmd) Run

func (ucmd *UpdateCmd) Run(ctx *kong.Context) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳