@@ -0,0 +1,1355 @@
+/**%0D%0A * Copyright Alex Objelean%0D%0A */%0D%0Apackage ro.isdc.wro.extensions;%0D%0A%0D%0Aimport java.io.BufferedReader;%0D%0Aimport java.io.InputStreamReader;%0D%0A%0D%0Aimport org.kohsuke.args4j.CmdLineException;%0D%0Aimport org.kohsuke.args4j.CmdLineParser;%0D%0Aimport org.kohsuke.args4j.Option;%0D%0A%0D%0A%0D%0A/**%0D%0A * @author Alex Objelean%0D%0A */%0D%0Apublic class Main %7B%0D%0A  public static class MyOptions %7B%0D%0A    @Option(name=%22-minimize%22)%0D%0A    private boolean minimize;%0D%0A%0D%0A    /**%0D%0A     * @return the minimize%0D%0A     */%0D%0A    public boolean isMinimize() %7B%0D%0A      return this.minimize;%0D%0A    %7D%0D%0A%0D%0A    /**%0D%0A     * @param minimize the minimize to set%0D%0A     */%0D%0A    public void setMinimize(final boolean minimize) %7B%0D%0A      this.minimize = minimize;%0D%0A    %7D%0D%0A  %7D%0D%0A  public static void main(final String%5B%5D args1) throws Exception %7B%0D%0A    final InputStreamReader converter = new InputStreamReader(System.in);%0D%0A    final BufferedReader in = new BufferedReader(converter);%0D%0A    final String%5B%5D args = new String%5B%5D %7B in.readLine() %7D;%0D%0A%0D%0A    final MyOptions bean = new MyOptions();%0D%0A    final CmdLineParser parser = new CmdLineParser(bean);%0D%0A    try %7B%0D%0A      parser.parseArgument(args);%0D%0A    %7D catch (final CmdLineException e) %7B%0D%0A      System.err.println(e.getMessage());%0D%0A      System.err.println(%22java -jar myprogram.jar %5Boptions...%5D arguments...%22);%0D%0A      parser.printUsage(System.err);%0D%0A      return;%0D%0A    %7D%0D%0A  %7D%0D%0A%7D%0D%0A

add main class