You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you have a command with one or many level of subcommands, there should be a way to ask the context if some flag is present or not.
exemple:
launcher image create fromPR 9588--no-launch
In the example, the --no-launch flag is specified on the create subcommand spec.
When asking #hasFlag: #'no-launch' to the context, it will search on the last subcommand: fromPR and by so will not find it.
It should search from the command where it has been specified
The text was updated successfully, but these errors were encountered:
It is true that self hasFlag: #no-launch has to be used but it was only an error in the description.
The problem described is there: there is an issue with parameters lookup.
When you have a command with one or many level of subcommands, there should be a way to ask the context if some flag is present or not.
exemple:
In the example, the
--no-launch
flag is specified on thecreate
subcommand spec.When asking
#hasFlag: #'no-launch'
to the context, it will search on the last subcommand:fromPR
and by so will not find it.It should search from the command where it has been specified
The text was updated successfully, but these errors were encountered: