### Is there an existing issue for this? - [X] I have searched the existing issues ### Current behavior Running `nest g resource aa bb cc dd ee` creates `aa` resource in `bb` folder, silently ignoring trailing arguments. ### Minimum reproduction code https://gist.github.com/Pipeliner/bdbdb1a0813ce3fe14ae0c5a35c158ed ### Steps to reproduce _No response_ ### Expected behavior An error message and non-zero return code. ### Package version 8.2.0 ### NestJS version 8.2.6 ### Node.js version _No response_ ### In which operating systems have you tested? - [ ] macOS - [ ] Windows - [X] Linux ### Other _No response_