Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow user to control the filename #15

Merged
merged 3 commits into from Apr 1, 2017
Merged

Conversation

wong2
Copy link
Contributor

@wong2 wong2 commented Mar 26, 2017

by add a new option filename

@sindresorhus
Copy link
Owner

What problem are you trying to solve with this option?

@wong2
Copy link
Contributor Author

wong2 commented Mar 26, 2017

@sindresorhus my application need to download a binary file from the network, and the binary files have different names for each platform, so it will be convenient if I can set the full file path by myself, instead of rename the file after download.

@sindresorhus
Copy link
Owner

@wong2 Why not make this a filename option then? There's already a directory option.

@wong2
Copy link
Contributor Author

wong2 commented Mar 26, 2017

@sindresorhus ok, updated.

@wong2 wong2 changed the title Allow user to control the file path Allow user to control the file name Mar 26, 2017
@wong2
Copy link
Contributor Author

wong2 commented Mar 27, 2017

ping @sindresorhus

@sindresorhus sindresorhus changed the title Allow user to control the file name Allow user to control the filename Mar 31, 2017
@sindresorhus sindresorhus merged commit 726c655 into sindresorhus:master Apr 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants