mirror of
https://github.com/reactos/reactos.git
synced 2024-09-11 05:12:43 +00:00
![Marc Piulachs](/assets/img/avatar_default.png)
- Made TechBot more configurable through .config files - Code refactoring - Removed automatic parameter parsing support to make everyone happy svn path=/trunk/; revision=33586
23 lines
409 B
C#
23 lines
409 B
C#
using System;
|
|
|
|
using TechBot.Library;
|
|
|
|
namespace TechBot.Commands.Common
|
|
{
|
|
[Command("svn", Help = "!svn" , Description="Where the ROS SVN repository is located")]
|
|
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);
|
|
}
|
|
}
|
|
}
|