Class InitProject

java.lang.Object
net.regsirius06.engine.tasks.InitProject

public class InitProject extends Object
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 Details

    • InitProject

      public InitProject()
  • Method Details

    • main

      public static void main(String @NotNull [] args) throws RuntimeException
      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 in CodeCollectorSystem.
      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.