0.0
No commit activity in last 3 years
No release in over 3 years
It provides a command line interface that allows file upload to share-now.me .
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.16
~> 10.0
~> 3.0

Runtime

 Project Readme

SharenowCli

sharenow-cli is a gem that provides cli that can upload files from the command line to the file upload service share-now

Installation

$ gem install sharenow_cli

Setup

$ export SHARENOW_API_TOKEN="YOUR_API_TOKEN"

Register account with share-now.me and create API token

Usage

basic usage

Please specify the file path you want to register as the first argument.

$ sharenow push './sample.rb' -t 'title' -d 'description' -l 3

Multiple files can be specified

$ sharenow push './foo.rb ./bar.rb' -t 'title' -d 'description' -l 3
$ sharenow push './.*rb' -t 'title' -d 'description' -l 3

options

-t, --title           set a title of the file
-d, --desc            set a description of the file
-l, --delete_limit    set deletion deadline up to 90 days. If not set it will not be deleted.

License

The gem is available as open source under the terms of the MIT License.