Introduction
This article is pretty straightforward. When we started with adding additional functionality to our code, we began with invocation arguments. This approach, however, is not scalable when you have to deal with more than three or four such arguments. Imagine starting a program with 20 arguments!
To get around this, most projects use something called a “config” file. Using a config file is pretty straightforward - you store the values in a file, read it, parse the values in the file and trigger your program with those values. In this article, we shall explore adding a config file for our project. Once we do that, we shall use it as the source of truth for all configuration options we have.