Skip to content
This repository has been archived by the owner on Dec 17, 2022. It is now read-only.

Add formatter option #11

Open
twolfson opened this issue Nov 25, 2013 · 1 comment
Open

Add formatter option #11

twolfson opened this issue Nov 25, 2013 · 1 comment

Comments

@twolfson
Copy link
Owner

Sometimes we receive data in a format than when we want to save it to disk. It can be usually it piped into another grunt task but not always. We should add a new option for this:

curl: {
  src: {...},
  dest: ...,
  formatter: function (res, body, cb) {
    cb(JSON.stringify(body));
  }
}

This issue was created as a side effect of #10

@m4w
Copy link

m4w commented Jun 2, 2015

This would be still very helpful. Please add this function.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants