create

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2024 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// MultiStage holds the option to create a Dockerfile with multi-stage build
	MultiStage bool
	// Java is the Java version to use in the Dockerfile
	Java int
)
View Source
var (

	// Version is the Liferay version
	Version string
	// Build is Maven or Gradle
	Build string
	// Edition is DXP (Enterprise) or Portal (Community)
	Edition string
	// Init holds the option to initialize the Liferay bundle
	Init bool
)
View Source
var (
	// Cmd is the command 'create' which create the structure of a given module type
	Cmd = &cobra.Command{
		Use:     "create TYPE NAME",
		Aliases: []string{"c"},
		Short:   "Create a Liferay project",
		Run: func(cmd *cobra.Command, args []string) {
			if len(args) == 0 {
				promptCreateChoices(cmd, args)
			}
		},
	}
)
View Source
var (

	// CodeGen holds the option to run the code generation of the rest builder
	CodeGen bool
)
View Source
var (

	// TemplateEngine holds the option for the Spring template engine to use
	TemplateEngine string
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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