Class TeamTool


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

      Fields 
      Modifier and Type Field Description
      static java.lang.String COMMAND_INIT  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void initTeamProject​(java.io.File dir, java.lang.String srcLang, java.lang.String trgLang)
      Utility function to create a minimal project to serve as a base for a team project.
      static void main​(java.lang.String[] args)  
      static void showHelp()  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • initTeamProject

        public static void initTeamProject​(java.io.File dir,
                                           java.lang.String srcLang,
                                           java.lang.String trgLang)
                                    throws java.lang.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:
        java.lang.Exception - If specified dir is not a directory, is not writeable, etc.
      • showHelp

        public static void showHelp()
      • main

        public static void main​(java.lang.String[] args)