     .description 'dump cache'
     .action ->
         require 'colors'
-        console.log "npm-up cache: ".cyan + cachePath.yellow
-        console.log cache.verCache or ''
+        util = require 'util'
+        {cache, cachePath} = require './data'
+        console.log cachePath.yellow
+        console.log util.inspect (cache.verCache or {}), colors: yes
         process.exit 0
 cmder
     .option '-g, --global', "Check global packages"


    depNames = ['dep', 'dev', 'bundled', 'optional']
    res = depNames.reduce (res, cur) ->
        res = res or cur
    , false

    if res then depNames.forEach (name) -> opts[name] = not not cmder[name]

    opts


    .command 'clean'
    .description 'clean cache'
    .action ->
        {writeCacheSync} = require './data'
        writeCacheSync {}
        process.exit 0
cmder
