Simple usage of Spring RestTemplate and apache commons cli.