https://github.com/instantos/instantconf
settings manager for instantOS
https://github.com/instantos/instantconf
Last synced: 5 months ago
JSON representation
settings manager for instantOS
- Host: GitHub
- URL: https://github.com/instantos/instantconf
- Owner: instantOS
- License: gpl-2.0
- Created: 2020-03-04T20:00:34.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2023-02-25T14:32:20.000Z (over 3 years ago)
- Last Synced: 2024-05-22T23:26:10.273Z (about 2 years ago)
- Language: Shell
- Size: 26.4 KB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
instantCONF
simple config system for instantOS
# instantCONF


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
```
--------
## instantOS is still in early beta, contributions always welcome
