summaryrefslogtreecommitdiff
path: root/lib/spack/spack/cmd/reindex.py
blob: 3c7af5fbbdbe2cd068c3cf623de58ff9fe2980e4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Copyright 2013-2024 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

import spack.store

description = "rebuild Spack's package database"
section = "admin"
level = "long"


def reindex(parser, args):
    spack.store.STORE.reindex()