[config]: flesh out config system

This commit is contained in:
Joshua Vega 2026-01-18 12:01:47 -05:00
parent 8e6aa92053
commit b252486831
Signed by: jsvcycling
GPG key ID: E3DD60C9AC7DEF79
3 changed files with 54 additions and 0 deletions

8
main.c
View file

@ -13,10 +13,18 @@
* You should have received a copy of the GNU General Public License along with
* this program. If not, see <https://www.gnu.org/licenses/>.
*/
#include "config.h"
#include <stdio.h>
Config globalConfig;
int main(int argc, char** argv)
{
int result = getConfig(argc, argv, &globalConfig);
if (result != 0) {
return -1;
}
printf("Hello world!\n");
return 0;
}