easy-s3
v1.0.0
Published
Easy folder syncing to S3
Downloads
8
Readme
easy-s3
Easy folder syncing to S3
Usage
$ npm install -g easy-s3
$ easy-s3 COMMAND
running command...
$ easy-s3 (-v|--version|version)
easy-s3/0.2.1 darwin-x64 node-v10.1.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: /Users/benjames/.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