docs: def drop(manager: Manager, network_id: Optional[int], yes):
      """Drop a network by its identifier or drop all networks."""
      if network_id:
          manager.drop_network_by_id(network_id)
  
      elif yes or click.confirm('Drop all networks?'):
          manager.drop_networks()