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'm getting an error after installing and importing Commander via Swift Package Manager:
import Commander
Commander().dispatch() // <-- Cannot call value of non-function type 'module<Commander>'
Desktop (please complete the following information):
OS: macOS 10.15
Xcode: 11.1
Additional context Calling Commander.dispatch() instead seems to work but no Options or arguments get passed to my commands. (I got this working by implementing init(from decoder:Decoder) -- that should probably be added to the docs.)
The text was updated successfully, but these errors were encountered:
I'm getting an error after installing and importing Commander via Swift Package Manager:
Desktop (please complete the following information):
Additional context
Calling(I got this working by implementingCommander.dispatch()
instead seems to work but noOptions
orarguments
get passed to my commands.init(from decoder:Decoder)
-- that should probably be added to the docs.)The text was updated successfully, but these errors were encountered: