Sha256: addf214972948a1fac169ca6fbda973770d6f257d4d4df50859ac06cbc508f48

Contents?: true

Size: 324 Bytes

Versions: 27

Compression:

Stored size: 324 Bytes

Contents

module CC
  module CLI
    module Engines
      class List < EngineCommand
        def run
          say "Available engines:"
          engines_registry_list.sort_by { |name, _| name }.each do |name, attributes|
            say "- #{name}: #{attributes["description"]}"
          end
        end
      end
    end
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
codeclimate-0.2.4 lib/cc/cli/engines/list.rb
codeclimate-0.2.2 lib/cc/cli/engines/list.rb
codeclimate-0.2.1 lib/cc/cli/engines/list.rb
codeclimate-0.2 lib/cc/cli/engines/list.rb
codeclimate-0.1.5 lib/cc/cli/engines/list.rb
codeclimate-0.1.4 lib/cc/cli/engines/list.rb
codeclimate-0.1.3 lib/cc/cli/engines/list.rb
codeclimate-0.1.2 lib/cc/cli/engines/list.rb
codeclimate-0.1.0 lib/cc/cli/engines/list.rb
codeclimate-0.0.25 lib/cc/cli/engines/list.rb
codeclimate-0.0.24 lib/cc/cli/engines/list.rb
codeclimate-0.0.23 lib/cc/cli/engines/list.rb
codeclimate-0.0.22 lib/cc/cli/engines/list.rb
codeclimate-0.0.21 lib/cc/cli/engines/list.rb
codeclimate-0.0.18 lib/cc/cli/engines/list.rb
codeclimate-0.0.17 lib/cc/cli/engines/list.rb
codeclimate-0.0.16 lib/cc/cli/engines/list.rb
codeclimate-0.0.15 lib/cc/cli/engines/list.rb
codeclimate-0.0.14 lib/cc/cli/engines/list.rb
codeclimate-0.0.13 lib/cc/cli/engines/list.rb