mirror of
https://github.com/reactos/reactos.git
synced 2024-09-20 01:31:34 +00:00
d7b2077ed8
- made more and more easily extensible: * commands automatically loaded from plugins dlls * declarative and automatic command parameter parsing * common code moved to base classes - other fixes svn path=/trunk/; revision=33344
21 lines
321 B
C#
21 lines
321 B
C#
using System;
|
|
|
|
namespace TechBot.Library
|
|
{
|
|
[Command("svn", Help = "!svn")]
|
|
public class SvnCommand : Command
|
|
{
|
|
private string m_SvnRoot;
|
|
|
|
public SvnCommand()
|
|
{
|
|
m_SvnRoot = Settings.Default.SVNRoot;
|
|
}
|
|
|
|
public override void ExecuteCommand()
|
|
{
|
|
Say("svn co {0}", m_SvnRoot);
|
|
}
|
|
}
|
|
}
|