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 get an error declaring "test" is an unknown argument:
kwilliams@KENLAPTOP:/mnt/c/Users/kwilliams/Documents/Projects/cheevobot$ node .
!ch uptime
Options:
--help Show help [boolean]
--version Show version number [boolean]
Unknown argument: test
!ch dice
Options:
--help Show help [boolean]
--version Show version number [boolean]
Unknown argument: test
It seems like to simplify this use-case though, we should add all keys provided in context to the list of known arguments?
That sounds like it should do the trick. In my use-case, the context variables are always something I know ahead of time (at least for now) and can thus account for by specifying option() for each of them directly, but in some cases the context might not be known ahead of time.
The text was updated successfully, but these errors were encountered:
Discussion moved from #776.
When running code like so against the
7.x
branch:I get an error declaring "test" is an unknown argument:
In response to @bcoe:
That sounds like it should do the trick. In my use-case, the context variables are always something I know ahead of time (at least for now) and can thus account for by specifying
option()
for each of them directly, but in some cases the context might not be known ahead of time.The text was updated successfully, but these errors were encountered: