ifEmpty
does not pass count to it's subcommands.
#310
Labels
question
Further information is requested
ifEmpty
does not pass count to it's subcommands.
#310
While debugging #308 I discovered that for all cases I tried, the count entered by a user is not passed on to the subcommands called in "then" or "otherwise" of an "ifEmpty" command.
I'm happy to try to resolve this but I am having a but of trouble following the data flow for how counts get passed around. Looking at the source for
buildCommands
it appears that the count is only passed down to individual commands if it is an explicit argument. Is this just so one can specify a command with an explicit numerical argument, or is there some way to spell out, in a call toifEmpty
that you want the count to be passed to one of the subcommands. If so, how does one do that, and is that documented somewhere? (I can't seem to find it).The text was updated successfully, but these errors were encountered: