Implement CLI pending action and move UI out of CLI API class.
Implement CLI show action.