Documentation
¶
Index ¶
Constants ¶
View Source
const ( // Repository for releases GitHubOwner = "rendis" GitHubRepo = "pdf-forge" )
Variables ¶
This section is empty.
Functions ¶
func GetAssetName ¶
func GetAssetName() string
GetAssetName returns the expected asset name for the current platform
func SelfUpdate ¶
SelfUpdate updates the CLI binary to the latest version
Types ¶
type CheckResult ¶
type CheckResult struct {
CurrentVersion string
LatestVersion string
UpdateURL string
HasUpdate bool
}
CheckResult represents the result of checking for updates
func CheckForUpdate ¶
func CheckForUpdate(currentVersion string) (*CheckResult, error)
CheckForUpdate checks if a newer version is available
Click to show internal directories.
Click to hide internal directories.