mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-15 14:52:35 +02:00
20 lines
488 B
C#
20 lines
488 B
C#
using JetBrains.Annotations;
|
|
using Robust.Shared.Configuration;
|
|
using Robust.Shared.Console;
|
|
using Robust.Shared.IoC;
|
|
|
|
namespace Robust.Client.Console.Commands
|
|
{
|
|
[UsedImplicitly]
|
|
public sealed class SaveConfig : LocalizedCommands
|
|
{
|
|
public override string Command => "saveconfig";
|
|
|
|
public override void Execute(IConsoleShell shell, string argStr, string[] args)
|
|
{
|
|
IoCManager.Resolve<IConfigurationManager>().SaveToFile();
|
|
}
|
|
}
|
|
|
|
}
|