Skip to content

Commit

Permalink
und - Removed Figlet generator
Browse files Browse the repository at this point in the history
---

Type: und
Breaking: False
Doc Required: False
Part: 1/1
  • Loading branch information
AptiviCEO committed May 11, 2024
1 parent d92e062 commit 1783825
Show file tree
Hide file tree
Showing 11 changed files with 42 additions and 1,011 deletions.
34 changes: 34 additions & 0 deletions Textify.Demos.Offline/Fixtures/Cases/FigletPrint.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
//
// Textify Copyright (C) 2023-2024 Aptivi
//
// This file is part of Textify
//
// Textify is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Textify is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY, without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
//

using System;
using Textify.Figlet;

namespace Textify.Demos.Offline.Fixtures.Cases
{
public class FigletPrint : IFixture
{
public string FixtureID => "FigletPrint";
public void RunFixture()
{
string figlet = FigletTools.RenderFiglet("Hello!", "banner3");
Console.WriteLine(figlet);
}
}
}
3 changes: 3 additions & 0 deletions Textify.Demos.Offline/Fixtures/FixtureManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ internal static class FixtureManager

// Words
new WordGet(),

// Figlet
new FigletPrint(),
];

internal static IFixture GetFixtureFromName(string name)
Expand Down
4 changes: 4 additions & 0 deletions Textify.Demos.Offline/Properties/launchSettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@
"Textify - Offline - NameGenerator": {
"commandName": "Project",
"commandLineArgs": "NameGenerator"
},
"Textify - Offline - FigletPrint": {
"commandName": "Project",
"commandLineArgs": "FigletPrint"
}
}
}
1 change: 1 addition & 0 deletions Textify.Demos.Offline/Textify.Demos.Offline.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\Textify.Figlet\Textify.Figlet.csproj" />
<ProjectReference Include="..\Textify\Textify.csproj" />
<ProjectReference Include="..\Textify.Data.Analysis\Textify.Data.Analysis.csproj" />
</ItemGroup>
Expand Down
Loading

0 comments on commit 1783825

Please sign in to comment.