cmd

package
v2.1.4 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2024 License: MIT Imports: 25 Imported by: 1

Documentation

Index

Constants

View Source
const (
	ConfigDirectoryName = ".ipatool"
	CookieJarFileName   = "cookies"
	KeychainServiceName = "ipatool-auth.service"
)

Variables

This section is empty.

Functions

func Execute

func Execute() int

Execute runs the program and returns the appropriate exit status code.

Types

type Dependencies

type Dependencies struct {
	Logger    log.Logger
	OS        operatingsystem.OperatingSystem
	Machine   machine.Machine
	CookieJar http.CookieJar
	Keychain  keychain.Keychain
	AppStore  appstore.AppStore
}

type OutputFormat

type OutputFormat enumflag.Flag
const (
	OutputFormatText OutputFormat = iota
	OutputFormatJSON
)

func OutputFormatFromString

func OutputFormatFromString(value string) (OutputFormat, error)

Jump to

Keyboard shortcuts

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