Skip to content

bashUtils is a bash library for handling all sorts of contexts, e.g.: arrays, version, etc.

License

Notifications You must be signed in to change notification settings

athena-oss/bashutils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bashUtils Build Status

bashUtils is a bash library for handling all sorts of contexts, e.g.: arrays, versioning, etc.

The purpose of this project is to have a single library/repo that contains all the bash functions that are reusable in multiple bash-based projects.

Quick start

Prerequisites

  • You have a bash shell.

There are three quick start options available:

Using it on your project with bashog

Add the file feed.hog to the root of your project with the following content :

  • When you want a specific version :
[bashutils]
url=athena-oss/bashutils
version=0.3.0
lib_dir=lib
  • With the latest master version :
[bashutils]
url=https://github.com/athena-oss/bashutils.git
lib_dir=lib

Run basHog in the root of the project

$ bashog

Include/Source the autoloader in your project with the following line :

source "vendor/autoloader"

Use the functions :

if bashutils.type.is_integer "a" ; then
	...
fi

Contributing

Checkout our guidelines on how to contribute in CONTRIBUTING.md.

Versioning

Releases are managed using github's release feature. We use Semantic Versioning for all the releases. Every change made to the code base will be referred to in the release notes (except for cleanups and refactorings).

License

Licensed under the Apache License Version 2.0 (APLv2).

About

bashUtils is a bash library for handling all sorts of contexts, e.g.: arrays, version, etc.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages