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
I mistyped one of the arguments in the command handler, which caused a panic.
My command was registered like this
add:=clif.NewCommand("add", "Add a new package to the directory", addCommand)
add.NewArgument("packages", "The package(s) to install.", "", true, true)
I mistyped one of the arguments in the command handler, which caused a panic.
My command was registered like this
And in my handler I had this:
If you run the code above you get something like this:
The text was updated successfully, but these errors were encountered: