2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 16:56:54 +00:00

98_svn.pm: execute svn commands from fhem commandline

git-svn-id: https://svn.fhem.de/fhem/trunk@11079 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
betateilchen 2016-03-18 12:50:58 +00:00
parent d5f8e5c098
commit adc1004da8

20
fhem/contrib/98_svn.pm Normal file
View File

@ -0,0 +1,20 @@
# $Id$
#
package main;
use strict;
use warnings;
sub CommandSvn;
sub svn_Initialize($$) {
my %hash = ( Fn => "CommandSvn", Hlp => "[<command>],execute svn commands)" );
$cmds{svn} = \%hash;
}
sub CommandSvn {
my ($cl, $arg) = @_;
return qx(svn $arg);
}
1;