Skip to main content

Polywrap CLI

npm

Command line interface for building with Polywrap.

Installation#

npm install @web3api/cli
tip

Node v16 and above is recommended.

Usage#

To list available commands, run the help command:

w3 --help

The following menu will appear in your terminal window:

w3 version 0.0.1-prealpha.77
w3 ๐Ÿ”ฅ Web3API CLI ๐Ÿ”ฅ
help (h) -
test-env (t) Manage a test environment for Web3API
query (q) Query Web3APIs using recipe scripts
plugin (p) Build/generate types for the plugin
deploy (b) Deploys/Publishes a Web3API
create (c) Create a new project with w3 CLI
codegen (g) Auto-generate API Types
build (b) Builds a Web3API
app (a) Build/generate types for your app

To learn about each command, simply add --help after the command name to be given a full description of the options available:

w3 build --help