What I'd like to do in the long-run, though, is add the ability to have CLI plugins.
We should discuss whether CLI plugins are needed. Maybe they'd be useless after creating the order-based procflow, though.
I'm not sure how we'd exactly implement CLI Plugins, but I could see their use cases. It might simplify the CLI a bit more and could be used internally throughout other locations of the code. We'd need to implement an internal version of the CLI that'd output dictionaries, lists, etc. rather than sys.stout based output, but that wouldn't be too hard of a refactor.
This is largely just a discussion issue to determine whether or not this factor would be worth it, and what benefits would stem from this change.
Requested Update
Description
Per Jeremy's comment on #465.
I'm not sure how we'd exactly implement
CLI Plugins
, but I could see their use cases. It might simplify the CLI a bit more and could be used internally throughout other locations of the code. We'd need to implement aninternal
version of the CLI that'd output dictionaries, lists, etc. rather thansys.stout
based output, but that wouldn't be too hard of a refactor.This is largely just a discussion issue to determine whether or not this factor would be worth it, and what benefits would stem from this change.
Background and Motivation
This comes from this comment on #465.
Alternative Solutions
Leave the code as-is.
Code to demonstrate issue
geoips.commandline.geoips_run:GeoipsRunDataFusion
Checklist for Completion
CLI Plugins
are worth it in the long run