Directory command now has pagination support and more formatting.