PowerToys/Wox/CommandArgs/PluginDebuggerCommandArg.cs
2015-10-30 23:23:01 +00:00

23 lines
503 B
C#

using System.Collections.Generic;
using Wox.Core.Plugin;
namespace Wox.CommandArgs
{
public class PluginDebuggerCommandArg : ICommandArg
{
public string Command
{
get { return "plugindebugger"; }
}
public void Execute(IList<string> args)
{
if (args.Count > 0)
{
var pluginFolderPath = args[0];
PluginManager.ActivatePluginDebugger(pluginFolderPath);
}
}
}
}