Virtual machine cache for the CLI