From 4526629f69e77fe5c49cc411e0058166321e11da Mon Sep 17 00:00:00 2001 From: Spoorthi <9302666+spoo-bar@users.noreply.github.com> Date: Fri, 28 Jun 2024 08:59:05 +0100 Subject: [PATCH] style: Adding a cute ascii art of Archway for the cli (#577) This is what it will look like ![image](https://github.com/archway-network/archway/assets/9302666/cc458d87-bc2b-458a-958d-3481bde8262d) --- CHANGELOG.md | 3 +++ cmd/archwayd/main.go | 11 +++++++++++ cmd/archwayd/root.go | 2 +- 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 529400a7..bd3f47a7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -30,6 +30,9 @@ Contains all the PRs that improved the code without changing the behaviors. ## [v8.0.0](https://github.com/archway-network/archway/releases/tag/v8.0.0) +### Added +- [#577](https://github.com/archway-network/archway/pull/577) - Adding a cute ascii art of Archway for the cli + ### Changed - [#573](https://github.com/archway-network/archway/pull/573) - Bump cosmos-sdk to v0.50.6 and ibc to v8.2.1 diff --git a/cmd/archwayd/main.go b/cmd/archwayd/main.go index 5af85442..434afd11 100644 --- a/cmd/archwayd/main.go +++ b/cmd/archwayd/main.go @@ -13,6 +13,17 @@ import ( "github.com/archway-network/archway/app" ) +const ArchwayASCII = ` + ##### ##### ##### ## ## ## ## ##### ## ## +####### ####### ####### ## ## ## ## ####### ## ## +## ## ## ## ## ## ## ## # ## ## ## ## ## +## ## ###### ## #### ## ####### ## ## #### +####### ## ## ## ## ## ## ####### ####### ## +## ## ## ## ####### ## ## ### ### ## ## ## +## ## ## ## ##### ## ## ## ## ## ## ## + +` + func main() { rootCmd, _ := NewRootCmd() diff --git a/cmd/archwayd/root.go b/cmd/archwayd/root.go index 8fe363b3..87ce160a 100644 --- a/cmd/archwayd/root.go +++ b/cmd/archwayd/root.go @@ -64,7 +64,7 @@ func NewRootCmd() (*cobra.Command, params.EncodingConfig) { rootCmd := &cobra.Command{ Use: version.AppName, - Short: "Archway Daemon (server)", + Short: ArchwayASCII, PersistentPreRunE: func(cmd *cobra.Command, _ []string) error { // set the default command outputs cmd.SetOut(cmd.OutOrStdout())