Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { Install *InstallCmd `arg:"subcommand:install" help:"install fonts"` Uninstall *UninstallCmd `arg:"subcommand:uninstall" help:"uninstall fonts"` List *ListCmd `arg:"subcommand:list" help:"list fonts"` Update *UpdateCmd `arg:"subcommand:update" help:"update installed fonts"` KeepTars bool `arg:"-k" help:"Keep archives in the download location"` ForceCheck bool `arg:"-f" help:"Force checking for updates"` }
type Font ¶
type Font struct { Id int `json:"id"` Name string `json:"name"` ContentType string `json:"content_type"` BrowserDownloadUrl string `json:"browser_download_url"` AvailableVersion string InstalledVersion string }
func (*Font) AddAvailableVersion ¶
func (*Font) AddInstalledVersion ¶
type InstallCmd ¶
type InstallCmd struct {
Fonts []string `arg:"positional" help:"list of space separated fonts to install"`
}
type UninstallCmd ¶
type UninstallCmd struct {
Fonts []string `arg:"positional" help:"list of space separated fonts to uninstall"`
}
Click to show internal directories.
Click to hide internal directories.