This gem provides an interface for uploading files to the SwiftFile service. There is support for uploading via the command line via the supplied executable
swift_file as well as a basic API for adding support to your own classes.
Most likely you will want to simply install the gem:
$ gem install swift_file
Or to use this in your projects, add this line to your application's Gemfile:
And then execute:
Usage: swift_file [options] file1 file2 ... -g, --group GROUP Add this file to a group -e, --expires EXPIRY Set the length of time until this file expires [1m 1w 1d 1h] -p[PASSWORD] Supply a password to encrypt the file.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Add some feature')
- Push to the branch (
git push origin my-new-feature)
- Create new Pull Request