Skip to content

Files

Latest commit

 Cannot retrieve latest commit at this time.

History

History
54 lines (41 loc) · 1.4 KB

README.md

File metadata and controls

54 lines (41 loc) · 1.4 KB

instantCONF

simple config system for instantOS

Buy Me A Coffee

instantCONF

Discord Maintenance

instantCONF is a simple configuration system that doesn't require a settings daemon or anything fancy to run and can easily be scripted

usage

Get the value of a setting option
Prints the value to stdout. Exits with exit code 1 if the option is not set

iconf optionname

Set an option ´´´ iconf optionname value ´´´

binary options:

Get a binary option. doesn't print to stdout and instead exits with exit code 0 if option is true and 1 if the option is set to false. Defaults to false (exit status 1)

iconf -i optionname

set a binary option.

iconf -i optionname 0/1

Roadmap

  • look at alternatives to sqlite
    • dconf?
    • plaintext?
      • parse every time?
      • background job which keeps in memory?

instantOS is still in early beta, contributions always welcome