Compare commits
2 Commits
237b811a80
...
ddaa870668
Author | SHA1 | Date | |
---|---|---|---|
ddaa870668 | |||
5009a393c3 |
10
HISTORY.md
10
HISTORY.md
|
@ -7,10 +7,14 @@
|
||||||
- ♻️ - Edited
|
- ♻️ - Edited
|
||||||
|
|
||||||
## 0.2.2 - [08/04/2022]
|
## 0.2.2 - [08/04/2022]
|
||||||
- ➕ - Added clear terminal by close program
|
- 🐛 - Before label emoji not insert space symbol (temponary change emoji)
|
||||||
- ➕ - Add to prompt help helper
|
- ➕ - 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
|
- ➕ - Added emoji to output
|
||||||
- ♻️ - Fixed URL color & style output
|
- ✔️ - Fixed BYE emoji color
|
||||||
|
- ♻️ - Edited URL color & style output
|
||||||
|
|
||||||
## 0.2.1 - [14/03/2022]
|
## 0.2.1 - [14/03/2022]
|
||||||
- ➕ - prompt '>' set color green
|
- ➕ - prompt '>' set color green
|
||||||
|
|
|
@ -80,6 +80,11 @@ while count < yaml.size
|
||||||
count += 1
|
count += 1
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# pmng title
|
||||||
|
system "clear"
|
||||||
|
puts "The very simple password manager for humans".colorize(:yellow).mode(:bold)
|
||||||
|
puts "-------------------------------------------".colorize(:yellow).mode(:bold)
|
||||||
|
|
||||||
# main loop
|
# main loop
|
||||||
loop = true
|
loop = true
|
||||||
while loop
|
while loop
|
||||||
|
@ -96,7 +101,7 @@ while loop
|
||||||
# if ':q' to close program
|
# if ':q' to close program
|
||||||
if password_string.to_s == ":q"
|
if password_string.to_s == ":q"
|
||||||
system "clear"
|
system "clear"
|
||||||
puts "Bye! 👋🏻"
|
puts "Bye! 👋"
|
||||||
exit(0)
|
exit(0)
|
||||||
# if puts empty, retry prompt
|
# if puts empty, retry prompt
|
||||||
elsif password_string.to_s.size == 0
|
elsif password_string.to_s.size == 0
|
||||||
|
@ -125,6 +130,8 @@ while loop
|
||||||
puts outdated_count
|
puts outdated_count
|
||||||
# list search password
|
# list search password
|
||||||
else
|
else
|
||||||
|
system "clear"
|
||||||
|
|
||||||
passwords_array.each do |item|
|
passwords_array.each do |item|
|
||||||
if item.url.includes?(password_string.to_s)
|
if item.url.includes?(password_string.to_s)
|
||||||
print "🌐 "
|
print "🌐 "
|
||||||
|
|
Loading…
Reference in New Issue
Block a user