Now that there are likely both command line argument and environment variables, it may be worth investing time migrating to a command line framework, like cobra.