Nemo's Parental Misguidance
Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

pushfile

0.5.0 • Public • Published

pushfile

A node.js command line application that pushes a file to S3 and gives you a URL. Files are public by default.

Build Status Dependency Status devDependency Status NPM Version

Installation

To install PushFile, simply run npm install -g pushfile. This will install pushfile globally on your machine.

Create a Config File

To create a config file, just run pushfile --configuration or copy the example config file to your home directory and rename it .pushfile.json.

AWS Credentials

You can go here to get your AWS credentials.

Usage

Once your configuration file is created pushing files to S3 is simple:

$ pushfile /path/to/file.ext

To create a unique file name, you can use the -u flag:

$ pushfile -u /path/to/file.ext

Changelog

0.4 - Replaced Optimist with nomnom for command line args parsing. Bumped all versions and updated AWS SDK to use upload instead of push.

0.3 - Implenmeted PushFile using the native AWS SDK instead of out-dated package

0.2 - Implemented feature that turns all pushed files public by default.

Keywords

none

install

npm i pushfile

Downloadsweekly downloads

11

version

0.5.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability