Skip to content

Commit

Permalink
Remove redundant deps.
Browse files Browse the repository at this point in the history
  • Loading branch information
aglowinthefield committed Mar 15, 2024
1 parent 590d380 commit 77c89dd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
4 changes: 1 addition & 3 deletions Glow.PrettyFOMOD/CLI/CLIUtils.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Text;
using Figgle;
using Glow.PrettyFOMOD.Configuration;
using Sharprompt;
using Spectre.Console;
Expand All @@ -20,8 +19,7 @@ public static PrettyFomodConfig ConfigFromCli()
var config = new PrettyFomodConfig();

Console.OutputEncoding = Encoding.UTF8;
Console.WriteLine(
FiggleFonts.FlowerPower.Render("PrettyFOMOD"));
AnsiConsole.Write(new FigletText("PrettyFOMOD").LeftJustified().Color(Color.MediumOrchid3));

WriteWarningText("PLEASE NOTE: This tool is intended to be as non-destructive as possible.\n" +
"That said, it is currently in very early stages of development.\nIf you are working with " +
Expand Down
11 changes: 6 additions & 5 deletions Glow.PrettyFOMOD/CLI/FomodCreator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
using Glow.PrettyFOMOD.Configuration;
using Glow.PrettyFOMOD.FomodFileIO;
using Glow.PrettyFOMOD.Helpers;
using Sharprompt;

namespace Glow.PrettyFOMOD.CLI;

Expand Down Expand Up @@ -153,11 +154,11 @@ private static void CreateInfoFile(PrettyFomodConfig config)
CliUtils.WriteHeaderText("Generating info.xml. This is just metadata for your mod.");

var fomodInfo = FomodFileIo.OpenFomodInfoFile(config);
fomodInfo.Name = ReadLine.Read("Mod Name: ", fomodInfo.Name);
fomodInfo.Author = ReadLine.Read("Author: ", fomodInfo.Author);
fomodInfo.Description = ReadLine.Read("Description: ", fomodInfo.Description);
fomodInfo.Website = ReadLine.Read("Website: ", fomodInfo.Website);
fomodInfo.Version = ReadLine.Read("Version: ", fomodInfo.Version);
fomodInfo.Name = Prompt.Input<string>("Mod Name: ", defaultValue: fomodInfo.Name);
fomodInfo.Author = Prompt.Input<string>("Author: ", defaultValue: fomodInfo.Author);
fomodInfo.Description = Prompt.Input<string>("Description: ", defaultValue: fomodInfo.Description);
fomodInfo.Website = Prompt.Input<string>("Website: ", defaultValue: fomodInfo.Website);
fomodInfo.Version = Prompt.Input<string>("Version: ", defaultValue: fomodInfo.Version);

// TODO: Figure out groups.
FomodFileIo.SaveFomodInfo(fomodInfo, config);
Expand Down
2 changes: 0 additions & 2 deletions Glow.PrettyFOMOD/Glow.PrettyFOMOD.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Figgle" Version="0.5.1" />
<PackageReference Include="Mutagen.Bethesda.Skyrim" Version="0.42.0" />
<PackageReference Include="ReadLine" Version="2.0.1" />
<PackageReference Include="Sharprompt" Version="2.4.5" />
<PackageReference Include="Spectre.Console" Version="0.48.0" />
</ItemGroup>
Expand Down

0 comments on commit 77c89dd

Please sign in to comment.