When using argument groups, command-line-args::parse returns an object with the arguments added into groups. ts-command-line-args ignores every group except for _all, which makes sense, but doesn't work when also trying to use stopAtFirstUnknown. This change simply adds the _unknown arguments back in this case, and adds some test cases to cover the issue.
When using argument groups,
command-line-args::parse
returns an object with the arguments added into groups.ts-command-line-args
ignores every group except for_all
, which makes sense, but doesn't work when also trying to usestopAtFirstUnknown
. This change simply adds the_unknown
arguments back in this case, and adds some test cases to cover the issue.