From a47870fd82f1f20e92128a9a99afd34bccf1dcc2 Mon Sep 17 00:00:00 2001 From: Justin Kotalik Date: Wed, 4 Mar 2020 18:14:09 -0800 Subject: [PATCH] Removing emoji and ascii art from logs (#71) --- src/Tye.Core/OutputContext.cs | 24 +----------------------- src/tye/Program.InitCommand.cs | 1 - 2 files changed, 1 insertion(+), 24 deletions(-) diff --git a/src/Tye.Core/OutputContext.cs b/src/Tye.Core/OutputContext.cs index 64fc74a9..8d3d8274 100644 --- a/src/Tye.Core/OutputContext.cs +++ b/src/Tye.Core/OutputContext.cs @@ -36,7 +36,7 @@ namespace Tye throw new ArgumentNullException(nameof(title)); } - WriteInfoLine("⛵ " + title); + WriteInfoLine(title); indent += IndentAmount; var currentStep = new StepTracker(this, title); @@ -149,28 +149,6 @@ namespace Tye } } - // - - - public void WriteBanner() - { - // From: https://www.asciiart.eu/vehicles/boats - WriteInfoLine(string.Empty); - WriteInfoLine(@" | | | "); - WriteInfoLine(@" )_) )_) )_) "); - WriteInfoLine(@" )___))___))___)\ "); - WriteInfoLine(@" )____)____)_____)\\ "); - WriteInfoLine(@" _____|____|____|____\\\__ "); - WriteInfoLine(@"---------\ /--------- "); - WriteInfoLine(@" ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ "); - WriteInfoLine(@" ^^^^ ^^^^ ^^^ ^^ "); - WriteInfoLine(@" ^^^^ ^^^ "); - - WriteInfoLine(string.Empty); - WriteInfoLine("Sailing into microservices productivity!"); - WriteInfoLine(string.Empty); - } - public CapturedCommandOutput Capture() { return new CapturedCommandOutput(this); diff --git a/src/tye/Program.InitCommand.cs b/src/tye/Program.InitCommand.cs index b425dbed..6877d971 100644 --- a/src/tye/Program.InitCommand.cs +++ b/src/tye/Program.InitCommand.cs @@ -27,7 +27,6 @@ namespace Tye command.Handler = CommandHandler.Create((console, path, force) => { var output = new OutputContext(console, Verbosity.Info); - output.WriteBanner(); if (path is FileInfo && path.Exists && !force) { ThrowIfTyeFilePresent(path, "tye.yml");