Skip to content

Commit

Permalink
Add command-line switch for no logo #4
Browse files Browse the repository at this point in the history
Logo display was removed
Excluded some annoying white-spaces StyleCop warnings
  • Loading branch information
savornicesei committed Jul 4, 2021
1 parent f894134 commit 13ab0e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 24 deletions.
24 changes: 0 additions & 24 deletions src/clients/Wyam/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ private int Run(string[] args)
// Output version info
Trace.Information($"Wyam version {Engine.Version}");

// It's not a serious console app unless there's some ASCII art
OutputLogo();

// Make sure we're not running under Mono
if (Type.GetType("Mono.Runtime") != null)
{
Expand Down Expand Up @@ -74,26 +71,5 @@ private int Run(string[] args)
// Run the command
return (int)command.Run(preprocessor);
}

private void OutputLogo()
{
Console.WriteLine(@"
,@@@@@@p
,@@@@@@@@@@g
z@@@@@@@@@@@@@@@
g@@@@@@@@@@@@@@@@@@@,
g@@@@@@@@@@@@@@@@@@@@@@@,
,@@@@@@@@@@@@@@@@@@@@@@@@@@@
,@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
$@@@@@@@@@@@@@@@@@@@@@@@@@@@@@c
@@@@@@@@@@@@@@@@@@@@@@@@B@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@ j@@@@@
$@@@@@@@@@@@@@@@@@@@@@F #@@@@`
$@@@@@@@@@@@@@@@@@@P g@@@@P
%@@@@@@@@@@@@@ ,g@@@@@P
3@@@@@@@@@@@@@@@@@@@@@@B`
`%@@@@@@@@@@@@@@@@@P
`*%RB@@@@@RRP`");
}
}
}
3 changes: 3 additions & 0 deletions wyam.ruleset
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,8 @@
<Rule Id="RCS1231" Action="Info" />
</Rules>
<Rules AnalyzerId="StyleCop.Analyzers" RuleNamespace="StyleCop.Analyzers">
<Rule Id="SA1005" Action="None" />
<Rule Id="SA1028" Action="None" />
<Rule Id="SA1101" Action="None" />
<Rule Id="SA1118" Action="None" />
<Rule Id="SA1200" Action="None" />
Expand All @@ -286,6 +288,7 @@
<Rule Id="SA1413" Action="None" />
<Rule Id="SA1512" Action="None" />
<Rule Id="SA1513" Action="None" />
<Rule Id="SA1515" Action="None" />
<Rule Id="SA1516" Action="None" />
<Rule Id="SA1600" Action="None" />
<Rule Id="SA1601" Action="None" />
Expand Down

0 comments on commit 13ab0e1

Please sign in to comment.