PowerToys/Wox/CommandArgs/PluginDebuggerCommandArg.cs
2014-12-26 19:36:43 +08:00

27 lines
583 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Input;
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);
}
}
}
}