mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-15 03:59:15 +08:00
27 lines
583 B
C#
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);
|
|
}
|
|
}
|
|
}
|
|
}
|