             @config.current ?= {}
             if process.argv[3] in ['org','workspace','note','task']
               @choose_org (err,org_id)=>
-                @config.current.org_id = org_id
                 if process.argv[3] in ['workspace','note','task']
                   @choose_workspace org_id,(err,workspace_id)=>
-                    @config.current.workspace_id = workspace_id
                     if process.argv[3] in ['note','task']
                       @choose_note org_id,workspace_id,process.argv[3],(err,note_id)=>
-                        @config.current.note_id = note_id
                         @write_config ()=>process.exit(0)
                     else
                       @write_config ()=>process.exit(0)

          if err?
            callback(err)
          else
            callback(null,note_id)

  _request:(method,uri,body,stream,callback)=>

      else
        callback null,body

  get_workspace:(org_id,workspace_id,callback)=>
    params = {
      url:@abs("/v2.0/org/#{org_id}/workspace/#{workspace_id}")
      headers: { Authorization: "Bearer #{@config.oauth.access}" }
      jar:null
      json:true
    }
    request.get params, (err,response,body)=>
      if err?
        callback(err)
      else unless /^2[0-9][0-9]$/.test "#{response?.statusCode}"
        callback(new Error("Non-2xx-series status code (#{response?.statusCode})"))
      else
        callback null,body

  list_notes:(org_id,workspace_id,note_type,callback)=>
    params = {
      url:@abs("/v2.0/org/#{org_id}/workspace/#{workspace_id}/notes?note_type=#{note_type}")
      headers: { Authorization: "Bearer #{@config.oauth.access}" }
      jar:null
      json:true
    }
    request.get params, (err,response,body)=>
      if err?
        # console.error "ERROR",err
        callback(err)
      else unless /^2[0-9][0-9]$/.test "#{response?.statusCode}"
        callback(new Error("Non-2xx-series status code (#{response?.statusCode})"))
      else
        callback null,body

  get_note:(org_id,workspace_id,note_id,callback)=>
    params = {
      url:@abs("/v2.0/org/#{org_id}/workspace/#{workspace_id}/note/#{note_id}")
      headers: { Authorization: "Bearer #{@config.oauth.access}" }
      jar:null
      json:true
