old_contents: #!/usr/bin/env python3
  
  """
  The main entry point to the dploy script
  """
  
  import argparse
  import dploy.version
  
  def main():
      PARSER = argparse.ArgumentParser(prog='dploy')
      PARSER.add_argument('--version',
                  action='version',
                  version='%(prog)s {version}'.format(version=dploy.version.__version__))
  
      SUB_PARSERS = PARSER.add_subparsers(dest="sub_command")
  
      STOW_PARSER = SUB_PARSERS.add_parser('stow')
      STOW_PARSER.add_argument('source',
                   nargs='+',
                   help='source directory to stow')
      STOW_PARSER.add_argument('dest',
                   help='destination path to stow into')
  
      LINK_PARSER = SUB_PARSERS.add_parser('link')
      LINK_PARSER.add_argument('source',
                   help='source files or directories to link')
      LINK_PARSER.add_argument('dest',
                   help='destination path to link')
  
      ARGS = PARSER.parse_args()
  
      if ARGS.sub_command != None:
          if ARGS.sub_command == 'stow':
              for source in ARGS.source:
                  dploy.stow(source, ARGS.dest)
          elif ARGS.sub_command == 'link':
              dploy.link(ARGS.source, ARGS.dest)
      else:
          PARSER.print_help()
  
new_contents: #!/usr/bin/env python3
  
  """
  The main entry point to the dploy script
  """
  
  import argparse
  import dploy
  import dploy.version
  
  def main():
      """
      todo
      """
  
      parser = argparse.ArgumentParser(prog='dploy')
      parser.add_argument('--version',
                          action='version',
                          version='%(prog)s {version}'.format(version=dploy.version.__version__))
  
      sub_parsers = parser.add_subparsers(dest="sub_command")
  
      stow_parser = sub_parsers.add_parser('stow')
      stow_parser.add_argument('source',
                               nargs='+',
                               help='source directory to stow')
      stow_parser.add_argument('dest',
                               help='destination path to stow into')
  
      link_parser = sub_parsers.add_parser('link')
      link_parser.add_argument('source',
                               help='source files or directories to link')
      link_parser.add_argument('dest',
                               help='destination path to link')
  
      args = parser.parse_args()
  
      if args.sub_command != None:
          if args.sub_command == 'stow':
              for source in args.source:
                  dploy.stow(source, args.dest)
          elif args.sub_command == 'link':
              dploy.link(args.source, args.dest)
          else:
              parser.print_help()
      else:
          parser.print_help()
  
  
  if __name__ == '__main__':
      main()
  
subject: make dploy a runnable module again