Class: EacCli::OldConfigs::PasswordEntryReader
- Inherits:
-
EntryReader
- Object
- EntryReader
- EacCli::OldConfigs::PasswordEntryReader
- Defined in:
- lib/eac_cli/old_configs/password_entry_reader.rb
Constant Summary collapse
- ENTRY_KEY =
'core.store_passwords'
Instance Method Summary collapse
-
#initialize(console_configs, entry_key, options = {}) ⇒ PasswordEntryReader
constructor
A new instance of PasswordEntryReader.
Methods inherited from EntryReader
entry_key_to_envvar_name, #read, #read_from_console, #read_from_envvars, #read_from_storage
Constructor Details
#initialize(console_configs, entry_key, options = {}) ⇒ PasswordEntryReader
Returns a new instance of PasswordEntryReader.
10 11 12 13 |
# File 'lib/eac_cli/old_configs/password_entry_reader.rb', line 10 def initialize(console_configs, entry_key, = {}) super(console_configs, entry_key, .merge(noecho: true, store: console_configs.store_passwords?)) end |