jonschlinkert / copy

Copy files using glob patterns. Sync, async, promise or streams. (node.js utility)
MIT License
94 stars 125 forks source link

request: add option `--cwd` to CLI #11

Closed alexander-akait closed 7 years ago

mummybot commented 8 years ago

+1

jonschlinkert commented 8 years ago

pr?

mummybot commented 8 years ago

Lol, sorry :) I'm busy ATM (about to go on holiday for three months), so don't have time. Sorry for poking when I can't actually be of any help :/

alexander-akait commented 8 years ago

@mummybot if i do PR, i will can review and merge?

jonschlinkert commented 8 years ago

how should cwd behave when used from the CLI? Should it be the same as non-cli usage? should it only be used for source patterns? or should it also be used for dest?

alexander-akait commented 8 years ago

@jonschlinkert for source and dest, if i use cwd build directory, all operation doing relative build directory

jonschlinkert commented 8 years ago

Ok, if you get a chance can you pull this down and test it locally? Let me know if this is what you want.

I'll add --silent support too

mummybot commented 8 years ago

Sorry guys, I'm holiday for a bit... Running around Africa in a four by four. If you need, send a PR and I can look in a week or so.

On 11 Aug 2016 14:43, "Jon Schlinkert" notifications@github.com wrote:

Ok, if you get a chance can you pull this down https://github.com/jonschlinkert/copy/tree/cli-cwd and test it locally? Let me know if this is what you want.

I'll add --silent support too

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jonschlinkert/copy/issues/11#issuecomment-239149774, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGeDRmXeD9tspr0GwHORovjkr2Sr_WSks5qexjigaJpZM4JCNte .