Sha256: 9d223942d311876c4e60e1c6f8e768a730c1e376b4c09268a0ff51ef07f6d39e
Contents?: true
Size: 515 Bytes
Versions: 19
Compression:
Stored size: 515 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 configs" 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
19 entries across 19 versions & 1 rubygems