Commit graph

5 commits

Author SHA1 Message Date
ayakael
d20bc4e986
Renamed config.sh to cfg.sh to match function name
Fixed code-breaking bugs for cfg.sh for all base functions (i.e not dispatcher functions)
Added test file for cfg function for all base functions (i.e not dispatcher functions)
2018-01-11 10:09:00 -09:00
ayakael
8e5a75dd47
Added first draft, pre-testing version of the config function,
which aims to make querying and configuring scripts in bash
not a pain in the ass.
2018-01-09 00:10:57 -09:00
ayakael
fca165b274
* Changed name for _log function to _msg, added bail() function.
* Created _ansi function library to set terminal properties like
  cursor position and text color.
* Created _if function library, a set of simple if statements.
  Added _if_array_contains, _if_is_integer, _if_is defined,
  if_has_value
2018-01-06 20:30:09 -09:00
ayakael
5f446594ee
Fixed faulty sanity check in _color() 2018-01-06 00:26:35 -09:00
ayakael
79bfb447ea
Functionalized color mangement 2018-01-05 21:02:41 -09:00