AcademySoftwareFoundation / rez

An integrated package configuration, build and deployment system for software
https://rez.readthedocs.io
Apache License 2.0
922 stars 329 forks source link

Add shell argument to show rez-context when rez-env is chained with a command via -- #1687

Closed queglay closed 4 months ago

queglay commented 4 months ago

rez-env will ussually show the context, but not when chained with another command via -- or -c. It would be helpful if the context could be displayed in that scenario either when in verbose mode or with another switch keyword arg inline.

Motivation running commands as a one liner suppresses the envrionment from displayed and where packages come from for debugging.

queglay commented 4 months ago

Oh I see actually we can do:

rez env package -c "rez-context && execute_thing"