quarto

package
v0.0.48 Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckAndSetQuartoSymlink(quartoPath string) error

func DownloadAndInstallQuarto

func DownloadAndInstallQuarto(quartoVersion string, osType config.OperatingSystem) error

func DownloadAndInstallQuartoVersions

func DownloadAndInstallQuartoVersions(quartoVersions []string, osType config.OperatingSystem) error

func GenerateQuartoInstallURL added in v0.0.44

func GenerateQuartoInstallURL(quartoVersion string, osType config.OperatingSystem) string

func PromptQuartoInstall

func PromptQuartoInstall(bundledVersion string) (bool, error)

func QuartoSelectVersionsPrompt

func QuartoSelectVersionsPrompt(availableQuartoVersions []string) ([]string, error)

QuartoSelectVersionsPrompt Prompt asking users which Quarto version(s) they would like to install

func RetrieveValidQuartoVersions

func RetrieveValidQuartoVersions() ([]string, error)

func ScanAndHandleQuartoVersions

func ScanAndHandleQuartoVersions(osType config.OperatingSystem) error

func ScanForBundledQuartoVersion

func ScanForBundledQuartoVersion() (string, error)

ScanForBundledQuartoVersion scans for the bundled version of Quarto

func ValidateQuartoVersions

func ValidateQuartoVersions(quartoVersions []string) error

Types

type Assets added in v0.0.43

type Assets []struct {
	BrowserDownloadURL string `json:"browser_download_url"`
}

type Quarto added in v0.0.43

type Quarto []struct {
	Assets     Assets `json:"assets"`
	Name       string `json:"name"`
	Prerelease bool   `json:"prerelease"`
}

Jump to

Keyboard shortcuts

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