spack/share/spack
Todd Gamblin e13e697067
commands: spack load --list alias for spack find --loaded (#27184)
See #25249 and https://github.com/spack/spack/pull/27159#issuecomment-958163679.
This adds `spack load --list` as an alias for `spack find --loaded`.  The new command is
not as powerful as `spack find --loaded`, as you can't combine it with all the queries or
formats that `spack find` provides.  However, it is more intuitively located in the command
structure in that it appears in the output of `spack load --help`.

The idea here is that people can use `spack load --list`  for simple stuff but fall back to
`spack find --loaded` if they need more.

- add help to `spack load --list` that references `spack find`
- factor some parts of `spack find` out to be called from `spack load`
- add shell tests
- update docs

Co-authored-by: Peter Josef Scheibel <scheibel1@llnl.gov>
Co-authored-by: Richarda Butler <39577672+RikkiButler20@users.noreply.github.com>
2021-11-05 00:58:29 -07:00
..
bash spack setup-env.sh: make zsh loading async compatible, and ~10x faster (in some cases) (#26120) 2021-10-28 11:32:59 -07:00
bootstrap/github-actions Bootstrap GnuPG (#24003) 2021-11-02 23:15:24 -07:00
csh commands: spack load --list alias for spack find --loaded (#27184) 2021-11-05 00:58:29 -07:00
docker Build container images on Github Actions and push to multiple registries (#26247) 2021-09-30 23:34:47 +02:00
docs/docker/module-file-tutorial copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
gitlab Add the spack tutorial environment as a cloud pipeline stack (#27137) 2021-11-04 15:14:46 -07:00
keys update tutorial public key 2021-04-14 23:53:07 -07:00
logo add artisanal handcrafted SVG Spack logo. (#6165) 2017-11-06 22:42:16 -08:00
qa commands: spack load --list alias for spack find --loaded (#27184) 2021-11-05 00:58:29 -07:00
templates containerize: pin the Spack version used in a container (#21910) 2021-10-25 13:09:27 -07:00
setup-env.csh Introduce a SPACK_PYTHON environment variable (#21222) 2021-02-12 10:52:44 -08:00
setup-env.fish commands: spack load --list alias for spack find --loaded (#27184) 2021-11-05 00:58:29 -07:00
setup-env.sh commands: spack load --list alias for spack find --loaded (#27184) 2021-11-05 00:58:29 -07:00
setup-tutorial-env.sh Tab to spaces (#22362) 2021-03-18 06:20:06 +00:00
spack-completion.bash commands: spack load --list alias for spack find --loaded (#27184) 2021-11-05 00:58:29 -07:00