Extract list command from main
Fix argument passing to elide command name
Add archive contents listing