easy-s3
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

easy-s3

Easy folder syncing to S3

Version CircleCI Appveyor CI Codecov Downloads/week License

Usage

$ npm install -g easy-s3
$ easy-s3 COMMAND
running command...
$ easy-s3 (-v|--version|version)
easy-s3/1.0.0 linux-x64 node-v10.6.0
$ easy-s3 --help [COMMAND]
USAGE
  $ easy-s3 COMMAND
...

Commands

easy-s3 help [COMMAND]

display help for easy-s3

USAGE
  $ easy-s3 help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

easy-s3 sync FROM TO

sync a folder to s3

USAGE
  $ easy-s3 sync FROM TO

ARGUMENTS
  FROM  The local or S3 folder to sync from.
  TO    The local or S3 folder to sync to.

OPTIONS
  -a, --acl=public-read|private    (required) [default: public-read] The access control list permissions to apply when
                                   syncing.

  -c, --profilesFile=profilesFile  (required) [default: /home/travis/.aws/credentials] AWS profiles file to be used.

  -h, --help                       show CLI help

  -m, --maxAge=maxAge              (required) [default: 86400] The maximum age to be applied to the `CacheControl`
                                   header for uploaded objects.

  -p, --profile=profile            (required) [default: default] AWS profile in the credentials file to be used.

  -r, --region=region              (required) [default: us-east-1] AWS region the S3 bucket is contained within.

EXAMPLE
  $ easy-s3 sync static s3://s3.myapp.com/static
  Uploading files...

See code: src/commands/sync.ts

Readme

Keywords

Package Sidebar

Install

npm i easy-s3

Weekly Downloads

4

Version

1.0.0

License

MIT

Unpacked Size

17.2 kB

Total Files

15

Last publish

Collaborators

  • benhjames