electronade-command
electronade-command is an npm package that provides the feature about command execution for electronade.
See electronade page for the structures of electronade packages
.
install
npm install electronade-command
exposed
electronade: {
command: {
execute: (commandLine: string) => Promise<string>;
}
}
usage
console.log(
await electronade.command.execute("ls")
);