code: public static void main(final String[] args) {
          Switch about = new Switch("a", "about", "display about message");
          Switch help = new Switch("h", "help", "display help message");
          FileArgument fastaFile = new FileArgument("i", "fasta-file", "input FASTA file, default stdin", false);
          StringArgument outputFilePrefix = new StringArgument("p", "output-file-prefix", "output file prefix, default \"\"", false);
          StringArgument outputFileExtension = new StringArgument("x", "output-file-extension", "output file extension, default " + DEFAULT_OUTPUT_FILE_EXTENSION, false);
          FileArgument outputDirectory = new FileArgument("d", "output-directory", "output directory, default .", false);
  
          ArgumentList arguments = new ArgumentList(about, help, fastaFile, outputFilePrefix, outputFileExtension, outputDirectory);
          CommandLine commandLine = new CommandLine(args);
  
          SplitFasta splitFasta = null;
          try
          {
              CommandLineParser.parse(commandLine, arguments);
              if (about.wasFound()) {
                  About.about(System.out);
                  System.exit(0);
              }
              if (help.wasFound()) {
                  Usage.usage(USAGE, null, commandLine, arguments, System.out);
                  System.exit(0);
              }
              splitFasta = new SplitFasta(fastaFile.getValue(), outputFilePrefix.getValue(DEFAULT_OUTPUT_FILE_PREFIX), outputFileExtension.getValue(DEFAULT_OUTPUT_FILE_EXTENSION), outputDirectory.getValue(DEFAULT_OUTPUT_DIRECTORY));
          }
          catch (CommandLineParseException e) {
              Usage.usage(USAGE, e, commandLine, arguments, System.err);
              System.exit(-1);
          }
          try {
              System.exit(splitFasta.call());
          }
          catch (Exception e) {
              e.printStackTrace();
              System.exit(1);
          }
      }
docs: Main.
  
  @param args command line args