cli

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	GitTag string
)

Functions

func Backup

func Backup() error

func BackupHandler

func BackupHandler(_ *url.URL) error

func Download added in v0.1.1

func Download(ids []string,
	operatingSystems []vangogh_local_data.OperatingSystem,
	langCodes []string,
	downloadTypes []vangogh_local_data.DownloadType,
	force bool) error

func DownloadHandler added in v0.1.1

func DownloadHandler(u *url.URL) error

func GetDownloadsMetadata added in v0.1.1

func GetDownloadsMetadata(ids []string, force bool) error

func GetDownloadsMetadataHandler added in v0.1.1

func GetDownloadsMetadataHandler(u *url.URL) error
func GetTitleDownloadLinks(id string,
	operatingSystems []vangogh_local_data.OperatingSystem,
	langCodes []string,
	downloadTypes []vangogh_local_data.DownloadType,
	kv kevlar.KeyValues,
	force bool) (string, []vangogh_local_data.DownloadLink, error)

func Ids added in v0.1.4

func Ids(u *url.URL) []string

func Install added in v0.1.3

func Install(ids []string,
	operatingSystems []vangogh_local_data.OperatingSystem,
	langCodes []string,
	downloadTypes []vangogh_local_data.DownloadType,
	force bool) error

func InstallHandler added in v0.1.3

func InstallHandler(u *url.URL) error

func OsLangCodeDownloadType added in v0.1.4

func OsLangCodeDownloadType(u *url.URL) ([]vangogh_local_data.OperatingSystem, []string, []vangogh_local_data.DownloadType)

func PrintParams added in v0.1.4

func PrintParams(
	ids []string,
	operatingSystems []vangogh_local_data.OperatingSystem,
	langCodes []string,
	downloadTypes []vangogh_local_data.DownloadType)

func RemoveDownloads added in v0.1.3

func RemoveDownloads(ids []string,
	operatingSystems []vangogh_local_data.OperatingSystem,
	langCodes []string,
	force bool) error

func RemoveDownloadsHandler added in v0.1.3

func RemoveDownloadsHandler(u *url.URL) error

func ResetSetup added in v0.1.1

func ResetSetup() error

func ResetSetupHandler added in v0.1.1

func ResetSetupHandler(_ *url.URL) error

func RevealDownloads added in v0.1.3

func RevealDownloads(id string) error

func RevealDownloadsHandler added in v0.1.3

func RevealDownloadsHandler(u *url.URL) error

func Setup

func Setup(
	protocol, address, port string,
	username, password string,
	installPath string) error

func SetupHandler

func SetupHandler(u *url.URL) error

func TestSetup

func TestSetup() error

func TestSetupHandler

func TestSetupHandler(_ *url.URL) error

func Validate added in v0.1.2

func Validate(ids []string, operatingSystems []vangogh_local_data.OperatingSystem, langCodes []string) error

func ValidateHandler added in v0.1.2

func ValidateHandler(u *url.URL) error

func VersionHandler

func VersionHandler(_ *url.URL) error

Types

type SetupProperties added in v0.1.1

type SetupProperties map[string]string

Jump to

Keyboard shortcuts

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