🗿
This commit is contained in:
parent
5009a393c3
commit
ddaa870668
@ -7,6 +7,9 @@
|
|||||||
- ♻️ - Edited
|
- ♻️ - Edited
|
||||||
|
|
||||||
## 0.2.2 - [08/04/2022]
|
## 0.2.2 - [08/04/2022]
|
||||||
|
- 🐛 - 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 by start&close program clear terminal
|
||||||
- ➕ - Added help tooltip to prompt
|
- ➕ - Added help tooltip to prompt
|
||||||
- ➕ - Added emoji to output
|
- ➕ - Added emoji to output
|
||||||
|
12
src/pmng.cr
12
src/pmng.cr
@ -80,14 +80,14 @@ 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
|
||||||
system "clear"
|
|
||||||
|
|
||||||
# pmng title
|
|
||||||
puts "The very simple password manager for humans\n\n".colorize(:yellow).mode(:bold)
|
|
||||||
|
|
||||||
# shell prompt
|
# shell prompt
|
||||||
print "Enter URL (".colorize(:white).mode(:bold)
|
print "Enter URL (".colorize(:white).mode(:bold)
|
||||||
print ":h".colorize(:red).mode(:bold)
|
print ":h".colorize(:red).mode(:bold)
|
||||||
@ -130,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