Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@substrate/playground-cli

Package Overview
Dependencies
Maintainers
12
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@substrate/playground-cli

Substrate Playground CLI

latest
Source
npmnpm
Version
2.3.1
Version published
Maintainers
12
Created
Source

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

FAQs

Package last updated on 23 Mar 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts