Project

swift_file

0.0
No commit activity in last 3 years
No release in over 3 years
Upload a file to the SwiftFile service
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0

Runtime

>= 0
>= 1.6
 Project Readme

SwiftFile

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.

Installation

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:

gem 'swift_file'

And then execute:

$ bundle

Command-line Usage

swift_file -h

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.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request