Skip to main content

Run command

Makes the user execute a command in the terminal.

Usage

runCommand(command);

So on the command you need to put a string.

Example

const { runCommand } = require("argonium/lib");

runCommand("npm install argonium");

Should execute

npm install argonium