diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2019-09-01 16:40:07 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2019-09-02 19:24:48 -0700 |
commit | 64af0a9874f64e058f885cac16b403868d981dc4 (patch) | |
tree | 08fe42be7e726439f87dd3565479bb203e4483fb /bin | |
parent | 9b8f1fdc40cc8a3eb6d41bef80252f46124e9047 (diff) | |
download | spack-64af0a9874f64e058f885cac16b403868d981dc4.tar.gz spack-64af0a9874f64e058f885cac16b403868d981dc4.tar.bz2 spack-64af0a9874f64e058f885cac16b403868d981dc4.tar.xz spack-64af0a9874f64e058f885cac16b403868d981dc4.zip |
command: add `spack find --format`
- spack find --format allows you to supply a format string and have specs
output in a more machine-readable way, without dedcoration
e.g.:
spack find --format "{name}-{version}-{hash}"
autoconf-2.69-icynozk7ti6h4ezzgonqe6jgw5f3ulx4
automake-1.16.1-o5v3tc77kesgonxjbmeqlwfmb5qzj7zy
bzip2-1.0.6-syohzw57v2jfag5du2x4bowziw3m5p67
...
or:
spack find --format "{hash}"
icynozk7ti6h4ezzgonqe6jgw5f3ulx4
o5v3tc77kesgonxjbmeqlwfmb5qzj7zy
syohzw57v2jfag5du2x4bowziw3m5p67
...
This is intended to make it much easier to script with `spack find`
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions