It is currently possible to override commands from a definition within another registry to customize the command alias, or associate a command alias with a particular definition version.
For instance, we could have the following definition to launch foo:
Therefore, the wiz run command would then run app as defined in foo-extended while still associating it with foo==2.3.0.
However, it can be quite cumbersome and error-prone to write the entire command alias when the goal is not to customize it, but only to associate it with another definition version. For instance, the following definition will ensure that foo==1.2.3 is used instead of foo==2.3.0 when running the wiz run command:
It is currently possible to override commands from a definition within another registry to customize the command alias, or associate a command alias with a particular definition version.
For instance, we could have the following definition to launch
foo
:We can execute the
app
command alias using wiz use or wiz run:We could then add another definition in another registry to override the
app
command alias:Therefore, the wiz run command would then run
app
as defined infoo-extended
while still associating it withfoo==2.3.0
.However, it can be quite cumbersome and error-prone to write the entire command alias when the goal is not to customize it, but only to associate it with another definition version. For instance, the following definition will ensure that
foo==1.2.3
is used instead offoo==2.3.0
when running the wiz run command:We could add a new
inherited-commands
keyword instead to cover this case: