generate

package
v2.0.0-...-21d7e90 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2022 License: MIT Imports: 10 Imported by: 0

README

Generate

The generate command provides the ability to generate various Wails related components.

Usage

wails generate [subcommand] [options]

Template

wails generate template -name <name> [-frontend] [-q]

Generate a starter template for you to customise.

Flag Details
-frontend Copies all the files from the current directory into the template's frontend directory. Useful for converting frontend projects created by boilerplate generators.
-q Suppress output

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddModuleCommand

func AddModuleCommand(app *clir.Cli, parent *clir.Command, w io.Writer) error

AddModuleCommand adds the `module` subcommand for the `generate` command

func AddSubcommand

func AddSubcommand(app *clir.Cli, w io.Writer) error

AddSubcommand adds the `generate` command for the Wails application

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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