Sha256: 4f8856d60e9346f9d92900c1dd6883c0d04078122ea597d4803beaf4b5cbb193

Contents?: true

Size: 1 KB

Versions: 1

Compression:

Stored size: 1 KB

Contents

module Hieracles
  module Help

    def self.usage
      return <<-END

      Usage: hc <fqdn> <command> [extra_args]

      Available commands:
        info        provides the farm, datacenter, country
                    associated to the given fqdn
        files       list all files containing params affecting this fqdn
                    (in more than commons)
        paths       list all file paths for files with params
        modules     list modules included in the farm where the node is
        params      list params for the node matching the fqdn
                    An extra filter string can be added to limit the list
                    use ruby regexp without the enclosing slashes
                    eg. hc <fqdn> params postfix.*version
                    eg. hc <fqdn> params '^postfix'
                    eg. hc <fqdn> params 'version$'
        allparams   same as params but including the common.yaml params (huge)
                    Also accepts a search string
      END
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hieracles-0.0.1 lib/hieracles/help.rb