       logger.setLevel par.logger
       cmdShowList par if name is 'list'
       cmdShowDrive par if name is 'drive'
+
+  program.command 'get <id>'
+    .description 'get item content'
+    .option '-p --path [name]', 'item id/name'
+    .action (id, options) ->
+      par = _.extend {}, defaultOptions, pickParent(options), _.pick options, ['path'].concat _.keys defaultOptions
+      par.id = id
+      logger.setLevel par.logger
+      cmdGetContent par
 
   program.command 'put <localpath>'
     .description 'upload file'

    logger.info 'put success', hooks.item


defaultOptions =
  ROOT: 'https://graph.microsoft.com'
  logger: 'INFO'

fs      = require 'fs'
wfall   = require 'water-fall'
mime    = require 'mime-types'
{exec}  = require 'child_process'
log4js  = require 'log4js'

helper  = require './helper'
