import parse.GreetParser;

public class App {
  public String getGreeting() {
    return "Hello world.";
  }

  /**
   * Main entry point to G2Tutorial.
   *
   * @param  args commandline arguments
   */
  public static void main(String[] args) {
    if (args.length > 0 && args[0].equals("greet")) {
      GreetParser p = new GreetParser(args);
      p.parse();
    } else {
      System.out.println("Available commands:\n\tgreet");
      System.exit(1);
    }
  }
}

@@ -1,8 +1,57 @@
+import backend.Core;%0Aimport java.io.IOException;%0A
 import p
@@ -313,101 +313,507 @@
 gth 
-%3E 0 && args%5B0%5D.equals(%22greet%22)) %7B%0A      GreetParser p = new GreetParser(args);%0A      p.parse(
+%3C 1) %7B%0A      System.out.println(%22Available commands:%5Cn%5Ctgreet%22);%0A      System.exit(1);%0A    %7D%0A%0A    if (args%5B0%5D.equals(%22greet%22)) %7B%0A      // Greet just exists as a template for parsing%0A      GreetParser p = new GreetParser(args);%0A      p.parse();%0A    %7D else if (args%5B0%5D.equals(%22init%22)) %7B%0A      // Initializes an empty git repo%0A      try %7B%0A        Core.initCore();%0A      %7D catch (IOException e) %7B%0A        System.err.println(%22Could not init g2t%22);%0A        e.printStackTrace();%0A      %7D%0A      System.exit(0
 );%0A 
@@ -863,38 +863,59 @@
 able commands:%5Cn
-%5Ctgree
+%22%0A          + %22%5Ctgreet, ini
 t%22);%0A      Syste

Add init as a command