Added show_resources command to command line version.