Create CliktCommands with DI #120

Open
opened 4 years ago by gpe · 3 comments
gpe commented 4 years ago
Owner

This would allow us to push the Guice injector code back to the main() method in all cases, which is really the only place it should be.

This would allow us to push the Guice injector code back to the `main()` method in all cases, which is really the only place it should be.
gpe added the
improvement
label 4 years ago
Poster
Owner

That said, I think it would mean that we'd create parts of the object graph that we don't need unless we were careful about using lazy injection - at least in the all subproject?

That said, I think it would mean that we'd create parts of the object graph that we don't need unless we were careful about using lazy injection - at least in the `all` subproject?
Poster
Owner

Alternatively, the CliktCommands could be converted to objects.

Alternatively, the CliktCommands could be converted to objects.

The usage for this would be runtime arguments?

The usage for this would be runtime arguments?
Sign in to join this conversation.
Loading…
There is no content yet.