ask-cli
Usage#
npx pl-ask-cli xxxinit#
initialize a ask project with node packages and create directory structure
npx pl-ask-cli initWill create the directory structure like
projectβ package-lock.json |ββββnode_modulesβββββcontractscompile#
npx pl-ask-cli compile source-file [--debug|--release]By default, npx pl-ask-cli compile will compile in release mode.
For example, npx pl-ask-cli compile contracts/index.ts will yield.
projectβ package-lock.json |ββββnode_modulesβββββcontractsβ βββ index.tsβ βββ erc20.tsβββββbuildβ βββ index.wasmβ βββ metadata.jsonFor example, npx pl-ask-cli compile contracts/index.ts --debug will yield.
projectβ package-lock.json |ββββnode_modulesβββββcontractsβ βββ index.tsβ βββ erc20.tsβββββbuildβ ββββextensionβ β ERC20.ts β β index.tsβ βββ index.wasmβ βββ metadata.jsonβ βββ index.wast