Facilitate easy exposure of the bleeding-rez commands from within a context.
Motivation
With --isolated, the parent environment is emptied from any references to the original rez command, but in some cases having those be present is useful, e.g. for use with --patch, --context and --graph.
We could simply add it to the request.
$ rez env bleeding_rez
> $ rez env --graph
However that's a lot to type and worse yet it may include a version that differs from the parent which may affect its ability to operate on the surrounding context and .rxt file, if e.g. the schema has changed.
Implemenation
Address the above issues with a --self argument, which would expand into bleeding_rez, including the version used to establish the context.
Goal
Facilitate easy exposure of the bleeding-rez commands from within a context.
Motivation
With
--isolated
, the parent environment is emptied from any references to the originalrez
command, but in some cases having those be present is useful, e.g. for use with--patch
,--context
and--graph
.We could simply add it to the request.
However that's a lot to type and worse yet it may include a version that differs from the parent which may affect its ability to operate on the surrounding context and
.rxt
file, if e.g. the schema has changed.Implemenation
Address the above issues with a
--self
argument, which would expand intobleeding_rez
, including the version used to establish the context.