sindresorhus/cpy-cli

Command lines with multiple sources fail in v3.0.0

Closed this issue · 1 comments

After upgrading from 2 to 3, the following command fails:

$ cpy CHANGELOG.md CLASSES.md LICENSE README.md dist/
Cannot copy `CHANGELOG.md,CLASSES.md,LICENSE,README.md`: the file doesn't exist

Nope. Not a bug. The CLASSES.md and LICENSE files were removed when I rearranged the packages into a monorepo, so they don't exist and the command fails. The error message is a little confusing, though.