add month-only ability to list in shell.
refactor date handling for list-cmd in shell.
extract shell-command-processing into own file.