@substrate/playground-cli
v2.3.1
Published
Substrate Playground CLI
Downloads
8
Maintainers
Keywords
Readme
A simple CLI allowing to locally start a playground template. Docker must be available on the local machine.
Usage
npm install -g @substrate/playground-cli
substrate-playground
# or
npx @substrate/playground-cli
Options
By default a headless docker image is started and can be manipulated via the current terminal.
A web based IDE will be launched if the --web
option is provided.
The template selection can be bypassed using the --template
option.
Finally the environment used to fetch the template list can be set using --env
. It defaults to staging
.
substrate-playground --web --template=node-template
Publish
git pull --rebase
yarn clean && yarn && yarn build
yarn login
yarn publish
Development
yarn
node index.js