Skip to content

Almighty42/INI-Config-Parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

INI Config File Parser

Parses a .ini config file and either provides the asked value ( --get option ) or sets that key value ( --set option )

Using the program

Base form ( --get / --set )

config_parser <config_file>.ini --get <key.value pair>

config_parser <config_file>.ini --set <key.value pair> <new_value>

Examples

config_parser config.ini --get Network.IP
> 192.168.1.1

config_parser config.ini --set Network.Port 8080
> Done setting config.ini
config_parser config.ini --get Network.Port
> 8080

Important note -> --set option overwrites the original file ( all comments, unneccesary spaces are removed )

DO NOT use --set option if you intend to keep the comments of your file

Building the program

Standard version

make || make prod

Debug version / with debug flags

make debug

Cleaning project executables

make clean

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors