mirror of
https://github.com/nishiki/manage-password.git
synced 2025-03-20 21:34:35 +00:00
add information in print config
This commit is contained in:
parent
3f9d7eff33
commit
77bca426bc
1 changed files with 8 additions and 6 deletions
|
@ -103,14 +103,16 @@ module MPW
|
|||
# List config
|
||||
def list_config
|
||||
config = {
|
||||
'lang' => @config.lang,
|
||||
'gpg_key' => @config.gpg_key,
|
||||
'config_dir' => @config.config_dir,
|
||||
'pinmode' => @config.pinmode,
|
||||
'gpg_exe' => @config.gpg_exe
|
||||
'lang' => @config.lang,
|
||||
'gpg_key' => @config.gpg_key,
|
||||
'default_wallet' => @config.default_wallet,
|
||||
'config_dir' => @config.config_dir,
|
||||
'pinmode' => @config.pinmode,
|
||||
'gpg_exe' => @config.gpg_exe
|
||||
}
|
||||
|
||||
@config.password.each { |k, v| config["password_#{k}"] = v }
|
||||
@config.wallet_paths.each { |k, v| config["path_wallet_#{k}"] = "#{v}/#{k}.mpw" }
|
||||
@config.password.each { |k, v| config["password_#{k}"] = v }
|
||||
|
||||
table_list('config', config)
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue