Equals-based Serialization Language
What's next?
- Config file
- Installation script
Run:
pip install meson ninjaor
pip3 install meson ninjaThis should work on most systems.
EBSL is available on the AUR:
With yay:
yay -S ebslWith paru:
paru -S ebslOr manually:
git clone https://aur.archlinux.org/ebsl.git && cd ebsl && makepkg -siSimply run:
sh install.sh [privilege escalation tool - optional if sudo]If you use sudo, there is no need for any argument to install.sh
To write the ninja files, run:
meson buildThen
cd build && ninjaThe executable should be in that directory.
To write the makefiles, run:
cmake -BbuildThen
cd build && makeThe executable should be in that directory.
| Arg | Purpose | Type |
|---|---|---|
| file | File to read from | string |
| key | The key whose values to get | string |
| amt | The amount of values to print for the key | integer or max |
File conf.ebsl:
hello=world
github=git,website
phone=samsung,apple,xiaomi
To get the value of hello, run:
./ebsl file=conf.ebsl key=hello amt=1To get the values of github, run the above command, replacing the key and amount appropriately:
./ebsl file=conf.ebsl key=github amt=2Finally, to get all values for a key (e.g. phone), run the following:
./ebsl file=conf.ebsl key=phone amt=maxTo set a value, use:
key=value
You can also set multiple values for one key, but you need to specify the amount of values you'd like to read:
key=value1,value2
