code: def main(argv=None):
      
      if argv is None:
          argv = sys.argv[1:]
      usage = '\n\n\n'.join(__doc__.split('\n\n\n')[1:])
      version = 'Gitpress ' + __version__
  
      # Parse options
      args = docopt(usage, argv=argv, version=version)
  
      # Execute command
      try:
          return execute(args)
      except RepositoryNotFoundError as ex:
          error('No Gitpress repository found at', ex.directory)
docs: The entry point of the application.