Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a Settings Command. #72

Merged
merged 13 commits into from
Aug 14, 2023
2 changes: 1 addition & 1 deletion Commands/HelpCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ internal override void Execute(string[] arguments)
ConsoleUtil.WriteLine("HBC - cancels heartbeat restart countdown.");
ConsoleUtil.WriteLine("HBCTRL - controls heartbeat.");
ConsoleUtil.WriteLine("HELP - prints this help.");
ConsoleUtil.WriteLine("LACFG - prints current LocalAdmin config file path.");
ConsoleUtil.WriteLine("LACFG - prints the current LocalAdmin configuration and the config file path.");
ConsoleUtil.WriteLine("LICENSE - prints LocalAdmin license details.");
ConsoleUtil.WriteLine("P - Plugin Manager.");
ConsoleUtil.WriteLine("RESAVE - resaves the LocalAdmin config file.");
Expand Down
1 change: 1 addition & 0 deletions Commands/LaCfgCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ public LaCfgCommand() : base("lacfg") { }
internal override void Execute(string[] arguments)
{
ConsoleUtil.WriteLine($"Current LocalAdmin config file path is: {Core.LocalAdmin.CurrentConfigPath ?? "(null)"}", ConsoleColor.DarkGreen);
ConsoleUtil.WriteLine($"Current LocalAdmin Configuration:{Environment.NewLine}{LocalAdmin.V2.Core.LocalAdmin.Configuration!.ToString()}");
}
}
1 change: 0 additions & 1 deletion Core/Program.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System;
using System.Threading.Tasks;

namespace LocalAdmin.V2.Core;
Expand Down
Loading