2.1.1 • Published 2 years ago

@foo-software/s3-directory-sync-cli v2.1.1

Weekly downloads
2
License
MIT
Repository
github
Last release
2 years ago

@foo-software/s3-directory-sync-cli

A CLI to sync a local directory with an AWS S3 bucket. Example usage could involve an automated deployment of a serverless web app. This command essentially uploads a folder to a bucket.

Install

For use within a project:

npm install @foo-software/s3-directory-sync-cli --save-dev

For global use:

npm install @foo-software/s3-directory-sync-cli -g

Usage

Command line:

s3-directory-sync \
  --S3_DIRECTORY_SYNC_ACCESS_KEY_ID abcdef \
  --S3_DIRECTORY_SYNC_BUCKET ghijkl \
  --S3_DIRECTORY_SYNC_LOCAL_DIRECTORY build \
  --S3_DIRECTORY_SYNC_SECRET_ACCESS_KEY mnopqr \
  /

In a project package.json (assuming environment variables like S3_DIRECTORY_SYNC_ACCESS_KEY_ID=abcdef):

{
  "scripts": {
    "deploy": "s3-directory-sync"
  }
}

Parameters

Parameters can either be passed in the command line as arguments or as environment variables.

Credits

This package was brought to you by Foo - a website quality monitoring tool. Automatically test and monitor website performance, SEO and accessibility with Lighthouse. Analyze historical records of Lighthouse tests with automated monitoring. Report with confidence about SEO and performance improvements to stay on top of changes when they happen!

2.1.1

2 years ago

2.1.0

3 years ago

2.0.0

3 years ago

1.0.2

3 years ago

0.1.0

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago