 
   switch action
     when 'list'
-      if argv.update
-        cmd = [ensureCacheDir, fetchListing, displayListing, writeListing]
-      else
-        cmd = [ensureCacheDir, loadListing, displayListing, updateIfNeeded]
+      cmd = [fetchListing, displayListing]
     when 'install'
-      cmd = [[loadCurrentEnv, loadListing], installPlugin]
+      cmd = [[loadCurrentEnv, fetchListing], installPlugin]
 
     else
       cmd = [(callback) -> callback new Error "Unknown plugin action: #{ action }"]


    -C, --chdir [path]      change the working directory
    -c, --config [path]     path to config
    -U, --update            force plugin listing refresh

"""

options =
  alias:
    update: 'U'
  boolean: ['update']

extendOptions options, commonOptions


    name = argv._[4]
    plugin = null

    for p in list
      if normalizePluginName(p.name) is normalizePluginName(name)
        plugin = p
        break
