Which command is used to create a new Liferay module?

Prepare for the Liferay Front End Test. Study with flashcards and multiple choice questions, each having hints and explanations. Get ready for your exam!

The command used to create a new Liferay module is "blade create." This command is part of the Blade CLI, which is a command-line interface designed to streamline the development process of Liferay modules. When you execute "blade create," it generates the necessary files and directories required for your new module, ensuring that it adheres to Liferay's standards and structure for modules.

Creating a module with this command sets up a project with the proper configurations, making it easier for you to begin writing your module's code. This includes the creation of essential files, such as the module descriptor, which informs Liferay about the module’s properties and dependencies, and it establishes a baseline for you to build upon.

The other commands mentioned serve different purposes; for example, "blade start" is typically used to initialize a project and not specifically for module creation. "Blade build" is used to compile a module and prepare it for deployment, while "blade develop" facilitates the development process by setting up a live reload environment but does not create new modules. Thus, when your goal is to create a new Liferay module, "blade create" is the precise command to use.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy