cli class