mirror of
https://github.com/nishiki/manage-password.git
synced 2024-11-22 21:37:52 +00:00
enable text editor if threre isn't nothing value who has been set
This commit is contained in:
parent
efff66b12e
commit
6541931b79
1 changed files with 2 additions and 0 deletions
|
@ -93,6 +93,8 @@ end.parse!
|
|||
config = MPW::Config.new(options[:config])
|
||||
cli = MPW::Cli.new(config)
|
||||
|
||||
options[:text_editor] = true if values.empty?
|
||||
|
||||
cli.load_config
|
||||
cli.get_wallet(options[:wallet])
|
||||
cli.decrypt
|
||||
|
|
Loading…
Reference in a new issue