cli interface into puppetdb