mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-04 07:29:56 +08:00
22 lines
1.4 KiB
Go
22 lines
1.4 KiB
Go
package flags
|
|
|
|
type Init struct {
|
|
Common
|
|
|
|
PackageName string `name:"p" description:"Package name" default:"main"`
|
|
TemplateName string `name:"t" description:"Name of built-in template to use, path to template or template url" default:"vanilla"`
|
|
ProjectName string `name:"n" description:"Name of project" default:""`
|
|
ProjectDir string `name:"d" description:"Project directory" default:"."`
|
|
Quiet bool `name:"q" description:"Suppress output to console"`
|
|
List bool `name:"l" description:"List templates"`
|
|
Git string `name:"git" description:"Git repository URL to initialize (e.g. github.com/username/project)"`
|
|
ProductName string `description:"The name of the product" default:"My Product"`
|
|
ProductDescription string `description:"The description of the product" default:"My Product Description"`
|
|
ProductVersion string `description:"The version of the product" default:"0.1.0"`
|
|
ProductCompany string `description:"The company of the product" default:"My Company"`
|
|
ProductCopyright string `description:"The copyright notice" default:"\u00a9 now, My Company"`
|
|
ProductComments string `description:"Comments to add to the generated files" default:"This is a comment"`
|
|
ProductIdentifier string `description:"The product identifier, e.g com.mycompany.myproduct"`
|
|
SkipWarning bool `name:"s" description:"Skips the warning message when using remote templates"`
|
|
}
|