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
config.AddBranch("doSomething",add =>{ add.SetDefaultCommand<ACommand>(); add.AddCommand<ACommand>("normal").WithData(contextData).WithDescription("Merge 'Models'."); add.AddCommand<BCommand>("different").WithData(contextData).WithDescription("Merge models using a session file.");});
So in my opinion if I write "doSomething normal --parameters" it should be equal to "doSomething --parameters"! However when I enter them they both execute the Execute-Function in the ACommand but when I leave out the normal and just write "doSomething --parameters" the parameters in the settings are null instead of the values I passed.
The text was updated successfully, but these errors were encountered:
Conclusion:
"doSomething normal --parameters" parameters in the settings are there
"doSomething --parameters" parameters in the settings are null
Both are ACommand
And ACommand is set to default.
So in my opinion if I write "doSomething normal --parameters" it should be equal to "doSomething --parameters"! However when I enter them they both execute the Execute-Function in the ACommand but when I leave out the normal and just write "doSomething --parameters" the parameters in the settings are null instead of the values I passed.
The text was updated successfully, but these errors were encountered: