spack/lib/spack
Harmen Stoppels b848fab3ec
SpackCommand objects can set global args (#22318)
This commit extends the API of the __call__ method of the
SpackCommand class to permit passing global arguments 
like those interposed between the main "spack" command 
and the subsequent subcommand.

The functionality is used to fix an issue where running

```spack -e . location -b some_package```

ends up printing the name of the environment instead of 
the build directory of the package, because the location arg 
parser also stores this value as `arg.env`.
2021-03-30 18:47:36 +02:00
..
docs Add doc for mirror of env (#22525) 2021-03-24 20:55:15 +00:00
env Tab to spaces (#22362) 2021-03-18 06:20:06 +00:00
external archspec: update to latest version (#22357) 2021-03-18 00:23:09 -07:00
llnl [WIP] relocate.py: parallelize test replacement logic (#19690) 2021-02-17 17:07:44 -08:00
spack SpackCommand objects can set global args (#22318) 2021-03-30 18:47:36 +02:00