2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 18:59:33 +00:00
fhem-mirror/fhem/contrib/98_svn.pm
betateilchen adc1004da8 98_svn.pm: execute svn commands from fhem commandline
git-svn-id: https://svn.fhem.de/fhem/trunk@11079 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-03-18 12:50:58 +00:00

21 lines
270 B
Perl

# $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;