Closed viraptor closed 10 months ago
Thanks, I'm aware of this - it's a tricky one to fix, due to some inflexibilities in the FX framework, which is geared towards long-running processes with a fixed set of dependencies, not really to a CLI app like this. It's annoying as there's a lot to like about FX and it seems there aren't many other good options for dependency injection in GoLang...
A workaround is probably possible but not trivial. It might be a case of removing the CLI altogether and driving everything through the API and GUI...
Have you checked the roadmap on the website, and existing issues, before opening a dupllcate issue? Yes
Describe the bug Multiple CLI commands for bitmagnet cause numerous errors due to lack of working configuration before/instead of giving the help output expected.
To Reproduce
bitmagnet config --help
Expected behavior Display the help output for that command without any attempts to connect to the databases.
General (please complete the following information):