lib/chronicle/etl/cli/connectors.rb in chronicle-etl-0.4.4 vs lib/chronicle/etl/cli/connectors.rb in chronicle-etl-0.5.0
- old
+ new
@@ -2,18 +2,18 @@
module Chronicle
module ETL
module CLI
# CLI commands for working with ETL connectors
+ #
+ # @todo make this work with new plugin system (i.e. no loading of all plugins)
class Connectors < SubcommandBase
default_task 'list'
namespace :connectors
desc "list", "Lists available connectors"
# Display all available connectors that chronicle-etl has access to
def list
- Chronicle::ETL::Registry.load_all!
-
connector_info = Chronicle::ETL::Registry.connectors.map do |connector_registration|
{
identifier: connector_registration.identifier,
phase: connector_registration.phase,
description: connector_registration.descriptive_phrase,