Sha256: 40435d311f18bc65ce66da93388e4fd59eacb93bf98df18ed3ed522d2a3b96e3
Contents?: true
Size: 632 Bytes
Versions: 27
Compression:
Stored size: 632 Bytes
Contents
# typed: strict # frozen_string_literal: true module Tapioca module Commands class DslCompilerList < AbstractDsl private sig { override.void } def execute load_application say("") say("Loaded DSL compiler classes:") say("") table = pipeline.compilers.map do |compiler| status = if pipeline.active_compilers.include?(compiler) set_color("enabled", :green) else set_color("disabled", :red) end [compiler.name, status] end print_table(table, { indent: 2 }) end end end end
Version data entries
27 entries across 27 versions & 1 rubygems