Convenient way to build simple cli tools in java