Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
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

  • 2.3.1
  • latest
  • Source
  • npm
  • Socket score

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc