make call to cli constructor use the same type of arguments it expects