Package Exports
- chrome-webstore-upload-cli
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (chrome-webstore-upload-cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Web Store Upload CLI
A CLI wrapper around the Web Store Upload module.
Install
## Globally
npm install -g chrome-webstore-upload-cli
## In a project
npm install --save-dev chrome-webstore-upload-cliUsage
$ webstore --help
CLI Utility to quickly upload + publish extensions to the Chrome Web Store
Usage
$ webstore <command>
where <command> is either both or one of
upload, publish
Options
--extension-id The ID of the Chrome Extension
--client-id OAuth2 Client ID
--client-secret OAuth2 Client Secret
--refresh-token OAuth2 Refresh Token
Options (alternative)
All options can be set through environment variables, using the constant-cased name of the option
Examples
Upload new extension archive to the Chrome Web Store
$ webstore upload 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)
$ webstore publish --client-id elomekmlfonmdhmpmdfldcjgdoacjcba