Code Monkey home page Code Monkey logo

bashwithnails's Introduction

Bash With Nails

Build Status

Bash With Nails (rhymes with ruby on rails) is a bash framework written for fun and profit.

I'm kidding about the fun and profit part.

It has:

  • loading of bash function collections in separate "modules".
  • dependency management and automatic loading of relevant "modules".
  • separate "modules" can have separate "namespaces", prefixing function names and non-global variables, e.g. mymodule::myfunction.
  • if you want to refer to your own namespace, you can use this::myfunction in your module.
  • named function parameters, e.g. function myfunction(a b c) { echo "$a $b $c"; }.
  • weak OOP support, e.g. oop::new oop_demo '1 2' 'obj_one'; oop::new oop_demo '3 4' 'obj_two'; oop::call 'obj_one' sum ""; oop::call 'obj_two' sum ""; oop::destroy 'obj_two' ''
  • modules can be downloaded from the repository (as seen in sample_repo folder)
  • tests of unit kind, kind of :) (yes, it works with travis)

see Docs or clone and run for more information.

How to run

./app.sh

and see all the magic described above happen.

Why "with nails"?

Because

cursed hammer

So it's only natural you want nails with that. Or you can keep on bashing your thumbs - it's a free world!

bashwithnails's People

Contributors

mindaugasbarysas avatar trylika avatar

Stargazers

Vitor avatar  avatar Janusz Dziurzyński avatar  avatar Jody avatar Dan Stewart avatar Dave avatar  avatar Julian Xhokaxhiu avatar Can Bican avatar Edwin Kofler avatar Batuhan Wilhelm avatar Jeffrey H. Johnson avatar André Souza avatar Michael Bøcker-Larsen avatar Antonio Villamarin avatar  avatar Avinash A K avatar dai avatar Bryan Culver avatar Elijah Wright avatar Chris Hart avatar Alix Axel avatar Montana Flynn avatar Logan Holmes avatar Linas Klimaitis avatar Jakub Janarek avatar Alvaro Pareja-Lecaros avatar Nikolay Kolev avatar  avatar Mike de Heij avatar Tim Uckun avatar  avatar  avatar

Watchers

 avatar James Cloos avatar  avatar  avatar  avatar

bashwithnails's Issues

More hot assertions

  • assert contains
  • assert begins with
  • assert more
  • assert less
  • assert ends with

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.