@liquid-labs/bash-toolkit

1.0.0-alpha.61 • Public • Published

== bash-toolkit

A collection of useful bash functions.

== Usage

=== For npm packages

npm install @liquid-labs/bash-toolkit

Include the following in the prepare script (or, as we do, include build and call from prepare; so long as it's in the process):

npm  exec catalyst-bash-import

=== Non-npm usage

The script doesn't currently support usage outside the npm ecosystem.

=== In your code

Now, in your bash script, include the line:

import the-function-path

If the name alone is not ambiguous, you can use it, or just get in the habit of including the folder hierarchy / scoped names; e.g.:

import files/find_exec

The bash-import will inline the library function at that point.

CAVEATS The bash source code must currently be in bash.

Readme

Keywords

Package Sidebar

Install

npm i @liquid-labs/bash-toolkit

Weekly Downloads

0

Version

1.0.0-alpha.61

License

ISC

Unpacked Size

197 kB

Total Files

29

Last publish

Collaborators

  • zanerock