An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          


instantCONF


simple config system for instantOS




Buy Me A Coffee

# instantCONF

![Discord](https://img.shields.io/discord/683782260071071764)
![Maintenance](https://img.shields.io/maintenance/yes/2020)

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