From f7bb266cac837c1088d5ddb6ea623f919f78fbf5 Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Mon, 2 May 2022 10:41:31 +0300 Subject: [PATCH] add logo --- HISTORY.md | 1 + README.md | 12 ++++++++++-- shard.yml | 2 +- src/pmng.cr | 13 ++++++++++++- 4 files changed, 24 insertions(+), 4 deletions(-) diff --git a/HISTORY.md b/HISTORY.md index bc412c8..4146b51 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -8,6 +8,7 @@ ## 0.2.3 - [09/04/2022] - ♻️ - Password outdated date change to 3 month +- ➕ - Added `pmng` logo ## 0.2.2 - [08/04/2022] - ➕ - Added check permissions for password file diff --git a/README.md b/README.md index 3bf524a..2772ccc 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,10 @@ -# pmng -The very simple password manager for humans +# The very simple password manager for humans + +``` +██████╗ ███╗ ███╗███╗ ██╗ ██████╗ +██╔══██╗████╗ ████║████╗ ██║██╔════╝ +██████╔╝██╔████╔██║██╔██╗ ██║██║ ███╗ +██╔═══╝ ██║╚██╔╝██║██║╚██╗██║██║ ██║ +██║ ██║ ╚═╝ ██║██║ ╚████║╚██████╔╝ +╚═╝ ╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═════╝ +``` diff --git a/shard.yml b/shard.yml index 074ace1..d33b282 100644 --- a/shard.yml +++ b/shard.yml @@ -1,5 +1,5 @@ name: pmng -version: 0.2.2 +version: 0.2.3 authors: - Alexander Popov diff --git a/src/pmng.cr b/src/pmng.cr index 0ccfc17..9793639 100644 --- a/src/pmng.cr +++ b/src/pmng.cr @@ -22,7 +22,16 @@ class Password property update : Int32 end -VERSION = "0.2.2" +VERSION = "0.2.3b" + +ASCII_LOGO = " +██████╗ ███╗ ███╗███╗ ██╗ ██████╗ +██╔══██╗████╗ ████║████╗ ██║██╔════╝ +██████╔╝██╔████╔██║██╔██╗ ██║██║ ███╗ +██╔═══╝ ██║╚██╔╝██║██║╚██╗██║██║ ██║ +██║ ██║ ╚═╝ ██║██║ ╚████║╚██████╔╝ +╚═╝ ╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═════╝ +" # program options begin @@ -30,6 +39,7 @@ begin parser.banner = "The very simple password manager for humans\n" parser.on "-v", "--version", "Show version" do + puts ASCII_LOGO puts "The very simple password manager for humans." puts "Version #{VERSION}" exit(0) @@ -91,6 +101,7 @@ end # pmng title system "clear" +puts ASCII_LOGO.colorize(:yellow) puts "The very simple password manager for humans".colorize(:yellow).mode(:bold) puts "-------------------------------------------".colorize(:yellow).mode(:bold)