Adds the cli class.