SVN Checkout Via Shell

Anyone written a script that will do an SVN Checkout, with some type of credentials, on the local machine? EG, via Shell.

thanks