Package net.regsirius06.engine.tasks
Class InitProject
java.lang.Object
net.regsirius06.engine.tasks.InitProject
A utility class for generating a plugin project template.
The main(String[]) method serves as the entry point for creating a new plugin project.
It takes two command-line arguments: the name of the plugin and its version.
For each build tool available in CodeCollectorSystem, it generates a project template
with the provided plugin name, version, and a default project structure.
The project template is generated in the "./projects/{buildTool}/" directory for each build tool
defined in CodeCollectorSystem.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
InitProject
public InitProject()
-
-
Method Details
-
main
The main method for generating a new plugin project template. It requires two arguments: the plugin name and version. The method will create a project template for each build tool specified inCodeCollectorSystem.- Parameters:
args- command-line arguments where: - args[0] is the plugin name, - args[1] is the plugin version.- Throws:
RuntimeException- if the number of arguments is not exactly 2.
-