0.0.3 • Published 9 years ago

shcoffee v0.0.3

Weekly downloads
4
License
MIT
Repository
github
Last release
9 years ago

shcoffee npm.io

Easily use CoffeeScript for global ShellJS scripts without .coffee extension.

Install

First make sure you have ShellJS installed globally:

npm install -g shelljs

Then install shcoffee:

npm install -g shcoffee

Example

Create a file with the below contents and call it "hello":

#!/usr/bin/env shcoffee
require 'shelljs/global'
echo 'hello'
exit 1

Make it executable:

$ chmod +x hello

Then run it!

$ ./hello
hello

License

MIT

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago