Add getdir command

This adds a `getdir` command that returns a list of files for a given directory at a depth of 1.