Project

shabang

0.0
No commit activity in last 3 years
No release in over 3 years
Trivial convenience app for generating bin/executable unix utilites in scriping language of your choice, defaulting to ruby, because. I often forget the exact form and go to copy an existing one, this just saves me the effort, and anyone else who has the same issue.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies
 Project Readme

Shabang

Trivial convenience app for generating bin/executable unix utilites in scriping language of your choice, defaulting to ruby, because. I often forget the exact form and go to copy an existing one, this just saves me the effort, and anyone else who has the same issue.

Installation/Usage

Do not add this to your application's Gemfile; This does not belong in a gemfile.

All it does is give you an executable command (a pair of them actually, for both spellings, shabang and shebang) which takes a filename and creates that file, with a ruby shebang and executable permissions, at ./bin/FILENAME

There are some options for other paths and other options, but I doubt you'll need them. This is mostly to solve the problem of forgetting the syntax #!/usr/bin/env language-executable

Contributing

  1. Fork it ( https://github.com/[my-github-username]/shabang/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request