Skip to content

vaclavbenes/cmd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deno cmd 🦖

Write simple shell command like a string

Bash

ls .

Deno cmd

cmd("ls .")

Load script

import { cmd } from "https://raw.githubusercontent.com/vaclavbenes/cmd/master/mod.ts";

Write like a script line by line with await

const { code } = await cmd("ls .");
console.log(code)
const { code, stdout, stderr } = await cmd("ls .", "piped""piped");
console.log(code);

About

Deno better command line

Resources

Stars

Watchers

Forks

Packages

No packages published