Justin Kotalik
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
1 additions and
24 deletions
-
src/Tye.Core/OutputContext.cs
-
src/tye/Program.InitCommand.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); |
|
|
|
|
|
|
|
@ -27,7 +27,6 @@ namespace Tye |
|
|
|
command.Handler = CommandHandler.Create<IConsole, FileInfo?, bool>((console, path, force) => |
|
|
|
{ |
|
|
|
var output = new OutputContext(console, Verbosity.Info); |
|
|
|
output.WriteBanner(); |
|
|
|
if (path is FileInfo && path.Exists && !force) |
|
|
|
{ |
|
|
|
ThrowIfTyeFilePresent(path, "tye.yml"); |
|
|
|
|