updated cli to accept type as parameter
0.9.59