Sha256: 13d38bb01f4ed51872bc96330a14a2315c42628a043b5b653a14d9d3007822b2

Contents?: true

Size: 379 Bytes

Versions: 57

Compression:

Stored size: 379 Bytes

Contents

module Onering
  module CLI
    module Fact
      def self.configure(global={})
        Onering::Reporter.setup()

        @opts = ::Trollop::options do
          banner <<-EOS
Return the value of an internal fact.

Usage:
    onering [global] fact [name]

EOS
        end
      end

      def self.run(args)
        return Onering::Util.fact(args[0])
      end
    end
  end
end

Version data entries

57 entries across 57 versions & 1 rubygems

Version Path
onering-client-0.1.7 lib/onering/cli/fact.rb
onering-client-0.1.6 lib/onering/cli/fact.rb
onering-client-0.1.5 lib/onering/cli/fact.rb
onering-client-0.1.4 lib/onering/cli/fact.rb
onering-client-0.1.3 lib/onering/cli/fact.rb
onering-client-0.1.2 lib/onering/cli/fact.rb
onering-client-0.1.1 lib/onering/cli/fact.rb
onering-client-0.0.99 lib/onering/cli/fact.rb
onering-client-0.0.98 lib/onering/cli/fact.rb
onering-client-0.0.97 lib/onering/cli/fact.rb
onering-client-0.0.96 lib/onering/cli/fact.rb
onering-client-0.0.95 lib/onering/cli/fact.rb
onering-client-0.0.94 lib/onering/cli/fact.rb
onering-client-0.0.93 lib/onering/cli/fact.rb
onering-client-0.0.92 lib/onering/cli/fact.rb
onering-client-0.0.91 lib/onering/cli/fact.rb
onering-client-0.0.90 lib/onering/cli/fact.rb
onering-client-0.0.89 lib/onering/cli/fact.rb
onering-client-0.0.88 lib/onering/cli/fact.rb
onering-client-0.0.87 lib/onering/cli/fact.rb