Sha256: d9640e5d924e927631a3389119fe8031df236057a1141da364436ebfdc84a260
Contents?: true
Size: 805 Bytes
Versions: 1
Compression:
Stored size: 805 Bytes
Contents
# encoding: UTF-8 # frozen_string_literal: true require 'nrser/refinements/types' using NRSER::Types # Namespace # ======================================================================= module Locd module CLI module Command # Definitions # ======================================================================= class Agent < Base desc "plist", "Print an agent's launchd property list" include_shared t[ groups: :pattern ] def plist agent = find_only! pattern if options[:json] || options[:yaml] respond agent.plist else respond agent.path.read end end end # /Namespace # ======================================================================= end # module Command end # module CLI end # module Locd
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
locd-0.1.13 | lib/locd/cli/command/agent/plist.rb |