update cli example
Use printf for example funcitons