Roaders / ts-command-line-args

A typescript wrapper for command-line-args that allow you to generate config from existing TS interfaces
26 stars 11 forks source link

Using `multiple: true` in combination with `alias` #46

Open dan-covaliu opened 3 months ago

dan-covaliu commented 3 months ago

From the readme file examples, if we use the alias 'e' for the excludePaths?: string[], then when we run

$ node exampleConfig.js --sourcePath source --targetPath target --filter src -e=one -e=two we get an error. Though $ node exampleConfig.js --sourcePath source --targetPath target --filter src -e one two seems to work