Skip to content

Pice.runAsync()

paige edited this page Jan 18, 2024 · 1 revision

Info:

Type Return Type
runs a given command

Function Async

PiceCommand

Arguments:

  • ?cmd String
    name of the command you want to run
  • ?args Object
    arguments for the command
    possible arguments:
  • sync Boolean: if it'll run the command synchronously or not (dominant over async)
  • async Boolean: if it'll run the command asynchronously or not


JS
const pice = require('pice');

pice.runAsync("npm install @stews/soup");


Pice Docs

πŸ›ˆ Pice

Methods



πŸ›ˆ PiceCommand

Methods

Properties


Clone this wiki locally