Class Launcher

java.lang.Object
studentrepoloader.cli.Launcher
All Implemented Interfaces:
Callable<Integer>

public class Launcher extends Object implements Callable<Integer>
Command-line entry point for initializing a course folder under ViLLe RepoLoader.

This command verifies the provided ViLLe export `.txt` file and moves it into the appropriate course subdirectory under `./ViLLe courses/`, using the given GitLab group as the folder path. Optionally enables GitLab group validation for downstream cloning.

  • Constructor Details

    • Launcher

      public Launcher()
  • Method Details

    • call

      public Integer call()
      Launches the CLI, validates inputs, and arranges the course folder and input file.
      Specified by:
      call in interface Callable<Integer>
      Returns:
      0 on success, nonzero if validation or copying fails
    • main

      public static void main(String[] args)
      CLI entry point. Initializes the base folder structure, then delegates to Picocli.
      Parameters:
      args - standard CLI args