Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

calabash

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

calabash

Calabash offsers a shortcut for bash command-lines

  • 0.1.2
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
6
increased by50%
Maintainers
1
Weekly downloads
 
Created
Source

Calabash offsers a shortcut for bash command-lines

Bash is both a great and a mad tool.

Calabash calls Bash commands from CoffeeScript. And make it easier to be used in small tasks.

Usage

You may install this from NPM:

sudo npm install -g calabash

And use it togather with node-dev to run commands at background:

require("calabash").do "first parameter as comment",
  "pkill -f doodle"
  "coffee -o lib/ -wbc coffee/"
  "jade -o build/ -wP layout/"
  "style -o build/ -w layout/"
  "node-dev server.coffee"
  "doodle build/"

Or just run in an Array:

require('../coffee').run [
  'echo 1'
  'echo 2'
]

With v0.1.0 new syntax is availale to add tasks in dev.coffee:

bash = require 'calabash'
bash.add 'task lily',
  'echo lily'
bash.add 'task ted',
  'echo ted'
bash.go()

and trigger a special task with coffee dev.coffee lily.

It would be better to use it with node-dev to enable reloading.

License

MIT

Keywords

FAQs

Package last updated on 20 Feb 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc