Added type parameter (-t)

I also bumped the version. I only tested private-key since that's all I needed, but the code is simple enough that I think it should work for the rest.