extracted and use couple of cli shared examples