Compare commits

...

2 Commits

Author SHA1 Message Date
ddaa870668
🗿 2022-04-08 16:38:03 +03:00
5009a393c3
:-[ 2022-04-08 16:30:33 +03:00
2 changed files with 15 additions and 4 deletions

View File

@ -7,10 +7,14 @@
- ♻️ - Edited
## 0.2.2 - [08/04/2022]
- - Added clear terminal by close program
- - Add to prompt help helper
- 🐛 - Before label emoji not insert space symbol (temponary change emoji)
- - Added title by start program
- - Added clear terminal by new search
- - Added by start&close program clear terminal
- - Added help tooltip to prompt
- - Added emoji to output
- ♻️ - Fixed URL color & style output
- ✔️ - Fixed BYE emoji color
- ♻️ - Edited URL color & style output
## 0.2.1 - [14/03/2022]
- - prompt '>' set color green

View File

@ -80,6 +80,11 @@ while count < yaml.size
count += 1
end
# pmng title
system "clear"
puts "The very simple password manager for humans".colorize(:yellow).mode(:bold)
puts "-------------------------------------------".colorize(:yellow).mode(:bold)
# main loop
loop = true
while loop
@ -96,7 +101,7 @@ while loop
# if ':q' to close program
if password_string.to_s == ":q"
system "clear"
puts "Bye! 👋🏻"
puts "Bye! 👋"
exit(0)
# if puts empty, retry prompt
elsif password_string.to_s.size == 0
@ -125,6 +130,8 @@ while loop
puts outdated_count
# list search password
else
system "clear"
passwords_array.each do |item|
if item.url.includes?(password_string.to_s)
print "🌐 "