adding json export for spack blame (#23417)

I would like to be able to export (and save and then load programatically)
spack blame metadata, so this commit adds a spack blame --json argument,
along with developer docs for it

Signed-off-by: vsoch <vsoch@users.noreply.github.com>

Co-authored-by: vsoch <vsoch@users.noreply.github.com>
This commit is contained in:
Vanessasaurus
2021-05-25 12:40:08 -06:00
committed by GitHub
parent b44bb952eb
commit 3cef5663d8
4 changed files with 122 additions and 15 deletions

View File

@@ -384,7 +384,7 @@ _spack_arch() {
_spack_blame() {
if $list_options
then
SPACK_COMPREPLY="-h --help -t --time -p --percent -g --git"
SPACK_COMPREPLY="-h --help -t --time -p --percent -g --git --json"
else
_all_packages
fi