Investigate click as a replacement to docopt.
Oh this looks very very nice.
We've been using Click for all our internal CLI tools and it works quite well.