Saving files to .pgp via command line

How do you use the command line to create encrypted files with the pgp extension?

Thanks!