/** * Run and exit if something unexpected happened. * @param argArray the command line arguments */ public static void main(String[] argArray) throws IOException { Arguments arguments = new Arguments(); arguments.parse(argArray); int result = run(arguments); if (result != 0) { System.exit(result); } }
/** * Run and exit if something unexpected happened. * @param argArray the command line arguments */ public static void main(String[] argArray) throws IOException { Arguments arguments = new Arguments(); arguments.parse(argArray); int result = run(arguments); if (result != 0) { System.exit(result); } }
/** * Run and exit if something unexpected happened. * @param argArray the command line arguments */ public static void main(String[] argArray) { Arguments arguments = new Arguments(); arguments.parse(argArray); int result = run(arguments); if (result != 0) { System.exit(result); } }
@NonNull DxContext dxContext) throws ProcessException { Main.Arguments args = new Main.Arguments();
/** * Run and exit if something unexpected happened. * @param argArray the command line arguments */ public static void main(String[] argArray) throws IOException { DxContext context = new DxContext(); Arguments arguments = new Arguments(); arguments.parseCommandLine(argArray, context); int result = new Main(context).run(arguments); if (result != 0) { System.exit(result); } }
/** * Run and exit if something unexpected happened. * @param argArray the command line arguments */ public static void main(String[] argArray) throws IOException { DxContext context = new DxContext(); Arguments arguments = new Arguments(context); arguments.parse(argArray); int result = new Main(context).runDx(arguments); if (result != 0) { System.exit(result); } }
/** * Run and exit if something unexpected happened. * @param argArray the command line arguments */ public static void main(String[] argArray) throws IOException { DxContext context = new DxContext(); Arguments arguments = new Arguments(context); arguments.parse(argArray); int result = new Main(context).runDx(arguments); if (result != 0) { throw new IOException(); } }