small cli to use in python programs