extract cli class from bin