here is a little plugin to upload files to flag.io.
usage: upload <file> [<file> ...]
I am not sure about curl. Is it installed on OS X by default?
Added flag.io plugin
Renamed $path into $file
flag.io is down for some weeks now. i'll close this pull request.