     .option '--client_secret <value>'
     .option '-a --authinfo <filename>', 'save auth-info'
     .action (options) ->
-      par = _.extend {}, defaultOptions, _.pick options, ['client_id', 'client_secret'].concat _.keys defaultOptions
+      par = _.extend {}, defaultOptions, pickParent(options), _.pick options, ['client_id', 'client_secret'].concat _.keys defaultOptions
+      logger.setLevel par.logger
       cmdAuth par
 
   program.command 'show <res>'
     .description 'show list/drive'
     .option '-p --path [name]', 'item id/name'
     .action (name, options) ->
-      par = _.extend {}, defaultOptions, _.pick options, ['path'].concat _.keys defaultOptions
+      par = _.extend {}, defaultOptions, pickParent(options), _.pick options, ['path'].concat _.keys defaultOptions
+      logger.setLevel par.logger
       cmdShowList par if name is 'list'
       cmdShowDrive par if name is 'drive'
 


defaultOptions =
  ROOT: 'https://graph.microsoft.com'
  user: '/v1.0/me'
  dirve: '/drive'
  authinfo: '.odAuthInfo'

      logger.error err if err
      logger.debug body if body.error
      _.each body.value, (e) ->
        logger.info '%j', _.pick e, ['id', 'name']
      callback()
  wf.exec (err) ->

