pear-stage-next
v1.2.5
Published
Stage local folder to Hyperdrive
Readme
pear-stage-next
Stage a local folder to a Hyperdrive.
Install
npm install pear-stage-nextCLI
pear-stage-next [flags]| Flag | Description |
| --------------------- | ------------------------------------------------------------------------ |
| --touch | Create a new staging key and print its pear link |
| --key <key> | Target Hyperdrive key to stage into |
| --target <path> | Local directory to stage (defaults to cwd) |
| --storage <storage> | Path to Corestore storage |
| --seed-time <ms> | After staging, seed the drive over Hyperswarm for this many milliseconds |
| --version | Print the version |
Workflow
1. Create a staging key
pear-stage-next --storage ./store --touch
# pear://abc123...2. Stage a local folder into the drive
pear-stage-next --storage ./store --key pear://... --target ./my-app3. Stage and seed
pear-stage-next --storage ./store --key abc123... --target ./my-app --seed-time 30000License
Apache-2.0
