rmei / bashlib

module-management tools for bash extensions (and some bash extensions)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

shlib

I want to support simple modules for bash code, with both dependency declaration and inline documentation

my requirements

  • clean

    I don't ever want to reload code unless I explicitly request to do so.

  • lightweight

    Prefer functions; aim for zero process creation whenever possible.

  • unobtrusive

    DO NOT pollute the ALLCAPS region of the environment variable namespace.

  • portable

    It's using bash, so that's a restriction, but it should run on Darwin's bash, common Linux flavors, cygwin, etc.

  • robust

    Absence of this code should cause as little disruption as possible.

  • lucid

    Usage of this code should be easy to make clear and readable.

None of the existing toolkits I can find out there have all of these, so it's roll-my-own time.

About

module-management tools for bash extensions (and some bash extensions)


Languages

Language:Shell 100.0%