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
There are other CLI tools that include both options, e.g. --restore and --no-restore, where you are giving three possible values to the user: true (associated with Name), false (NoName) and default.
[CommandFlag(Name="flag",NoName="no-flag")]publicbool?Flag{get;init;}//bool? or custom struct Flag
Some problems:
what about current bool flags?
what about short flags: -abc
what if the dafuatl is not null but true or false?
The text was updated successfully, but these errors were encountered:
There are other CLI tools that include both options, e.g. --restore and --no-restore, where you are giving three possible values to the user: true (associated with Name), false (NoName) and default.
Some problems:
-abc
The text was updated successfully, but these errors were encountered: