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
It may happen that writing completion fails due to whichever reason.
Currently clap-complete panics without letting calling code to react on
that error (i.e. ignore). Introduce fallible version of the `generate`
function by mostly only getting rid of except and instead exposing
Result. For backwards compatibility make default trait
implementation of `try_generate` function to call `generate` not to
break users defining their own `generate`.
Issue: #5993
0 commit comments