cli

package
v0.1.86 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2023 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SetComplete   = "set"
	ClearComplete = "clear"
)

Variables

This section is empty.

Functions

func Backup added in v0.1.85

func Backup() error

func BackupHandler added in v0.1.85

func BackupHandler(_ *url.URL) error

func Complete added in v0.1.38

func Complete(ids []string, action string) error

func CompleteHandler added in v0.1.38

func CompleteHandler(u *url.URL) error

func Download

func Download(ids []string, hc *http.Client) error

func DownloadHandler added in v0.1.24

func DownloadHandler(u *url.URL) error

func Export added in v0.1.68

func Export(ids []string) error

func ExportHandler added in v0.1.68

func ExportHandler(u *url.URL) error

func GetCovers

func GetCovers(ids []string, forceImported bool) error

func GetCoversHandler added in v0.1.8

func GetCoversHandler(u *url.URL) error

func GetDetails added in v0.1.14

func GetDetails(ids []string, hc *http.Client) error

func GetDetailsHandler added in v0.1.14

func GetDetailsHandler(u *url.URL) error

func GetMyBooks added in v0.1.14

func GetMyBooks(hc *http.Client) error

func GetMyBooksHandler added in v0.1.14

func GetMyBooksHandler(u *url.URL) error

func Import added in v0.1.73

func Import() error

func ImportHandler added in v0.1.73

func ImportHandler(_ *url.URL) error

func IsImported added in v0.1.73

func IsImported(id string, rxa kvas.ReduxAssets) bool

func MapLitresToFedorov added in v0.1.85

func MapLitresToFedorov(id string, lrdx map[string][]string, rdx map[string]map[string][]string)

func ReduceBookDetails added in v0.1.85

func ReduceBookDetails(id string, kv kvas.KeyValues) (map[string][]string, error)

func ReduceBooksDetails added in v0.1.85

func ReduceBooksDetails(scoreData bool) error

func ReduceDetailsHandler added in v0.1.14

func ReduceDetailsHandler(u *url.URL) error

func ReduceMyBooks added in v0.1.14

func ReduceMyBooks() error

func ReduceMyBooksHandler added in v0.1.14

func ReduceMyBooksHandler(_ *url.URL) error

func Serve

func Serve(port int, stderr bool) error

func ServeHandler added in v0.1.5

func ServeHandler(u *url.URL) error

func Sync

func Sync() error

func SyncHandler added in v0.1.5

func SyncHandler(u *url.URL) error

func Version added in v0.1.5

func Version()

func VersionHandler added in v0.1.5

func VersionHandler(u *url.URL) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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