code: def admin_cmd(argv=sys.argv[1:]):  # pragma: no cover
      
      arguments = docopt(admin_cmd.__doc__, argv=argv)
      initialize_config(__mode__='fit')
      if arguments['activate']:
          activate(model_version=int(arguments['<version>']))
      elif arguments['delete']:
          delete(model_version=int(arguments['<version>']))
docs: \
  Activate or delete models.
  
  Models are usually made active right after fitting (see command
  pld-fit).  The 'activate' command allows you to explicitly set the
  currently active model.  Use 'pld-list' to get an overview of all
  available models along with their version identifiers.
  
  Deleting a model will simply remove it from the database.
  
  Usage:
    pld-admin activate <version> [options]
    pld-admin delete <version> [options]
  
  Options:
    -h --help                 Show this screen.