
co.poynt.postman.Main Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of postman-runner Show documentation
Show all versions of postman-runner Show documentation
A module to run a POSTMAN collections.
The newest version!
package co.poynt.postman;
import picocli.CommandLine;
public class Main {
public static void main(String[] args) {
PostmanRunnerTools tools = new PostmanRunnerTools();
try {
CommandLine cmd = new CommandLine(tools);
cmd.parseWithHandlers(
new CommandLine.RunLast().useOut(System.out).useAnsi(CommandLine.Help.Ansi.ON),
CommandLine.defaultExceptionHandler().useErr(System.err).useAnsi(CommandLine.Help.Ansi.OFF),
args);
} catch (Exception e) {
CommandLine.usage(tools, System.err);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy