Class | Simp::Cli::Config::Questionnaire |
In: |
lib/simp/cli/config/questionnaire.rb
|
Parent: | Object |
Builds a SIMP configuration profile based on an Array of Config::Items
The configuration profile is built on a Questionnaire, which is interactive by default, but can be automated.
INTERACTIVE | = | 0 |
NONINTERACTIVE | = | 1 |
REALLY_NONINTERACTIVE | = | 2 |
processes an Array of Config::Items and returns a hash of Config::Item answers
simp config can run in the following modes:
- interactive (prompt each item) - mostly non-interactive (-f/-A; prompt items that can't be inferred or pulled from cli args) - never prompt (-a; optionally use cli args for non-inferrable items); - never prompt (-ff; relies on cli args for non-inferrable items))