Fixed "undefined" error. :list command now works.

Because :list was defined as "undefined" in the CLI, it crashed almost
immediately. I rewrote the :list command. :+1: