Displaying 1 to 20 from 39 results

closh - Bash-like shell based on Clojure

  •    Clojure

Closh combines the best of traditional unix shells with the power of Clojure. It aims to be a modern alternative to bash. Warning: Closh is still in a early stage and under a heavy development. It is not ready for daily use yet since it is quite easy to get it to crash. At this moment I am most interested in gathering feedback and use cases to help make the best possible design trade-offs. Closh is tested on Linux, should run on macOS too. Windows who knows.

concurrently - Run commands concurrently. Like `npm run watch-js & npm run watch-less` but better.

  •    Javascript

Run multiple commands concurrently. Like npm run watch-js & npm run watch-less but better. I like task automation with npm but the usual way to run multiple commands concurrently is npm run watch-js & npm run watch-css. That's fine but it's hard to keep on track of different outputs. Also if one process fails, others still keep running and you won't even notice the difference.

m-cli -  Swiss Army Knife for macOS

  •    Shell

guarinogabriel/Mac-CLI was a great source of inspiration.

shx - Portable Shell Commands for Node

  •    Javascript

shx is a wrapper around ShellJS Unix commands, providing an easy solution for simple Unix-like, cross-platform commands in npm package scripts.This will allow using shx in your package.json scripts.




shml - SHell Markup Language | Style Framework for The Terminal

  •    Shell

SHML is a shell framework for faster and easier script development. HTML has CSS, terminals have "ANSI/VT100 Control Sequences". SHML makes is easy to apply some style to your shell scripts without trying to remember that Yellow = \033[33m instead Yellow is $(color yellow).

nshell - scriptable command-line shell written with node.js

  •    Javascript

A work-in-progress scriptable shell written with node (replacing bash, ksh, etc).Just started this as a quick proof of concept, but it's kinda fun! Keep in mind this is not an attempt to become a POSIX shell.

run-node - Run the Node.js binary no matter what

  •    Shell

You can't always assume running $ node file.js will just work. The user might have the node binary in a non-standard location. They might be using a Node.js version manager like nvm, which is sourced in a subshell and not available from the outside. It also depends from where you're trying to run it. For example, GUI apps on macOS doesn't inherit the $PATH, so the node binary would not be found. Most projects that depend on Node.js just end up telling the user to manually set the full path to the node binary in some project specific settings. Now every project has to do this. Ugh... I prefer things to just work. With this module it will.This Bash script uses some tricks to find the Node.js binary on your system and run it.


shell-env - Get environment variables from the shell

  •    Javascript

Especially useful for Electron/NW.js apps as GUI apps on macOS doesn't inherit the environment variables defined in your dotfiles (.bashrc/.bash_profile/.zshrc/etc).Return a promise for the environment variables.

shell-history - Get the command history of the user's shell

  •    Javascript

Get an array of commands.On Windows it will always be an empty array as command history is not persisted there.

shell-path - Get the $PATH from the shell

  •    Javascript

Useful for Electron/NW.js apps as GUI apps on macOS doesn't inherit the $PATH defined in your dotfiles (.bashrc/.bash_profile/.zshrc/etc).Return a promise for the $PATH.

pretty-time-zsh - Convert seconds to a human readable string: 165392 → 1d 21h 56m 32s

  •    Shell

Install with npm or Antigen, clone this repo, or just download the pretty-time.zsh file.Add zgen load sindresorhus/pretty-time-zsh to your .zshrc and run zgen reset.

fix-path - Fix the $PATH on macOS when run from a GUI app

  •    Javascript

Useful for Electron/NW.js apps as GUI apps on macOS doesn't inherit the $PATH defined in your dotfiles (.bashrc/.bash_profile/.zshrc/etc).

highlight-bash-syntax - highlight bash syntax with html

  •    Javascript

Return a string of html from a string of bash src.

highlight-syntax - highlight source code syntax with html

  •    Javascript

Or you can load a subset of languages. This will make the bundle you deliver to the browser smaller.Turn a string of code src written in opts.lang to a syntax-highlighted string of html. If opts is a string, it is interpreted as the opts.lang.

js-shell-parse - parse bash, with javascript (UNMAINTAINED)

  •    Javascript

If you want to help, there's a whole bunch of failing test fixtures (borrowed from the lovely [shellcheck](https://github.com/koalaman/shellcheck project)). You can start with reading the grammar. The grammar defines how text will be matched, while the corresponding rule callbacks in overrides.js defines the way those matches will be processed into AST nodes. Be sure to read the comments as there's a tiny bit of magic going on. If you get stuck trying to fix a test case, email me. GitHub issue notifications almost never get my attention.

executive - 🕴Elegant command execution for Node.

  •    CoffeeScript

Executive is a simple library which provides a more intuitive interface to child_process.spawn. Very useful with build tools and task runners. Async and sync command execution with built-in control flow for executing multiple commands and collecting results. No need to echo as stderr and stdout are piped by default.