wails/v3/internal/flags/package.go

13 lines
746 B
Go

package flags
// ToolPackage represents the options for the package command
type ToolPackage struct {
Common
Format string `name:"format" description:"Package format to generate (deb, rpm, archlinux, dmg)" default:"deb"`
ExecutableName string `name:"name" description:"Name of the executable to package" default:"myapp"`
ConfigPath string `name:"config" description:"Path to the package configuration file" default:""`
Out string `name:"out" description:"Path to the output dir" default:"."`
BackgroundImage string `name:"background" description:"Path to an optional background image for the DMG" default:""`
CreateDMG bool `name:"create-dmg" description:"Create a DMG file (macOS only)" default:"false"`
}