Skip to content

CodeEnPlace/sherry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sherry

Javascript shell multi-tool

Example

import $ from "@codeenplace/sherry";

const currentGitHash = await $("git", "rev-parse", "HEAD");

for await (const commitInfo of $("git", "log")) {
  console.log({ commitInfo });
}

await $({ env: { NODE_ENV: "production" } })("npm", "run", "build");

await $("ls", "|", "rev");

await $("npm", "run", "build", {
  "--setting-one": true,
  "--setting-two": false,
  "--setting-three", "fooBarBaz"
});

About

JavaScript multi tool

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors