This might involve some clever refactoring of the docopt definitions, or it might involve porting to something like clap. I know @matklad has looked into this.