Skip to content

Commit

Permalink
Single Liner.
Browse files Browse the repository at this point in the history
  • Loading branch information
ɅLΞX committed Aug 13, 2023
1 parent 48882bb commit be11f4e
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions Commands/LASettingsCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,5 @@ internal sealed class LASettingsCommand : CommandBase
{
Config Settings;
public LASettingsCommand() : base("settings") { }
internal override void Execute(string[] arguments)
{
Settings = LocalAdmin.V2.Core.LocalAdmin.Configuration;
ConsoleUtil.WriteLine(" |=====| Settings |=====| ");
Console.WriteLine();
GetConfigSetting();
}
private void GetConfigSetting()
{
ConsoleUtil.WriteLine(Settings.ToString());
}
internal override void Execute(string[] arguments) => ConsoleUtil.WriteLine(Settings.ToString());
}

0 comments on commit be11f4e

Please sign in to comment.