Adding an APN from the commandline
I am not sure if adding APN from adb shell is the right solution. But if you want to try check this post.

what you basically do is change the prefered apn, or update the existing.