Module: Enviera

Defined in:
lib/enviera/subcommand.rb,
lib/enviera.rb,
lib/enviera/CLI.rb,
lib/enviera/utils.rb,
lib/enviera/options.rb,
lib/enviera/commands.rb,
lib/enviera/subcommands/help.rb,
lib/enviera/subcommands/lookup.rb,
lib/enviera/subcommands/version.rb,
lib/enviera/subcommands/hierarchy.rb,
lib/enviera/subcommands/unknown_command.rb

Overview

require ‘enviera/subcommands/unknown_command’

Defined Under Namespace

Modules: Subcommands Classes: CLI, Commands, Options, RecoverableError, Subcommand, Utils

Constant Summary collapse

VERSION =
"0.0.4"
DESCRIPTION =
"Enviera is a tool for looking up all Hiera values available based on a given set of puppet facts"

Class Method Summary collapse

Class Method Details

.subcommandObject



12
13
14
# File 'lib/enviera.rb', line 12

def self.subcommand
  @@subcommand
end

.subcommand=(command) ⇒ Object



8
9
10
# File 'lib/enviera.rb', line 8

def self.subcommand= command
  @@subcommand = command
end

.subcommandsObject



29
30
31
# File 'lib/enviera.rb', line 29

def self.subcommands
  @@subcommands
end

.subcommands=(commands) ⇒ Object



25
26
27
# File 'lib/enviera.rb', line 25

def self.subcommands= commands
  @@subcommands = commands
end

.verbosity_levelObject



20
21
22
23
# File 'lib/enviera.rb', line 20

def self.verbosity_level
  @@debug_level ||= 1
  @@debug_level
end

.verbosity_level=(new_verbosity_level) ⇒ Object



16
17
18
# File 'lib/enviera.rb', line 16

def self.verbosity_level= new_verbosity_level
  @@debug_level = new_verbosity_level
end