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));
}
WriteInfoLine("💰 " + title);
WriteInfoLine("⛵ " + title);
indent += IndentAmount;
var currentStep = new StepTracker(this, title);
@ -154,23 +154,20 @@ namespace Opulence
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(@" $$$$$$\ $$\ ");
WriteInfoLine(@"$$ __$$\ $$ | ");
WriteInfoLine(@"$$ / $$ | $$$$$$\ $$\ $$\ $$ | $$$$$$\ $$$$$$$\ $$$$$$$\ $$$$$$\ ");
WriteInfoLine(@"$$ | $$ |$$ __$$\ $$ | $$ |$$ |$$ __$$\ $$ __$$\ $$ _____|$$ __$$\ ");
WriteInfoLine(@"$$ | $$ |$$ / $$ |$$ | $$ |$$ |$$$$$$$$ |$$ | $$ |$$ / $$$$$$$$ |");
WriteInfoLine(@"$$ | $$ |$$ | $$ |$$ | $$ |$$ |$$ ____|$$ | $$ |$$ | $$ ____|");
WriteInfoLine(@" $$$$$$ |$$$$$$$ |\$$$$$$ |$$ |\$$$$$$$\ $$ | $$ |\$$$$$$$\ \$$$$$$$\ ");
WriteInfoLine(@" \______/ $$ ____/ \______/ \__| \_______|\__| \__| \_______| \_______|");
WriteInfoLine(@" $$ | ");
WriteInfoLine(@" $$ | ");
WriteInfoLine(@" \__| ");
WriteInfoLine(@"--------------------------------------------------------------------------");
WriteInfoLine(@" | | | ");
WriteInfoLine(@" )_) )_) )_) ");
WriteInfoLine(@" )___))___))___)\ ");
WriteInfoLine(@" )____)____)_____)\\ ");
WriteInfoLine(@" _____|____|____|____\\\__ ");
WriteInfoLine(@"---------\ /--------- ");
WriteInfoLine(@" ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ");
WriteInfoLine(@" ^^^^ ^^^^ ^^^ ^^ ");
WriteInfoLine(@" ^^^^ ^^^ ");
WriteInfoLine(string.Empty);
WriteInfoLine("White-Glove service for .NET and Kubernetes...");
WriteInfoLine("Someone will be right with you!");
WriteInfoLine("Sailing into microservices productivity!");
WriteInfoLine(string.Empty);
}

4
src/tye/Program.InitCommand.cs

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

Loading…
Cancel
Save