diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2024-01-04 12:35:42 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-04 12:35:42 -0800 |
commit | 533adaaa6d1ebea3b1e6d634d67e5185cea2fe95 (patch) | |
tree | 958201b6087e16944d17679c99ad14e571dd4608 /var | |
parent | 3a15f57b45ec35f6d1d672cfc8b95a96a75403cd (diff) | |
download | spack-533adaaa6d1ebea3b1e6d634d67e5185cea2fe95.tar.gz spack-533adaaa6d1ebea3b1e6d634d67e5185cea2fe95.tar.bz2 spack-533adaaa6d1ebea3b1e6d634d67e5185cea2fe95.tar.xz spack-533adaaa6d1ebea3b1e6d634d67e5185cea2fe95.zip |
`spack list`: add `--namesapce` / `--repo` option (#41948)
This adds options to `spack list` that allow you to list only packages from specific
repositories/namespaces, e.g.:
```console
spack list -r builtin
```
only lists packages from the `builtin` repo, while:
```console
spack list -r myrepo -r myrepo2
```
would list packages from `myrepo` and `myrepo2`, but not from `builtin`. Note that you
can use the same argument multiple times.
You can use either `-r` / `--repo` or `-N` / `--namespace`. `-N` is there to match the
corresponding option on `spack find`.
- [x] add `-r` / `--repo` / `-N` / `--namespace` argument
- [x] add test
Diffstat (limited to 'var')
0 files changed, 0 insertions, 0 deletions