Sha256: cf692b9ab156fa6d81c3ec4613830fd154b2a90d125f564ab3534c0b919c7a3e

Contents?: true

Size: 216 Bytes

Versions: 4

Compression:

Stored size: 216 Bytes

Contents

require 'facterdb'
require 'json'

module FacterDB
  class Bin
    def initialize(args)
      @args = args
    end

    def run
      puts JSON.pretty_generate(FacterDB.get_os_facts('*', @args[0]))
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
facterdb-2.1.0 lib/facterdb/bin.rb
facterdb-1.24.0 lib/facterdb/bin.rb
facterdb-1.23.0 lib/facterdb/bin.rb
facterdb-1.22.0 lib/facterdb/bin.rb