What is Counter Strike Source?
You'll be able to accomplish this by using a tool called SteamCMD, created by Valve, the same company that created Steam, Counter-Strike: Source, etc. It's the official way to interact with steam through the command line, but it's most popular use is to download the game for free.