I built a little wrapper for the defaults write command. You’ll find it here.
defaults write
For more information, see the wiki Searching the Forum for Answers section.