class DashboardArguments {

  static DashboardArguments readCommandLine(String... arguments) throws ParseException {
    CommandLineParser parser = new DefaultParser();

    try {
      // Throws ParseException if required option group ('-f' or '-c') is not specified
      return new DashboardArguments(parser.parse(options, arguments));
    } catch (ParseException ex) {
      helpFormatter.printHelp("DashboardMain", options);
      throw ex;
    }
  }

  private  DashboardArguments(CommandLine commandLine);

}