This is a statement from Blizzard. You’ve already discovered some of the cheat codes hidden within StarCraft II: Wings of Liberty, but you haven’t found them all. We thought it was time to lift the veil and reveal all of the official codes available in the single-player mode. Cheat codes can only be used in single-player mode by pressing the enter key within the game and typing in the codes as shown below within the console. Caution: Before using cheat codes it’s important to understand that using them will prevent additional achievement gains you might have earned through normal play until either a new campaign is started or a prior save is loaded (one from before the use of the first cheat).
Starcraft 2 Downloads, Tools, and Guides