How to use the pxt-core.mainCli function in pxt-core

To help you get started, we’ve selected a few pxt-core examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github microsoft / pxt-microbit / clients / electron / main.js View on Github external
function startServerAndCreateWindow() {
  pxt.mainCli(cliPath, ["serve", "-no-browser"])
  createWindow()
}

pxt-core

Microsoft MakeCode provides Blocks / JavaScript / Python tools and editors

MIT
Latest version published 13 hours ago

Package Health Score

80 / 100
Full package analysis