package com.maddenabbott.jenny;

/**
 * The main entry point for Jenny.
 */
public class Application {
  public static void main(String[] args) {
  }
  }

@@ -103,47 +103,386 @@
 %0A  p
-ublic static void main(String%5B%5D args) %7B
+rivate static final String defaultCommand = %22help%22;%0A%0A  public static void main(String%5B%5D args) %7B%0A    String commandName = getCommandName(args, defaultCommand);%0A  %7D%0A%0A  private static String getCommandName(final String%5B%5D args, final String defaultCommandName) %7B%0A    if (args.length %3E 0 && args%5B0%5D != null) %7B%0A      return args%5B0%5D;%0A    %7D else %7B%0A      return defaultCommandName;%0A    %7D
 %0A  %7D

Add method to extract command name from command line args.