code: def main(argv=None):
      
      arguments = cli_common(__doc__, argv=argv)
      campaign_path = arguments['CAMPAIGN-DIR']
      driver = CampaignDriver(campaign_path, expandcampvars=False)
      with pushd(campaign_path):
          render(
              template=arguments['--template'],
              ostr=arguments['--output'],
              campaign=driver,
          )
      if argv is not None:
          return driver
docs: ben-doc entry point