     @log value
     value
 
+  # Set the value of a key.
   set: (key, value) ->
     @data[key] = value
     @save()
     this
 
+  # Delete a key.
   delete: (key) ->
     delete @data[key]
     @save()
     this
 
+  # List all keys and their values.
   list: ->
     amount = 0
 


    this

  copy: (value) ->
    copyCommand = if os.type().match /darwin/i then "pbcopy" else "xclip -selection clipboard"
    exec "printf '#{value.replace(/\'/g, "\\'")}' | #{copyCommand}", (error, stdout, stderr) ->

    else
      {}

  # Wraps console.log for testing purposes.
  log: (args...) ->
    console.log args...

  # Writes the data store to disk as JSON.
  save: ->
    fs.writeFileSync @dataPath, JSON.stringify(@data)

  # Retrieve a key's value.
  get: (key) ->
    value = @data[key]
    return unless value
