Browse Source

Remove opulence branding

pull/53/head
Ryan Nowak 7 years ago
parent
commit
9398197410
  1. 29
      src/opulence/dotnet-opulence/OutputContext.cs
  2. 4
      src/tye/Program.InitCommand.cs

29
src/opulence/dotnet-opulence/OutputContext.cs

@ -36,7 +36,7 @@ namespace Opulence
throw new ArgumentNullException(nameof(title)); throw new ArgumentNullException(nameof(title));
} }
WriteInfoLine("💰 " + title); WriteInfoLine("⛵ " + title);
indent += IndentAmount; indent += IndentAmount;
var currentStep = new StepTracker(this, title); var currentStep = new StepTracker(this, title);
@ -154,23 +154,20 @@ namespace Opulence
public void WriteBanner() public void WriteBanner()
{ {
// From: http://patorjk.com/software/taag/#p=display&f=Big%20Money-nw&t=Opulence // From: https://www.asciiart.eu/vehicles/boats
WriteInfoLine(string.Empty); WriteInfoLine(string.Empty);
WriteInfoLine(@" $$$$$$\ $$\ "); WriteInfoLine(@" | | | ");
WriteInfoLine(@"$$ __$$\ $$ | "); WriteInfoLine(@" )_) )_) )_) ");
WriteInfoLine(@"$$ / $$ | $$$$$$\ $$\ $$\ $$ | $$$$$$\ $$$$$$$\ $$$$$$$\ $$$$$$\ "); WriteInfoLine(@" )___))___))___)\ ");
WriteInfoLine(@"$$ | $$ |$$ __$$\ $$ | $$ |$$ |$$ __$$\ $$ __$$\ $$ _____|$$ __$$\ "); WriteInfoLine(@" )____)____)_____)\\ ");
WriteInfoLine(@"$$ | $$ |$$ / $$ |$$ | $$ |$$ |$$$$$$$$ |$$ | $$ |$$ / $$$$$$$$ |"); WriteInfoLine(@" _____|____|____|____\\\__ ");
WriteInfoLine(@"$$ | $$ |$$ | $$ |$$ | $$ |$$ |$$ ____|$$ | $$ |$$ | $$ ____|"); WriteInfoLine(@"---------\ /--------- ");
WriteInfoLine(@" $$$$$$ |$$$$$$$ |\$$$$$$ |$$ |\$$$$$$$\ $$ | $$ |\$$$$$$$\ \$$$$$$$\ "); WriteInfoLine(@" ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ");
WriteInfoLine(@" \______/ $$ ____/ \______/ \__| \_______|\__| \__| \_______| \_______|"); WriteInfoLine(@" ^^^^ ^^^^ ^^^ ^^ ");
WriteInfoLine(@" $$ | "); WriteInfoLine(@" ^^^^ ^^^ ");
WriteInfoLine(@" $$ | ");
WriteInfoLine(@" \__| ");
WriteInfoLine(@"--------------------------------------------------------------------------");
WriteInfoLine(string.Empty); WriteInfoLine(string.Empty);
WriteInfoLine("White-Glove service for .NET and Kubernetes..."); WriteInfoLine("Sailing into microservices productivity!");
WriteInfoLine("Someone will be right with you!");
WriteInfoLine(string.Empty); WriteInfoLine(string.Empty);
} }

4
src/tye/Program.InitCommand.cs

@ -3,6 +3,7 @@ using System.CommandLine;
using System.CommandLine.Invocation; using System.CommandLine.Invocation;
using System.CommandLine.IO; using System.CommandLine.IO;
using System.IO; using System.IO;
using Opulence;
using Tye.ConfigModel; using Tye.ConfigModel;
using YamlDotNet.Serialization; using YamlDotNet.Serialization;
using YamlDotNet.Serialization.NamingConventions; using YamlDotNet.Serialization.NamingConventions;
@ -20,6 +21,9 @@ namespace Tye
command.Handler = CommandHandler.Create<IConsole, FileInfo?>((console, path) => command.Handler = CommandHandler.Create<IConsole, FileInfo?>((console, path) =>
{ {
var output = new OutputContext(console, Verbosity.Info);
output.WriteBanner();
if (path is FileInfo && if (path is FileInfo &&
path.Exists && path.Exists &&
(string.Equals(".yml", path.Extension, StringComparison.OrdinalIgnoreCase) || (string.Equals(".yml", path.Extension, StringComparison.OrdinalIgnoreCase) ||

Loading…
Cancel
Save