sindresorhus / cpy-cli

Copy files
MIT License
345 stars 33 forks source link

I wrestled with this api for like 30m. How do you do a `cp` style copy. #24

Closed mayeaux closed 4 years ago

mayeaux commented 4 years ago

Seriously I'm not even using this module anymore I just want to know.

This is as close as I got after 30 minutes: $ cpy .env.settings.sample cwd --rename .env.settings

Thanks

mayeaux commented 4 years ago

I want the file in the cwd not a folder /cwd. Using . as a value doesn't work how do you specify the cwd()?

mayeaux commented 4 years ago

.env.settings was already made as a folder