Sha256: 43b808a2f4a6862a84788aec2dbeeb42b5d076f7a7439d8162ebb8eb5548e709
Contents?: true
Size: 514 Bytes
Versions: 6
Compression:
Stored size: 514 Bytes
Contents
# frozen_string_literal: true module Mihari module Commands # # Config sub-commands # module Config class << self def included(thor) thor.class_eval do desc "list", "List config" def list configs = Services::ConfigSearcher.call data = configs.map { |config| Entities::Config.represent(config) } puts JSON.pretty_generate(data.as_json) end end end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems