@MagicRB has written a Config module with the relevant data types & decoders.
In the diogo/cli branch, we are still hardcoding the configuration in Main.
We should refactor the CLI so that the config is read from a file rather than being hardcoded.
It should also be noted that the Config data types support multiple backends, but the CLI assumes there's only 1 backend. The CLI will have to be changed to support multiple backends, but this can be done in a separate issue (#16). For now, let's just assume the user intends to use the first backend from the config file.
@MagicRB has written a
Config
module with the relevant data types & decoders.In the
diogo/cli
branch, we are still hardcoding the configuration inMain
.We should refactor the CLI so that the config is read from a file rather than being hardcoded.
It should also be noted that the
Config
data types support multiple backends, but the CLI assumes there's only 1 backend. The CLI will have to be changed to support multiple backends, but this can be done in a separate issue (#16). For now, let's just assume the user intends to use the first backend from the config file.