Creating a config directory in the same directory as the CLI is executed isn't particularly robust or friendly to a users machine. Configuration should be placed in either a $HOME/.ctcli folder or even better in a $HOME/.config/ctcli folder (at least on Linux/Mac based systems).
A simple first step would be to provide an option to tell the CLI where to look for the config folder (e.g. --config-dir or using an environment variable like $CTCLI_CONFIG_DIR). This would allow people wanting a different behavior (me 😉 ) to at least configure it differently.
Creating a config directory in the same directory as the CLI is executed isn't particularly robust or friendly to a users machine. Configuration should be placed in either a
$HOME/.ctclifolder or even better in a$HOME/.config/ctclifolder (at least on Linux/Mac based systems).A simple first step would be to provide an option to tell the CLI where to look for the config folder (e.g.
--config-diror using an environment variable like$CTCLI_CONFIG_DIR). This would allow people wanting a different behavior (me 😉 ) to at least configure it differently.