Sha256: 73797285ee657bf9f6e8c0cca745a09d4b6a173ac5b2635bfd3f010be3a23010
Contents?: true
Size: 812 Bytes
Versions: 10
Compression:
Stored size: 812 Bytes
Contents
require 'hieracles/optparse' module Hieracles module Options class Ppdb < Hieracles::Optparse def available_options { version: { has_arg: false, aliases: ['v', 'version'] }, format: { has_arg: true, aliases: ['f', 'format'] } } end def self.usage return <<-END Usage: ppdb <command> [extra_args] Available commands: node info <fqdn> node facts <fqdn> node resources <fqdn> facts <name> <value> same <name> <fqdn> factnames res[ources] <query> query following the form: type=sometype title=what type=sometype or type=another type~someregexp type!~excluded END end end end end
Version data entries
10 entries across 10 versions & 1 rubygems