Skip to content

Latest commit

 

History

History
57 lines (49 loc) · 918 Bytes

pwr-usage.md

File metadata and controls

57 lines (49 loc) · 918 Bytes

Example PWR CLI usage:

Migration

After running pwrup, you have to run pwr migrate to migrate your configuration to the latest version.

Running pwr apps

From wrapscan.io

To run a pwr app from wrapscan.io, run:

pwr wrapscan.io/pwr/say-hello

From wrappers.dev

To run a pwr app from wrappers.dev, run:

pwr @pwr/say-hello
pwr https/wrappers.dev/u/pwr/say-hello

Local directory

To run a pwr app from a local directory (e.g. ./build), run:

pwr ./build
pwr fs/build

From IPFS

To run a pwr app from IPFS, run:

pwr ipfs/Qm...
pwr Qm...
pwr ipfs://Qm...

From ENS

To run a pwr app from ENS, run:

pwr ens/say-hello.eth
pwr say-hello.eth

Passing arguments to pwr apps

To pass arguments to a pwr app add them after the WRAP URI, e.g.:

pwr ./build arg1 arg2