Skip to content

Latest commit

 

History

History

readme

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

@hugojosefson/run-simple

Simple run function to execute shell commands in Deno.

Returns a Promise of what the command printed. Rejects with status if the command fails.

JSR Version JSR Score CI

Requirements

Requires Deno v1.46.3 or later. Version 2+ is recommended.

API

Please see docs on jsr.io/@hugojosefson/run-simple.

Installation

"@@include(./install.sh)";

Example usage

"@@include(./example-usage.ts)";

You may run the above example with:

deno run --allow-run ./example-usage.ts

Or directly from here:

deno run --allow-run --reload jsr:@hugojosefson/run-simple/example-usage