Sha256: 42e286c9070775d754abeabda0171632dcc3cbbc38fd94338cb4ab5b1557da00
Contents?: true
Size: 584 Bytes
Versions: 10
Compression:
Stored size: 584 Bytes
Contents
# frozen_string_literal: true require "sod" module Milestoner module CLI module Actions module Cache # Handles cache information. class Info < Sod::Action include Import[:kernel, :logger, client: :cache] description "Show information." on %w[-i --info] def call(*) path = client.path path.exist? ? log_info("Path: #{path}.") : log_info("No cache found.") end private def log_info(message) = logger.info { message } end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems