v2fyne.io/fyne/v2/cmd/fyne/commands Index | Files

package commands

import "fyne.io/fyne/v2/cmd/fyne/commands"

Package commands provides functionality for managing fyne packages and the build process

Index

Types

type Command

type Command interface {
	AddFlags()
	PrintHelp(string)
	Run(args []string)
}

Command defines the required functionality to provide a subcommand to the "fyne" tool.

Deprecated: Access to the internal cli commands are being removed. Better versions of bundler, installer, packager and releaser will be available in the future.

func NewBundler

func NewBundler() Command

NewBundler returns a command that can bundle resources into Go code.

Deprecated: A better version will be exposed in the future.

func NewInstaller

func NewInstaller() Command

NewInstaller returns an install command that can install locally built Fyne apps.

Deprecated: A better version will be exposed in the future.

func NewPackager

func NewPackager() Command

NewPackager returns a packager command that can wrap executables into full GUI app packages.

Deprecated: A better version will be exposed in the future.

func NewReleaser

func NewReleaser() Command

NewReleaser returns a command that can adapt app packages for distribution.

Deprecated: A better version will be exposed in the future.

type Getter

type Getter = commands.Getter

Getter is the command that can handle downloading and installing Fyne apps to the current platform.

func NewGetter

func NewGetter() *Getter

NewGetter returns a command that can handle the download and install of GUI apps built using Fyne. It depends on a Go and C compiler installed.

Source Files

command.go

Version
v2.5.3-rc2
Published
Dec 4, 2024
Platform
js/wasm
Imports
1 packages
Last checked
29 minutes ago

Tools for package owners.