I plan to use The Unarchiver in an application. The lsar program does its work great, it just lists the archive files.
One suggestion: please make both lsar and unar exit with an error code when errors occur during the list/extract operation.