apprun

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2025 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CmdRun = &cli.Command{
	Name:  "run",
	Usage: "compile and run Wa program",
	Flags: []cli.Flag{
		appbase.MakeFlag_target(),
		appbase.MakeFlag_tags(),
		appbase.MakeFlag_optimize(),
		&cli.BoolFlag{
			Name:  "web",
			Usage: "set web mode",
			Value: false,
		},
		&cli.BoolFlag{
			Name:  "console",
			Usage: "set console mode",
			Value: false,
		},
		&cli.StringFlag{
			Name:  "http",
			Usage: "set http address",
			Value: ":8000",
		},
	},
	Action: CmdRunAction,
}

Functions

func CmdRunAction

func CmdRunAction(c *cli.Context) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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