ask-cli
#
Usagenpx pl-ask-cli xxx
#
initinitialize a ask project with node packages and create directory structure
npx pl-ask-cli init
Will create the directory structure like
projectβ package-lock.json |ββββnode_modulesβββββcontracts
#
compilenpx 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.json
For 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