3.1.0 • Published 4 months ago

chrome-webstore-upload-cli v3.1.0

Weekly downloads
10,677
License
MIT
Repository
github
Last release
4 months ago

chrome-webstore-upload-cli

Upload/Publish Chrome Web Store extensions from the CLI

A CLI wrapper around the Web Store Upload module.

Install

npm install chrome-webstore-upload-cli

Setup

You will need a Google API clientId, clientSecret, and a refreshToken. Read the guide.

You can also automatically upload your extension on:

Usage

$ chrome-webstore-upload --help

  CLI Utility to quickly upload + publish extensions to the Chrome Web Store

  Usage
    $ chrome-webstore-upload <command>

  where <command> is one of
      upload, publish

  Options
    --source          Path to either a zip file, or a directory to be zipped (Defaults to cwd if not specified)
    --extension-id      The ID of the Chrome Extension (environment variable EXTENSION_ID)
    --client-id         OAuth2 Client ID (environment variable CLIENT_ID)
    --client-secret     OAuth2 Client Secret (environment variable CLIENT_SECRET)
    --refresh-token     OAuth2 Refresh Token (environment variable REFRESH_TOKEN)
    --auto-publish      Can be used with the "upload" command
    --trusted-testers   Can be used with the "publish" command

  Examples
    Upload new extension archive to the Chrome Web Store
    $ chrome-webstore-upload upload --source extension.zip --extension-id $EXTENSION_ID --client-id $CLIENT_ID --client-secret $CLIENT_SECRET --refresh-token $REFRESH_TOKEN

    Publish extension (with CLIENT_ID, CLIENT_SECRET, and REFRESH_TOKEN set as env variables)
    $ chrome-webstore-upload publish --extension-id elomekmlfonmdhmpmdfldcjgdoacjcba

Examples

The following projects use this package to facilitate auto-deployment of extensions

Related

3.1.0

4 months ago

3.0.1-0

4 months ago

3.0.0

5 months ago

2.2.2

10 months ago

2.2.1

11 months ago

2.2.0

1 year ago

2.1.0

2 years ago

2.0.1

3 years ago

2.0.0-1

3 years ago

2.0.0

3 years ago

2.0.0-0

3 years ago

1.2.2

3 years ago

1.2.1

3 years ago

1.2.0

6 years ago

1.1.1

7 years ago

1.1.0

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago

0.2.0

8 years ago

0.1.0

8 years ago