Class: Machinery::Config

Inherits:
ConfigBase show all
Defined in:
lib/config.rb

Instance Method Summary collapse

Methods inherited from ConfigBase

#default_config_file, #each, #entry, #get, #initialize, #set

Constructor Details

This class inherits a constructor from ConfigBase

Instance Method Details

#define_entriesObject



24
25
26
27
28
29
30
31
32
33
34
35
36
37
# File 'lib/config.rb', line 24

def define_entries
  default_config_file(Machinery::DEFAULT_CONFIG_FILE)

  entry("hints",
    default: true,
    description: "Show hints about usage of Machinery in the context of the commands ran by" \
      " the user"
  )
  entry("experimental-features",
    default: false,
    description: "Enable experimental features. See " \
      "https://github.com/SUSE/machinery/wiki/Experimental-Features for more details."
  )
end