Class TeamTool

java.lang.Object
org.omegat.core.team2.TeamTool

public final class TeamTool extends Object
A utility class implementing useful tools related to team projects. Intended mostly for CLI use.
  • Field Details

  • Method Details

    • initTeamProject

      public static void initTeamProject(File dir, String srcLang, String trgLang) throws Exception
      Utility function to create a minimal project to serve as a base for a team project. Will add/stage everything if invoked on a path already containing a git working tree or svn checkout.
      Parameters:
      dir - Directory in which to create team project
      srcLang - Source language
      trgLang - Target language
      Throws:
      Exception - If specified dir is not a directory, is not writeable, etc.
    • showHelp

      public static void showHelp()
    • main

      public static void main(String[] args)