PowerToys/Wox/CommandArgs/PluginDebuggerCommandArg.cs

23 lines
503 B
C#
Raw Normal View History

2015-10-31 07:17:34 +08:00
using System.Collections.Generic;
2014-12-26 19:36:43 +08:00
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];
2014-12-26 19:36:43 +08:00
PluginManager.ActivatePluginDebugger(pluginFolderPath);
}
}
}
}