Added argument --list and a barebone function to use it