Easy to use CLI API in JAVA