0.2.0 • Published 2 years ago
dispersed-cli v0.2.0
dispersed-cli
A command line tool for working with the Dispersed Network.
Installation
npm install dispersed-cli
Usage
Creating a Bundle
Once a site has been built and is ready for bundling, run the following command to generate a Dispersed Network compatible tarball:
npx dispersed bundle <archive> <build-dir>
Example: npx dispersed bundle mysite.tgz ./dist
Note that running bundle
will also print the SHA256 checksum of the archive, which is needed for publishing the site to the Dispersed Network.