commands

package
v1.0.0-alpha1 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2025 License: BSD-3-Clause Imports: 48 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build() *cli.Command

Build returns the cli command for building fyne applications

func Bundle

func Bundle() *cli.Command

Bundle returns the vendor cli command

func Env

func Env() *cli.Command

Env returns the env command

func GOROOT

func GOROOT() (string, error)

GOROOT returns the root of the go binary location.

func Install

func Install() *cli.Command

Install returns the cli command for installing fyne applications

func Package

func Package() *cli.Command

Package returns the cli command for packaging fyne applications

func Release

func Release() *cli.Command

Release returns the cli command for bundling release builds of fyne applications

func Serve

func Serve() *cli.Command

Serve return the cli command for serving fyne wasm application over http

func Translate

func Translate() *cli.Command

Translate returns the cli command to scan for new translation strings.

Since: 2.6

func Version

func Version() *cli.Command

Version returns the cli command for the program version.

Types

type Builder

type Builder struct {
	// contains filtered or unexported fields
}

Builder generate the executables.

func NewBuilder

func NewBuilder() *Builder

NewBuilder returns a command that can handle the build of GUI apps built using Fyne.

func (*Builder) Build

func (b *Builder) Build() error

Build parse the tags and start building

type Bundler

type Bundler struct {
	// contains filtered or unexported fields
}

Bundler bundles resources into Go code.

func NewBundler

func NewBundler() *Bundler

NewBundler returns a command that can handle the bundling assets into a GUI app binary.

func (*Bundler) AddFlags deprecated

func (b *Bundler) AddFlags()

AddFlags adds all the command line flags for passing to the Bundler.

Deprecated: Access to the individual cli commands are being removed.

func (*Bundler) PrintHelp deprecated

func (b *Bundler) PrintHelp(indent string)

PrintHelp prints the help message for the bundle command.

Deprecated: Access to the individual cli commands are being removed.

func (*Bundler) Run deprecated

func (b *Bundler) Run(args []string)

Run runs the bundle command.

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

type Installer

type Installer struct {
	Packager *Packager
	// contains filtered or unexported fields
}

Installer installs locally built Fyne apps.

func NewInstaller

func NewInstaller() *Installer

NewInstaller returns a command that can install a GUI apps built using Fyne from local source code.

func (*Installer) AddFlags deprecated

func (i *Installer) AddFlags()

AddFlags adds the flags for interacting with the Installer.

Deprecated: Access to the individual cli commands are being removed.

func (*Installer) PrintHelp deprecated

func (i *Installer) PrintHelp(indent string)

PrintHelp prints the help for the install command.

Deprecated: Access to the individual cli commands are being removed.

func (*Installer) Run deprecated

func (i *Installer) Run(args []string)

Run runs the install command.

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

type Packager

type Packager struct {
	// contains filtered or unexported fields
}

Packager wraps executables into full GUI app packages.

func NewPackager

func NewPackager() *Packager

NewPackager returns a command that can handle the packaging a GUI apps built using Fyne from local source code.

func (*Packager) AddFlags deprecated

func (p *Packager) AddFlags()

AddFlags adds the flags for interacting with the package command.

Deprecated: Access to the individual cli commands are being removed.

func (*Packager) Package

func (p *Packager) Package() error

Package starts the packaging process

func (*Packager) PrintHelp deprecated

func (*Packager) PrintHelp(indent string)

PrintHelp prints the help for the package command.

Deprecated: Access to the individual cli commands are being removed.

func (*Packager) Run deprecated

func (p *Packager) Run(_ []string)

Run runs the package command.

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

type Releaser

type Releaser struct {
	Packager
	// contains filtered or unexported fields
}

Releaser adapts app packages form distribution.

func NewReleaser

func NewReleaser() *Releaser

NewReleaser returns a command that can handle the packaging a GUI apps for release from local Fyne source code.

func (*Releaser) AddFlags deprecated

func (r *Releaser) AddFlags()

AddFlags adds the flags for interacting with the release command.

Deprecated: Access to the individual cli commands are being removed.

func (*Releaser) PrintHelp deprecated

func (r *Releaser) PrintHelp(indent string)

PrintHelp prints the help message for the release command.

Deprecated: Access to the individual cli commands are being removed.

func (*Releaser) Run deprecated

func (r *Releaser) Run(params []string)

Run runs the release command.

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

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server serve fyne wasm application over http

func (*Server) Server

func (s *Server) Server(ctx *cli.Context) error

Server serve the wasm application over http

Jump to

Keyboard shortcuts

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