* NB: it is expected that this is run before 'configure'.
* @param cmd the commandLine object constructed from the user's options
* @return true if the commandLine is approved, false otherwise
*/
public static boolean validateArgs(CommandLine cmd) {
CommandLineOptions options = new CommandLineOptions();
return validateDatasetIdArg(cmd, options) &&
validateFileToPublishArg(cmd, options) &&
validatePublishMethodArg(cmd, options) &&
validateHeaderRowArg(cmd, options) &&
validatePublishViaFtpArg(cmd, options) &&