/outputfile <inventory|spellbook|raid|guild> [filename] edit
Dumps the specified information about your inventory, spellbook, guild, or raid into a text file. edit