5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-07 09:12:12 +08:00
wails/v3/internal/flags/bindings.go
2023-12-12 21:51:40 +11:00

12 lines
669 B
Go

package flags
type GenerateBindingsOptions struct {
Silent bool `name:"silent" description:"Silent mode"`
ModelsFilename string `name:"m" description:"The filename for the models file" default:"models.ts"`
TSPrefix string `description:"The prefix for the typescript names" default:""`
TSSuffix string `description:"The postfix for the typescript names" default:""`
UseInterfaces bool `name:"i" description:"Use interfaces instead of classes"`
ProjectDirectory string `name:"p" description:"The project directory" default:"."`
OutputDirectory string `name:"d" description:"The output directory" default:"frontend/bindings"`
}