commands

package
v0.0.0-...-7cd969c Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2023 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command deprecated

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 deprecated

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 deprecated

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 deprecated

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 deprecated

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 at this stage and takes a single, package, parameter to identify the app.

Jump to

Keyboard shortcuts

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