niieani / bash-oo-framework

Bash Infinity is a modern standard library / framework / boilerplate for Bash
https://github.com/niieani/bash-oo-framework/discussions
MIT License
5.57k stars 247 forks source link

Added option object to create option menus. #60

Open constrict0r opened 6 years ago

constrict0r commented 6 years ago

Creates an Option object to handle option menus.

On the inside uses map.

Allows option and option menus creation, deletion, update, serialize, unserialize, import defaults, argument handling with getopts and GUI display with yad.

For the moment only allows one word option values (fixing soon) and I feel the execution a little slow (added fast functions to deal with this).

Screenshot: https://i.imgur.com/B5vw0AA.png