spack/share/spack
Vanessasaurus 746081e933
adding spack -c to set one off config arguments (#22251)
This pull request will add the ability for a user to add a configuration argument on the fly, on the command line, e.g.,:

```bash
$ spack -c config:install_tree:root:/path/to/config.yaml -c packages:all:compiler:[gcc] list --help
```
The above command doesn't do anything (I'm just getting help for list) but you can imagine having another root of packages, and updating it on the fly for a command (something I'd like to do in the near future!)

I've moved the logic for config_add that used to be in spack/cmd/config.py into spack/config.py proper, and now both the main.py (where spack commands live) and spack/cmd/config.py use these functions. I only needed spack config add, so I didn't move the others. We can move the others if there are also needed in multiple places.
2021-03-13 05:31:26 +00:00
..
bash fix setup-env.sh on older linux zsh (#21721) 2021-03-10 09:44:50 -08:00
csh copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
docker copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
docs/docker/module-file-tutorial copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
gitlab Temporarily reduce pr stack size (#21998) 2021-02-27 09:43:29 -07:00
keys add tutorial public key to share/spack/keys dir (#17684) 2020-07-23 14:35:25 -07:00
logo
qa Drop compiler variables from spack load (#21699) 2021-02-23 13:35:19 +01:00
templates copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
setup-env.csh Introduce a SPACK_PYTHON environment variable (#21222) 2021-02-12 10:52:44 -08:00
setup-env.fish Fixed conditional in match_flag for fish env (#21679) 2021-02-18 23:29:23 +00:00
setup-env.sh Introduce a SPACK_PYTHON environment variable (#21222) 2021-02-12 10:52:44 -08:00
setup-tutorial-env.sh copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
spack-completion.bash adding spack -c to set one off config arguments (#22251) 2021-03-13 05:31:26 +00:00